public class DragEnterEvent extends DragDropEventBase<DragEnterHandler>
DragDropEventBase.DragSupportDetector, DragDropEventBase.DragSupportDetectorNoDomEvent.Type<H extends EventHandler>| Modifier | Constructor and Description |
|---|---|
protected |
DragEnterEvent()
Protected constructor, use
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
or
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers, com.google.gwt.dom.client.Element)
to fire drag enter events. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispatch(DragEnterHandler handler)
Should only be called by
HandlerManager. |
DomEvent.Type<DragEnterHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static DomEvent.Type<DragEnterHandler> |
getType()
Gets the event type associated with drag enter events.
|
getData, getDataTransfer, isSupported, setDatafireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagationassertLive, getSource, isLive, kill, revivesetSource, toDebugString, toStringprotected DragEnterEvent()
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers)
or
DomEvent.fireNativeEvent(com.google.gwt.dom.client.NativeEvent, com.google.gwt.event.shared.HasHandlers, com.google.gwt.dom.client.Element)
to fire drag enter events.public static DomEvent.Type<DragEnterHandler> getType()
public final DomEvent.Type<DragEnterHandler> getAssociatedType()
EventEvent.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class.getAssociatedType in class DomEvent<DragEnterHandler>protected void dispatch(DragEnterHandler handler)
GwtEventHandlerManager. In other words, do not use
or call.dispatch in class GwtEvent<DragEnterHandler>handler - handlerEventBus.dispatchEvent(Event, Object)