|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.google.gwt.event.shared.GwtEvent<H>
com.maryanovsky.gwtutils.client.event.SyntheticEvent<H,E>
com.maryanovsky.gwtutils.client.iphone.ui.touch.gestures.SyntheticTouchGestureEvent<DragStartHandler,TouchStartEvent>
com.maryanovsky.gwtutils.client.iphone.ui.touch.gestures.drag.DragStartEvent
public class DragStartEvent
Represents a drag start event.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
GwtEvent.Type<H> |
| Constructor Summary | |
|---|---|
DragStartEvent(TouchStartEvent evt,
PointView location)
Creates a new DragStartEvent from the specified source
TouchStartEvent and the specified touch location. |
|
| Method Summary | |
|---|---|
protected void |
dispatch(DragStartHandler handler)
Dispatches the event to the handler. |
GwtEvent.Type<DragStartHandler> |
getAssociatedType()
Returns the event type associated with drag start events. |
PointView |
getLocation()
Returns the location of the touch that caused the drag gesture to start, in the target element's coordinate system. |
static GwtEvent.Type<DragStartHandler> |
getType()
Returns the event type associated with drag start 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, toDebugString, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public DragStartEvent(TouchStartEvent evt,
PointView location)
DragStartEvent from the specified source
TouchStartEvent and the specified touch location.
evt - The touch start event that triggered this event.location - The location of the finger in the target element's
coordinate system.| Method Detail |
|---|
public PointView getLocation()
public static GwtEvent.Type<DragStartHandler> getType()
public GwtEvent.Type<DragStartHandler> getAssociatedType()
getAssociatedType in class GwtEvent<DragStartHandler>protected void dispatch(DragStartHandler handler)
dispatch in class GwtEvent<DragStartHandler>
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||