Package com.vaadin.classic.v8.event
Class ShortcutAction
java.lang.Object
com.vaadin.classic.v8.event.Action
com.vaadin.classic.v8.event.ShortcutAction
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ShortcutListener
Deprecated.
Not supported. See Classic Component Pack documentation in
https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for
mitigation options.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceDeprecated.static interfaceDeprecated.Nested classes/interfaces inherited from class com.vaadin.classic.v8.event.Action
Action.Container, Action.Handler, Action.Listener, Action.Notifier, Action.ShortcutNotifier -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final charDeprecated.static final charDeprecated.static final charDeprecated. -
Constructor Summary
ConstructorsConstructorDescriptionShortcutAction(String shorthandCaption) Deprecated.ShortcutAction(String shorthandCaption, int... modifierKeys) Deprecated.ShortcutAction(String caption, int kc, int... m) Deprecated.ShortcutAction(String caption, Resource icon, int kc, int... m) Deprecated. -
Method Summary
Methods inherited from class com.vaadin.classic.v8.event.Action
getCaption, getIcon, setCaption, setIcon
-
Field Details
-
SHORTHAND_CHAR_ALT
Deprecated.Used in the caption shorthand notation to indicate the ALT modifier.- See Also:
-
SHORTHAND_CHAR_SHIFT
Deprecated.Used in the caption shorthand notation to indicate the SHIFT modifier.- See Also:
-
SHORTHAND_CHAR_CTRL
Deprecated.Used in the caption shorthand notation to indicate the CTRL modifier.- See Also:
-
-
Constructor Details
-
ShortcutAction
Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Parameters:
caption- used when displaying the shortcut visuallykc- KeyCode that the shortcut reacts tom- optional modifier keys
-
ShortcutAction
Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Parameters:
caption- used when displaying the shortcut visuallyicon- used when displaying the shortcut visuallykc- KeyCode that the shortcut reacts tom- optional modifier keys
-
ShortcutAction
Deprecated. -
ShortcutAction
Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Parameters:
shorthandCaption-modifierKeys-
-
-
Method Details
-
getKeyCode
Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Returns:
- -1
-
getModifiers
Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Returns:
- empty array
-