Package com.luciad.input.touch
Class TouchPointEvent
java.lang.Object
com.luciad.input.touch.TouchPointEvent
- All Implemented Interfaces:
AutoCloseable
Touch point event, containing a collection of touch points.
-
Constructor Summary
ConstructorDescriptionTouchPointEvent
(List<@NotNull TouchPoint> points, ModifierKeys modifierKeys) Creates aTouchPointEvent
. -
Method Summary
Modifier and TypeMethodDescriptionvoid
close()
protected void
finalize()
Returns the modifiers of the event.List
<@NotNull TouchPoint> Returns the touch points that participated in the touch event.
-
Constructor Details
-
TouchPointEvent
public TouchPointEvent(@NotNull List<@NotNull TouchPoint> points, @NotNull ModifierKeys modifierKeys) Creates aTouchPointEvent
.- Parameters:
points
- a collection ofTouchPoint
instances, each with its own location and state information.modifierKeys
- The modifiers of the event.
-
-
Method Details
-
finalize
protected void finalize() -
close
public void close()- Specified by:
close
in interfaceAutoCloseable
-
getTouchPoints
Returns the touch points that participated in the touch event.- Returns:
- the touch points that participated in the touch event.
-
getModifierKeys
Returns the modifiers of the event.- Returns:
- the modifiers of the event.
-