public interface KeyEventParams extends UiEventModifierParams
| Modifier and Type | Interface and Description |
|---|---|
static class |
KeyEventParams.Builder
A builder of
KeyEventParams. |
| Modifier and Type | Method and Description |
|---|---|
default boolean |
isBubbles()
Returns
true if the event bubbles up through the DOM. |
default boolean |
isCancelable()
Returns
true if the event can be canceled, and therefore prevented as if the event
never happened. |
default KeyCode |
keyCode()
Returns the key code of the pressed key.
|
default KeyModifiers |
keyModifiers()
Returns the key modifiers that are applied to the event.
|
static KeyEventParams.Builder |
newBuilder()
Creates a new
KeyEventParams builder. |
static KeyEventParams.Builder newBuilder()
KeyEventParams builder.newBuilder in interface EventParamsnewBuilder in interface UiEventModifierParamsKeyEventParams.Builder instancedefault boolean isBubbles()
true if the event bubbles up through the DOM.isBubbles in interface EventParamsisBubbles in interface UiEventModifierParamsdefault boolean isCancelable()
true if the event can be canceled, and therefore prevented as if the event
never happened.isCancelable in interface EventParamsisCancelable in interface UiEventModifierParamsdefault KeyCode keyCode()
default KeyModifiers keyModifiers()
keyModifiers in interface UiEventModifierParams