|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.webtoolkit.jwt.WGestureEvent
public class WGestureEvent
A class providing details for a gesture event.
WInteractWidget.gestureStarted(),
WInteractWidget.gestureChanged(),
WInteractWidget.gestureEnded()| Constructor Summary | |
|---|---|
WGestureEvent()
Default constructor. |
|
| Method Summary | |
|---|---|
WAbstractEvent |
createFromJSEvent(eu.webtoolkit.jwt.JavaScriptEvent jsEvent)
Internal method. |
double |
getRotation()
Returns the number of degrees the user has rotated his/her fingers. |
double |
getScale()
Returns the multiplier which the user has pinched or pushed (relative to 1). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public WGestureEvent()
| Method Detail |
|---|
public double getScale()
public double getRotation()
public WAbstractEvent createFromJSEvent(eu.webtoolkit.jwt.JavaScriptEvent jsEvent)
WAbstractEvent
createFromJSEvent in interface WAbstractEvent
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||