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.ModifierKeyNested 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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidhandleAction(Object sender, Object target) withHandler(ShortcutListenerHandler handler) Methods inherited from class com.vaadin.event.ShortcutAction
getKeyCode, getModifiersMethods inherited from class com.vaadin.event.Action
getCaption, getIcon, setCaption, setIcon
-
Constructor Details
-
ShortcutListenerDelegate
-
-
Method Details
-
handleAction
- Specified by:
handleActionin interfacecom.vaadin.event.Action.Listener- Specified by:
handleActionin classcom.vaadin.event.ShortcutListener
-
withHandler
-