Enum Class FilteredTable.KeyboardShortcut

java.lang.Object
java.lang.Enum<FilteredTable.KeyboardShortcut>
is.codion.swing.common.ui.component.table.FilteredTable.KeyboardShortcut
All Implemented Interfaces:
KeyboardShortcuts.Shortcut, Serializable, Comparable<FilteredTable.KeyboardShortcut>, Constable
Enclosing class:
FilteredTable<R,C>

public static enum FilteredTable.KeyboardShortcut extends Enum<FilteredTable.KeyboardShortcut> implements KeyboardShortcuts.Shortcut
The available keyboard shortcuts.
  • Enum Constant Details

    • COPY_CELL

      public static final FilteredTable.KeyboardShortcut COPY_CELL
      Copy the selected cell contents to the clipboard.
      Default: CTRL-ALT-C
    • TOGGLE_SORT_COLUMN

      public static final FilteredTable.KeyboardShortcut TOGGLE_SORT_COLUMN
      Toggles the sort on the selected column.
      Default: ALT-DOWN ARROW
    • TOGGLE_SORT_COLUMN_ADD

      public static final FilteredTable.KeyboardShortcut TOGGLE_SORT_COLUMN_ADD
      Toggles the sort on the selected column adding it to any already sorted columns.
      Default: ALT-UP ARROW
  • Method Details

    • values

      public static FilteredTable.KeyboardShortcut[] values()
      Returns an array containing the constants of this enum class, in the order they are declared.
      Returns:
      an array containing the constants of this enum class, in the order they are declared
    • valueOf

      public static FilteredTable.KeyboardShortcut valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum class has no constant with the specified name
      NullPointerException - if the argument is null
    • defaultKeystroke

      public KeyStroke defaultKeystroke()
      Specified by:
      defaultKeystroke in interface KeyboardShortcuts.Shortcut
      Returns:
      the default keystroke for this shortcut