Package io.jmix.ui.widget
Class ShortcutListenerDelegate
java.lang.Object
com.vaadin.event.Action
com.vaadin.event.ShortcutAction
com.vaadin.event.ShortcutListener
io.jmix.ui.widget.ShortcutListenerDelegate
- All Implemented Interfaces:
com.vaadin.event.Action.Listener
,Serializable
public final class ShortcutListenerDelegate
extends com.vaadin.event.ShortcutListener
Convenient ShortcutListener subclass that accepts lambda handler.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.event.ShortcutAction
com.vaadin.event.ShortcutAction.KeyCode, com.vaadin.event.ShortcutAction.ModifierKey
Nested classes/interfaces inherited from class com.vaadin.event.Action
com.vaadin.event.Action.Container, com.vaadin.event.Action.Handler, com.vaadin.event.Action.Listener, com.vaadin.event.Action.Notifier, com.vaadin.event.Action.ShortcutNotifier
-
Field Summary
Fields inherited from class com.vaadin.event.ShortcutAction
SHORTHAND_CHAR_ALT, SHORTHAND_CHAR_CTRL, SHORTHAND_CHAR_SHIFT
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleAction
(Object sender, Object target) withHandler
(ShortcutListenerHandler handler) Methods inherited from class com.vaadin.event.ShortcutAction
getKeyCode, getModifiers
Methods inherited from class com.vaadin.event.Action
getCaption, getIcon, setCaption, setIcon
-
Constructor Details
-
ShortcutListenerDelegate
-
-
Method Details
-
handleAction
- Specified by:
handleAction
in interfacecom.vaadin.event.Action.Listener
- Specified by:
handleAction
in classcom.vaadin.event.ShortcutListener
-
withHandler
-