Package com.vaadin.featurepack.event
Class ShortcutListener
java.lang.Object
com.vaadin.featurepack.event.Action
com.vaadin.featurepack.event.ShortcutAction
com.vaadin.featurepack.event.ShortcutListener
- All Implemented Interfaces:
Action.Listener,Serializable
- Direct Known Subclasses:
FButton.ClickShortcut
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class com.vaadin.featurepack.event.ShortcutAction
ShortcutAction.KeyCode, ShortcutAction.ModifierKeyNested classes/interfaces inherited from class com.vaadin.featurepack.event.Action
Action.Container, Action.Handler, Action.Listener, Action.Notifier, Action.ShortcutNotifier -
Field Summary
Fields inherited from class com.vaadin.featurepack.event.ShortcutAction
SHORTHAND_CHAR_ALT, SHORTHAND_CHAR_CTRL, SHORTHAND_CHAR_SHIFT -
Constructor Summary
ConstructorsConstructorDescriptionShortcutListener(String shorthandCaption) ShortcutListener(String shorthandCaption, int... modifierKeys) ShortcutListener(String caption, int keyCode, int... modifierKeys) ShortcutListener(String caption, com.vaadin.flow.component.icon.Icon icon, int keyCode, int... modifierKeys) -
Method Summary
Methods inherited from class com.vaadin.featurepack.event.ShortcutAction
getKeyCode, getModifiers, toKey, toKeyModifierMethods inherited from class com.vaadin.featurepack.event.Action
getCaption, getIcon, setCaption, setIcon, setIcon
-
Constructor Details
-
ShortcutListener
-
ShortcutListener
-
ShortcutListener
public ShortcutListener(String caption, com.vaadin.flow.component.icon.Icon icon, int keyCode, int... modifierKeys) -
ShortcutListener
-
-
Method Details
-
handleAction
- Specified by:
handleActionin interfaceAction.Listener
-