Package com.teamdev.jxbrowser.ui.event
Interface TouchCanceled
- All Superinterfaces:
TouchEvent
An event indicating that the touch has been canceled.
- Since:
- 8.0.0
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault List<TouchPoint>The touch points that contributed to the event.default KeyModifiersReturns the keyboard modifiers applied.static TouchCanceled.BuildernewBuilder(List<TouchPoint> touches) Creates a newTouchCanceledbuilder with the given required parameters.default List<TouchPoint>The touch points that have started on the target element of this event.default List<TouchPoint>touches()All touch points that are currently present on the screen.
-
Method Details
-
newBuilder
Creates a newTouchCanceledbuilder with the given required parameters.- Parameters:
touches- all touch points that are currently present on the screen- Returns:
- a new
TouchCanceled.Builderinstance
-
touches
Description copied from interface:TouchEventAll touch points that are currently present on the screen.The returned points correspond to the locations of touch contacts on the screen, e.g., to several fingers touching at once.
- Specified by:
touchesin interfaceTouchEvent
-
targetTouches
Description copied from interface:TouchEventThe touch points that have started on the target element of this event.The result consists of elements from the
TouchEvent.touches()list, with their ordering not preserved.- Specified by:
targetTouchesin interfaceTouchEvent
-
changedTouches
Description copied from interface:TouchEventThe touch points that contributed to the event.Meaning of these points varies depending on the event type.
- For
TouchStarted, it is a list of the touches that became active with this event. - For
TouchMoved, it is a list of the touches that have changed since the last event. - For
TouchCanceledandTouchEnded, it is a list of the touches that have just been removed, and no longer present on the screen.
- Specified by:
changedTouchesin interfaceTouchEvent
- For
-
keyModifiers
Returns the keyboard modifiers applied.
-