Class 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
    • 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 invoked
        shorthandCaption - 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 invoked
        keyCode - keycode that invokes the shortcut
        modifiers - 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 invoked
        keyCode - 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.Listener
        Not supported. See Classic Component Pack documentation in https://vaadin.com/docs/latest/flow/upgrading/legacy-component-pack for mitigation options.
        Specified by:
        handleAction in interface Action.Listener
        Specified by:
        handleAction in class ShortcutListener
        Parameters:
        sender - sender
        target - target