Package eu.webtoolkit.jwt
Class WGestureEvent
- java.lang.Object
-
- eu.webtoolkit.jwt.WGestureEvent
-
- All Implemented Interfaces:
WAbstractEvent
public class WGestureEvent extends java.lang.Object implements WAbstractEvent
A class providing details for a gesture event.
-
-
Constructor Summary
Constructors Constructor Description WGestureEvent()Default constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description WAbstractEventcreateFromJSEvent(eu.webtoolkit.jwt.JavaScriptEvent jsEvent)Internal method.doublegetRotation()Returns the number of degrees the user has rotated his/her fingers.doublegetScale()Returns the multiplier which the user has pinched or pushed (relative to 1).
-
-
-
Method Detail
-
getScale
public double getScale()
Returns the multiplier which the user has pinched or pushed (relative to 1).
-
getRotation
public double getRotation()
Returns the number of degrees the user has rotated his/her fingers.
-
createFromJSEvent
public WAbstractEvent createFromJSEvent(eu.webtoolkit.jwt.JavaScriptEvent jsEvent)
Description copied from interface:WAbstractEventInternal method.- Specified by:
createFromJSEventin interfaceWAbstractEvent
-
-