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
ConstructorsConstructorDescriptionTouchPointEvent(List<@NotNull TouchPoint> points, ModifierKeys modifierKeys) Creates aTouchPointEvent. -
Method Summary
Modifier and TypeMethodDescriptionvoidclose()protected voidfinalize()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 ofTouchPointinstances, 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:
closein 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.
-