Package com.teamdev.jxbrowser.dom.event
Interface EventParams
- All Known Subinterfaces:
CustomEventParams
,KeyEventParams
,MouseEventParams
,UiEventModifierParams
,WheelEventParams
public interface EventParams
The general DOM event parameters.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptiondefault boolean
Returnstrue
if the event bubbles up through the DOM.default boolean
Returnstrue
if the event can be canceled, and therefore prevented as if the event never happened.default boolean
Returnstrue
if the event is trusted, and therefore was generated by a user action.static EventParams.Builder
Creates a newEventParams
builder.
-
Method Details
-
newBuilder
Creates a newEventParams
builder.- Returns:
- a new
EventParams.Builder
instance
-
isBubbles
default boolean isBubbles()Returnstrue
if the event bubbles up through the DOM. -
isCancelable
default boolean isCancelable()Returnstrue
if the event can be canceled, and therefore prevented as if the event never happened. -
isTrusted
default boolean isTrusted()Returnstrue
if the event is trusted, and therefore was generated by a user action.
-