C - Concrete configurator typepublic interface KeyNotifierConfigurator<C extends KeyNotifierConfigurator<C>>
KeyNotifier type components.| Modifier and Type | Method and Description |
|---|---|
C |
withKeyDownListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyDownEvent> listener)
Adds a
keydown listener to this component. |
C |
withKeyDownListener(com.vaadin.flow.component.Key key,
com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyDownEvent> listener,
com.vaadin.flow.component.KeyModifier... modifiers)
Adds a
keydown listener to this component, which will trigger only if the keys involved in the event
match the key and modifiers parameters. |
C |
withKeyPressListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyPressEvent> listener)
Adds a
keypress listener to this component. |
C |
withKeyPressListener(com.vaadin.flow.component.Key key,
com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyPressEvent> listener,
com.vaadin.flow.component.KeyModifier... modifiers)
Adds a
keypress listener to this component, which will trigger only if the keys involved in the
event match the key and modifiers parameters. |
C |
withKeyUpListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyUpEvent> listener)
Adds a
keyup listener to this component. |
C |
withKeyUpListener(com.vaadin.flow.component.Key key,
com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyUpEvent> listener,
com.vaadin.flow.component.KeyModifier... modifiers)
Adds a
keyup listener to this component, which will trigger only if the keys involved in the event
match the key and modifiers parameters. |
C withKeyDownListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyDownEvent> listener)
keydown listener to this component.listener - the listener to add, not nullC withKeyPressListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyPressEvent> listener)
keypress listener to this component.listener - the listener to add, not nullC withKeyUpListener(com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyUpEvent> listener)
keyup listener to this component.listener - the listener to add, not nullC withKeyDownListener(com.vaadin.flow.component.Key key, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyDownEvent> listener, com.vaadin.flow.component.KeyModifier... modifiers)
keydown listener to this component, which will trigger only if the keys involved in the event
match the key and modifiers parameters.
See Key for common static instances or use Key.of(String, String...) to get an instance from an
arbitrary value.
key - the key to matchlistener - the listener to add, not nullmodifiers - the optional modifiers to matchC withKeyPressListener(com.vaadin.flow.component.Key key, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyPressEvent> listener, com.vaadin.flow.component.KeyModifier... modifiers)
keypress listener to this component, which will trigger only if the keys involved in the
event match the key and modifiers parameters.
See Key for common static instances or use Key.of(String, String...) to get an instance from an
arbitrary value.
key - the key to matchlistener - the listener to add, not nullmodifiers - the optional modifiers to matchC withKeyUpListener(com.vaadin.flow.component.Key key, com.vaadin.flow.component.ComponentEventListener<com.vaadin.flow.component.KeyUpEvent> listener, com.vaadin.flow.component.KeyModifier... modifiers)
keyup listener to this component, which will trigger only if the keys involved in the event
match the key and modifiers parameters.
See Key for common static instances or use Key.of(String, String...) to get an instance from an
arbitrary value.
key - the key to matchlistener - the listener to add, not nullmodifiers - the optional modifiers to matchCopyright © 2020 The Holon Platform. All rights reserved.