Package com.teamdev.jxbrowser.dom.event
Interface TouchEventParams
- All Superinterfaces:
EventParams,UiEventModifierParams
The DOM touch event parameters.
- Since:
- 8.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from interface com.teamdev.jxbrowser.dom.event.UiEventModifierParams
UiEventModifierParams.Builder -
Method Summary
Modifier and TypeMethodDescriptiondefault List<TouchPoint>Contains touch points that have changed since the last touch event.default booleanReturnstrueif the event bubbles up through the DOM.default booleanReturnstrueif the event can be canceled, and therefore prevented as if the event never happened.default booleanReturnstrueif the event is trusted, and therefore was generated by a user action.default KeyModifiersReturns the key modifiers that are applied to the event.default List<TouchPoint>Contains all touch points that are specific to the target element.default List<TouchPoint>touches()Returns all touch points that are currently on the screen.
-
Method Details
-
isBubbles
default boolean isBubbles()Returnstrueif the event bubbles up through the DOM.- Specified by:
isBubblesin interfaceEventParams- Specified by:
isBubblesin interfaceUiEventModifierParams
-
isCancelable
default boolean isCancelable()Returnstrueif the event can be canceled, and therefore prevented as if the event never happened.- Specified by:
isCancelablein interfaceEventParams- Specified by:
isCancelablein interfaceUiEventModifierParams
-
isTrusted
default boolean isTrusted()Returnstrueif the event is trusted, and therefore was generated by a user action.- Specified by:
isTrustedin interfaceEventParams- Specified by:
isTrustedin interfaceUiEventModifierParams
-
keyModifiers
Returns the key modifiers that are applied to the event.- Specified by:
keyModifiersin interfaceUiEventModifierParams
-
touches
Returns all touch points that are currently on the screen. -
changedTouches
Contains touch points that have changed since the last touch event. -
targetTouches
Contains all touch points that are specific to the target element.
-