com.smartgwt.client.widgets.events
Class DragMoveEvent
java.lang.Object
com.google.gwt.event.shared.GwtEvent<H>
com.smartgwt.client.event.AbstractSmartEvent<H>
com.smartgwt.client.widgets.events.BrowserEvent<DragMoveHandler>
com.smartgwt.client.widgets.events.DragMoveEvent
- All Implemented Interfaces:
- Cancellable
public class DragMoveEvent
- extends BrowserEvent<DragMoveHandler>
- implements Cancellable
Constructor Summary |
DragMoveEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DragMoveEvent
public DragMoveEvent(com.google.gwt.core.client.JavaScriptObject jsObj)
fire
public static <S extends HasDragMoveHandlers & HasHandlers> void fire(S source,
com.google.gwt.core.client.JavaScriptObject jsObj)
- Fires a open event on all registered handlers in the handler manager.If no
such handlers exist, this method will do nothing.
- Type Parameters:
S
- The event source- Parameters:
source
- the source of the handlersjsObj
- the native event
getType
public static GwtEvent.Type<DragMoveHandler> getType()
- Gets the type associated with this event.
- Returns:
- returns the handler type
dispatch
protected void dispatch(DragMoveHandler handler)
- Description copied from class:
GwtEvent
- Should only be called by
HandlerManager
. In other words, do not use
or call.
- Specified by:
dispatch
in class GwtEvent<DragMoveHandler>
- Parameters:
handler
- handler
getAssociatedType
public final GwtEvent.Type<DragMoveHandler> getAssociatedType()
- Description copied from class:
GwtEvent
- Returns the type used to register this event. Used by handler manager to
dispatch events to the correct handlers.
- Specified by:
getAssociatedType
in class GwtEvent<DragMoveHandler>
- Returns:
- the type
cancel
public void cancel()
- false to cancel drag interaction.
- Specified by:
cancel
in interface Cancellable
isCancelled
public boolean isCancelled()
- Specified by:
isCancelled
in interface Cancellable
- Returns:
- true if cancelled