Class AbstractField.FocusShortcut

    • Constructor Detail

      • FocusShortcut

        public FocusShortcut​(Component.Focusable focusable,
                             String shorthandCaption)
        Deprecated.
        Creates a keyboard shortcut for focusing the given Component.Focusable using the shorthand notation defined in ShortcutAction.
        Parameters:
        focusable - to focused when the shortcut is invoked
        shorthandCaption - caption with keycode and modifiers indicated
      • FocusShortcut

        public FocusShortcut​(Component.Focusable focusable,
                             int keyCode,
                             int... modifiers)
        Deprecated.
        Creates a keyboard shortcut for focusing the given Component.Focusable.
        Parameters:
        focusable - to focused when the shortcut is invoked
        keyCode - keycode that invokes the shortcut
        modifiers - modifiers required to invoke the shortcut
      • FocusShortcut

        public FocusShortcut​(Component.Focusable focusable,
                             int keyCode)
        Deprecated.
        Creates a keyboard shortcut for focusing the given Component.Focusable.
        Parameters:
        focusable - to focused when the shortcut is invoked
        keyCode - keycode that invokes the shortcut