|
|||||||||
| 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.google.gwt.event.dom.client.DomEvent<H>
com.maryanovsky.gwtutils.client.iphone.ui.gesture.GestureEvent<H>
public abstract class GestureEvent<H extends EventHandler>
The base class for gesture events.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class com.google.gwt.event.dom.client.DomEvent |
|---|
DomEvent.Type<H extends EventHandler> |
| Constructor Summary | |
|---|---|
GestureEvent()
|
|
| Method Summary | |
|---|---|
NativeGestureEvent |
getNativeGestureEvent()
Returns the underlying native gesture event. |
double |
getRotation()
Returns the rotation induced by this event, in degrees, where clockwise rotation is represented by a positive value and counter-clockwise by a negative value. |
double |
getScale()
Returns the scale change induced by this event. |
static void |
sinkAllGestureEvents(UIObject widget)
Sinks all gesture events for the specified UIObject. |
static void |
unsinkAllGestureEvents(UIObject widget)
Stops sinking all gesture events for the specified UIO |
| Methods inherited from class com.google.gwt.event.dom.client.DomEvent |
|---|
fireNativeEvent, fireNativeEvent, getAssociatedType, getNativeEvent, getRelativeElement, preventDefault, setNativeEvent, setRelativeElement, stopPropagation |
| Methods inherited from class com.google.gwt.event.shared.GwtEvent |
|---|
assertLive, dispatch, 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 GestureEvent()
| Method Detail |
|---|
public NativeGestureEvent getNativeGestureEvent()
public final double getRotation()
public final double getScale()
public static void sinkAllGestureEvents(UIObject widget)
UIObject.
public static void unsinkAllGestureEvents(UIObject widget)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||