Package eu.webtoolkit.jwt
Class WGestureEvent
java.lang.Object
eu.webtoolkit.jwt.WGestureEvent
- All Implemented Interfaces:
WAbstractEvent
A class providing details for a gesture event.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateFromJSEvent
(eu.webtoolkit.jwt.JavaScriptEvent jsEvent) Internal method.double
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).
-
Constructor Details
-
WGestureEvent
public WGestureEvent()Default constructor.
-
-
Method Details
-
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
Description copied from interface:WAbstractEvent
Internal method.- Specified by:
createFromJSEvent
in interfaceWAbstractEvent
-