Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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

Nested Class Summary

Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
`GwtEvent.Type<H>`

Constructor Summary
`DragCancelEvent(MouseUpEvent evt)` Creates a new `DragCancelEvent` from the specified source `MouseUpEvent`.

Method Summary
`protected void` | `dispatch(DragCancelHandler handler)` Dispatches the event to the handler.
`GwtEvent.Type<DragCancelHandler>` | `getAssociatedType()` Returns the event type associated with drag cancel events.
`static GwtEvent.Type<DragCancelHandler>` | `getType()` Returns the event type associated with drag cancel events.

Methods inherited from class com.maryanovsky.gwtutils.client.event.SyntheticEvent
`getSourceEvent`

Methods inherited from class com.google.gwt.event.shared.GwtEvent
`assertLive, getSource, isLive, kill, revive`

Methods inherited from class com.google.web.bindery.event.shared.Event
`setSource, toDebugString, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Constructor Detail

### DragCancelEvent

    public DragCancelEvent(MouseUpEvent evt)

  Creates a new `DragCancelEvent` from the specified source `MouseUpEvent`.

  Parameters:
    `evt` - The mouse up event that triggered this event.

Method Detail

### 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>`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD