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