Package com.teamdev.jxbrowser.dom.event
Interface UiEventModifierParams
- All Superinterfaces:
EventParams
- All Known Subinterfaces:
KeyEventParams,MouseEventParams,TouchEventParams,WheelEventParams
The DOM UI event parameters with the key modifiers.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptiondefault 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.Creates a newUiEventModifierParamsbuilder.
-
Method Details
-
newBuilder
Creates a newUiEventModifierParamsbuilder.- Returns:
- a new
UiEventModifierParams.Builderinstance
-
isBubbles
default boolean isBubbles()Returnstrueif the event bubbles up through the DOM.- Specified by:
isBubblesin interfaceEventParams
-
isTrusted
default boolean isTrusted()Returnstrueif the event is trusted, and therefore was generated by a user action.- Specified by:
isTrustedin interfaceEventParams- Since:
- 7.12
-
isCancelable
default boolean isCancelable()Returnstrueif the event can be canceled, and therefore prevented as if the event never happened.- Specified by:
isCancelablein interfaceEventParams
-
keyModifiers
Returns the key modifiers that are applied to the event.
-