Interface EventParams

All Known Subinterfaces:
CustomEventParams, KeyEventParams, MouseEventParams, UiEventModifierParams, WheelEventParams

public interface EventParams
The general DOM event parameters.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final class 
    A builder of EventParams.
  • Method Summary

    Modifier and Type
    Method
    Description
    default boolean
    Returns true if the event bubbles up through the DOM.
    default boolean
    Returns true if the event can be canceled, and therefore prevented as if the event never happened.
    default boolean
    Returns true if the event is trusted, and therefore was generated by a user action.
    Creates a new EventParams builder.
  • Method Details

    • newBuilder

      static EventParams.Builder newBuilder()
      Creates a new EventParams builder.
      Returns:
      a new EventParams.Builder instance
    • isBubbles

      default boolean isBubbles()
      Returns true if the event bubbles up through the DOM.
    • isCancelable

      default boolean isCancelable()
      Returns true if the event can be canceled, and therefore prevented as if the event never happened.
    • isTrusted

      default boolean isTrusted()
      Returns true if the event is trusted, and therefore was generated by a user action.