Class WTouchEvent

java.lang.Object
eu.webtoolkit.jwt.WTouchEvent
All Implemented Interfaces:
WAbstractEvent

public class WTouchEvent extends Object implements WAbstractEvent
A class providing details for a touch event.

See Also:
  • Constructor Details

    • WTouchEvent

      public WTouchEvent()
      Default constructor.
  • Method Details

    • getTouches

      public List<Touch> getTouches()
      Returns a list of objects for every finger currently touching the screen.
    • getTargetTouches

      public List<Touch> getTargetTouches()
      Returns a list of objects for finger touches that started out within the same widget.
    • getChangedTouches

      public List<Touch> getChangedTouches()
      Returns a list of objects for every finger involved in the event.
    • createFromJSEvent

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