Class AbstractGestureEvent<H extends com.google.gwt.event.shared.EventHandler>
- java.lang.Object
-
- com.google.web.bindery.event.shared.Event<H>
-
- com.google.gwt.event.shared.GwtEvent<H>
-
- com.sencha.gxt.core.client.gestures.AbstractGestureEvent<H>
-
- Type Parameters:
H
- the event handler type
- Direct Known Subclasses:
DoubleTapGestureRecognizer.DoubleTapGestureEvent
,DragGestureRecognizer.DragGestureCancelEvent
,DragGestureRecognizer.DragGestureEndEvent
,DragGestureRecognizer.DragGestureMoveEvent
,DragGestureRecognizer.DragGestureStartEvent
,LongPressOrTapGestureRecognizer.LongPressEvent
,PinchAndRotateGestureRecognizer.RotateGestureMoveEvent
,ScrollGestureRecognizer.ScrollGestureCancelEvent
,ScrollGestureRecognizer.ScrollGestureEndEvent
,ScrollGestureRecognizer.ScrollGestureMoveEvent
,TapGestureRecognizer.TapCancelEvent
,TapGestureRecognizer.TapGestureEvent
,TapGestureRecognizer.TapGestureStartEvent
public abstract class AbstractGestureEvent<H extends com.google.gwt.event.shared.EventHandler> extends com.google.gwt.event.shared.GwtEvent<H>
Gesture events are logical events - they describe as a gesture occurs, and how it ends (failure/success, or 'end' vs 'cancel'). A gesture canceled event does not necessarily mean that a touch was canceled nor vice versa - a touch cancel event means only that the OS/Browser decided that the touch could not continue or end normally, and a gesture cancel means that the entire gesture did not complete normally.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.gwt.event.shared.GwtEvent
com.google.gwt.event.shared.GwtEvent.Type<H extends Object>
-
-
Constructor Summary
Constructors Constructor Description AbstractGestureEvent(GestureRecognizer gesture)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
cancel()
Stops the gesture recognition process, allowing the move events to propagate.List<TouchData>
getActiveTouches()
-
-
-
Constructor Detail
-
AbstractGestureEvent
public AbstractGestureEvent(GestureRecognizer gesture)
-
-