Package com.teamdev.jxbrowser.dom.event
Interface EventParams
- All Known Subinterfaces:
CustomEventParams,KeyEventParams,MouseEventParams,TouchEventParams,UiEventModifierParams,WheelEventParams
public interface EventParams
The general DOM event parameters.
-
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.static EventParams.BuilderCreates a newEventParamsbuilder.
-
Method Details
-
newBuilder
Creates a newEventParamsbuilder.- Returns:
- a new
EventParams.Builderinstance
-
isBubbles
default boolean isBubbles()Returnstrueif the event bubbles up through the DOM. -
isCancelable
default boolean isCancelable()Returnstrueif the event can be canceled, and therefore prevented as if the event never happened. -
isTrusted
default boolean isTrusted()Returnstrueif the event is trusted, and therefore was generated by a user action.
-