Class WGestureEvent

All Implemented Interfaces:

public class WGestureEvent extends Object implements WAbstractEvent
A class providing details for a gesture event.

See Also:
  • 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

      public WAbstractEvent createFromJSEvent(eu.webtoolkit.jwt.JavaScriptEvent jsEvent)
      Description copied from interface: WAbstractEvent
      Internal method.
      Specified by:
      createFromJSEvent in interface WAbstractEvent