Package com.vaadin.classic.v8.event
Class FocusShortcut
- java.lang.Object
-
- com.vaadin.classic.v8.event.Action
-
- com.vaadin.classic.v8.event.ShortcutAction
-
- com.vaadin.classic.v8.event.ShortcutListener
-
- com.vaadin.classic.v8.event.FocusShortcut
-
- All Implemented Interfaces:
Action.Listener,java.io.Serializable
@Deprecated public class FocusShortcut extends 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:
- 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 FocusShortcut(com.vaadin.flow.component.Focusable focusable, int keyCode)Deprecated.FocusShortcut(com.vaadin.flow.component.Focusable focusable, int keyCode, int... modifiers)Deprecated.FocusShortcut(com.vaadin.flow.component.Focusable focusable, java.lang.String shorthandCaption)Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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
-
FocusShortcut
@Deprecated public FocusShortcut(com.vaadin.flow.component.Focusable focusable, java.lang.String shorthandCaption)Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Parameters:
focusable- to focused when the shortcut is invokedshorthandCaption- caption with keycode and modifiers indicated
-
FocusShortcut
@Deprecated public FocusShortcut(com.vaadin.flow.component.Focusable focusable, int keyCode, int... modifiers)Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Parameters:
focusable- to focused when the shortcut is invokedkeyCode- keycode that invokes the shortcutmodifiers- modifiers required to invoke the shortcut
-
FocusShortcut
@Deprecated public FocusShortcut(com.vaadin.flow.component.Focusable focusable, int keyCode)Deprecated.Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.- Parameters:
focusable- to focused when the shortcut is invokedkeyCode- keycode that invokes the shortcut
-
-
Method Detail
-
handleAction
@Deprecated public 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- Specified by:
handleActionin classShortcutListener- Parameters:
sender- sendertarget- target
-
-