com.maryanovsky.gwtutils.client.ui.mouse.gestures.drag
Class DragCancelEvent
java.lang.Object
com.google.web.bindery.event.shared.Event<H>
com.google.gwt.event.shared.GwtEvent<H>
com.maryanovsky.gwtutils.client.event.SyntheticEvent<H,E>
com.maryanovsky.gwtutils.client.ui.mouse.gestures.SyntheticMouseGestureEvent<DragCancelHandler,MouseUpEvent>
com.maryanovsky.gwtutils.client.ui.mouse.gestures.drag.DragCancelEvent
public class DragCancelEvent
- extends SyntheticMouseGestureEvent<DragCancelHandler,MouseUpEvent>
Represents a drag cancel event. A drag event may be cancelled if after the
initial mouse-down, the mouse is not actually moved.
- Author:
- Maryanovsky Alexander
Methods inherited from class com.google.web.bindery.event.shared.Event |
setSource, toDebugString, toString |
DragCancelEvent
public DragCancelEvent(MouseUpEvent evt)
- Creates a new
DragCancelEvent
from the specified source
MouseUpEvent
.
- Parameters:
evt
- The mouse up event that triggered this event.
getType
public static GwtEvent.Type<DragCancelHandler> getType()
- Returns the event type associated with drag cancel events.
getAssociatedType
public GwtEvent.Type<DragCancelHandler> getAssociatedType()
- Returns the event type associated with drag cancel events.
- Overrides:
getAssociatedType
in class GwtEvent<DragCancelHandler>
dispatch
protected void dispatch(DragCancelHandler handler)
- Dispatches the event to the handler.
- Specified by:
dispatch
in class GwtEvent<DragCancelHandler>