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.
|
static KeyEventParams.Builder |
newBuilder()
Creates a new
KeyEventParams builder. |
keyModifiers
static KeyEventParams.Builder newBuilder()
KeyEventParams
builder.newBuilder
in interface EventParams
newBuilder
in interface UiEventModifierParams
KeyEventParams.Builder
instancedefault boolean isBubbles()
true
if the event bubbles up through the DOM.isBubbles
in interface EventParams
isBubbles
in interface UiEventModifierParams
default boolean isCancelable()
true
if the event can be canceled, and therefore prevented as if the event
never happened.isCancelable
in interface EventParams
isCancelable
in interface UiEventModifierParams
default KeyCode keyCode()