|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.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.touch.gestures.SyntheticTouchGestureEvent<MultiFingerTapHandler,TouchEndEvent>
com.maryanovsky.gwtutils.client.ui.touch.gestures.mftap.MultiFingerTapEvent
public class MultiFingerTapEvent
Represents a multi-finger tap event.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent |
---|
GwtEvent.Type<H> |
Constructor Summary | |
---|---|
MultiFingerTapEvent(TouchEndEvent evt,
List<PointView> fingerLocations)
Creates a new MultiFingerTapEvent from the specified source
TouchEndEvent and finger locations. |
Method Summary | |
---|---|
protected void |
dispatch(MultiFingerTapHandler handler)
Dispatches the event to the handler. |
GwtEvent.Type<MultiFingerTapHandler> |
getAssociatedType()
Returns the event type associated with multi-finger events. |
int |
getFingerCount()
Returns the number of fingers involved in the tap. |
List<PointView> |
getFingerLocations()
Returns the location of the finger(s), in the target element's coordinate system. |
static GwtEvent.Type<MultiFingerTapHandler> |
getType()
Returns the event type associated with multi-finger tap 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 |
---|
public MultiFingerTapEvent(TouchEndEvent evt, List<PointView> fingerLocations)
MultiFingerTapEvent
from the specified source
TouchEndEvent
and finger locations.
evt
- The touch end event that triggered this event.fingerLocations
- The locations of the fingers, in the target
element's coordinate system.Method Detail |
---|
public int getFingerCount()
public List<PointView> getFingerLocations()
public static GwtEvent.Type<MultiFingerTapHandler> getType()
public GwtEvent.Type<MultiFingerTapHandler> getAssociatedType()
getAssociatedType
in class GwtEvent<MultiFingerTapHandler>
protected void dispatch(MultiFingerTapHandler handler)
dispatch
in class GwtEvent<MultiFingerTapHandler>
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |