Module is.codion.swing.common.ui
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCopy the selected cell contents to the clipboard.
Default: CTRL-ALT-CToggles the sort on the selected column.
Default: ALT-DOWN ARROWToggles the sort on the selected column adding it to any already sorted columns.
Default: ALT-UP ARROW -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FilteredTable.KeyboardShortcut[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
COPY_CELL
Copy the selected cell contents to the clipboard.
Default: CTRL-ALT-C -
TOGGLE_SORT_COLUMN
Toggles the sort on the selected column.
Default: ALT-DOWN ARROW -
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
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
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 nameNullPointerException
- if the argument is null
-
defaultKeystroke
- Specified by:
defaultKeystroke
in interfaceKeyboardShortcuts.Shortcut
- Returns:
- the default keystroke for this shortcut
-