Package com.vaadin.classic.v8.event
Class ShortcutListener
- java.lang.Object
-
- com.vaadin.classic.v8.event.Action
-
- com.vaadin.classic.v8.event.ShortcutAction
-
- com.vaadin.classic.v8.event.ShortcutListener
-
- All Implemented Interfaces:
Action.Listener,java.io.Serializable
- Direct Known Subclasses:
FocusShortcut
@Deprecated public abstract class ShortcutListener extends ShortcutAction implements Action.Listener
Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.vaadin.classic.v8.event.ShortcutAction
ShortcutAction.KeyCode, ShortcutAction.ModifierKey
-
Nested classes/interfaces inherited from class com.vaadin.classic.v8.event.Action
Action.Container, Action.Handler, Action.Listener, Action.Notifier, Action.ShortcutNotifier
-
-
Field Summary
-
Fields inherited from class com.vaadin.classic.v8.event.ShortcutAction
SHORTHAND_CHAR_ALT, SHORTHAND_CHAR_CTRL, SHORTHAND_CHAR_SHIFT
-
-
Constructor Summary
Constructors Constructor Description ShortcutListener(java.lang.String shorthandCaption)Deprecated.ShortcutListener(java.lang.String shorthandCaption, int... modifierKeys)Deprecated.ShortcutListener(java.lang.String caption, int keyCode, int... modifierKeys)Deprecated.ShortcutListener(java.lang.String caption, Resource icon, int keyCode, int... modifierKeys)Deprecated.
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description abstract voidhandleAction(java.lang.Object sender, java.lang.Object target)Deprecated.-
Methods inherited from class com.vaadin.classic.v8.event.ShortcutAction
getKeyCode, getModifiers
-
Methods inherited from class com.vaadin.classic.v8.event.Action
getCaption, getIcon, setCaption, setIcon
-
-
-
-
Constructor Detail
-
ShortcutListener
@Deprecated public ShortcutListener(java.lang.String caption, int keyCode, int... modifierKeys)Deprecated.
-
ShortcutListener
@Deprecated public ShortcutListener(java.lang.String shorthandCaption, int... modifierKeys)Deprecated.
-
ShortcutListener
@Deprecated public ShortcutListener(java.lang.String caption, Resource icon, int keyCode, int... modifierKeys)Deprecated.
-
ShortcutListener
@Deprecated public ShortcutListener(java.lang.String shorthandCaption)
Deprecated.
-
-
Method Detail
-
handleAction
@Deprecated public abstract void handleAction(java.lang.Object sender, java.lang.Object target)Deprecated.Description copied from interface:Action.ListenerNot supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Specified by:
handleActionin interfaceAction.Listener- Parameters:
sender- sendertarget- target
-
-