public class DragOverEvent extends DragDropEventBase<DragOverHandler>
DragDropEventBase.DragSupportDetector, DragDropEventBase.DragSupportDetectorNo
DomEvent.Type<H extends EventHandler>
Modifier | Constructor and Description |
---|---|
protected |
DragOverEvent()
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 over events. |
Modifier and Type | Method and Description |
---|---|
protected void |
dispatch(DragOverHandler handler)
Should only be called by
HandlerManager . |
DomEvent.Type<DragOverHandler> |
getAssociatedType()
Returns the
Event.Type used to register this event, allowing an
EventBus to find handlers of the appropriate class. |
static DomEvent.Type<DragOverHandler> |
getType()
Gets the event type associated with drag over events.
|
getData, getDataTransfer, isSupported, setData
fireNativeEvent, fireNativeEvent, getNativeEvent, getRelativeElement, init, preventDefault, setNativeEvent, setRelativeElement, stopPropagation
assertLive, getSource, isLive, kill, revive
setSource, toDebugString, toString
protected DragOverEvent()
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 over events.public static DomEvent.Type<DragOverHandler> getType()
public final DomEvent.Type<DragOverHandler> getAssociatedType()
Event
Event.Type
used to register this event, allowing an
EventBus
to find handlers of the appropriate class.getAssociatedType
in class DomEvent<DragOverHandler>
protected void dispatch(DragOverHandler handler)
GwtEvent
HandlerManager
. In other words, do not use
or call.dispatch
in class GwtEvent<DragOverHandler>
handler
- handlerEventBus.dispatchEvent(Event, Object)