Class TouchPointEvent

java.lang.Object
com.luciad.input.touch.TouchPointEvent
All Implemented Interfaces:
AutoCloseable

public final class TouchPointEvent extends Object implements AutoCloseable
Touch point event, containing a collection of touch points.
  • Constructor Details Link icon

    • TouchPointEvent Link icon

      public TouchPointEvent(@NotNull List<@NotNull TouchPoint> points, @NotNull ModifierKeys modifierKeys)
      Creates a TouchPointEvent.
      Parameters:
      points - a collection of TouchPoint instances, each with its own location and state information.
      modifierKeys - The modifiers of the event.
  • Method Details Link icon

    • finalize Link icon

      protected void finalize()
      Overrides:
      finalize in class Object
    • close Link icon

      public void close()
      Specified by:
      close in interface AutoCloseable
    • getTouchPoints Link icon

      @NotNull public List<@NotNull TouchPoint> getTouchPoints()
      Returns the touch points that participated in the touch event.
      Returns:
      the touch points that participated in the touch event.
    • getModifierKeys Link icon

      @NotNull public ModifierKeys getModifierKeys()
      Returns the modifiers of the event.
      Returns:
      the modifiers of the event.