Interface KeyEventParams

All Superinterfaces:
EventParams, UiEventModifierParams

public interface KeyEventParams extends UiEventModifierParams
The DOM keyboard event parameters.
  • Nested Class Summary

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

    Modifier and Type
    Method
    Description
    default String
    Returns a UTF-8 character associated with the physical key, if it has a printed representation.
    default DomKeyCode
    Returns the code of the physical key used in the event.
    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.
    default KeyModifiers
    Returns the key modifiers that are applied to the event.
    Creates a new KeyEventParams builder.