Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Enum Class EntityTablePanel.KeyboardShortcut
java.lang.Object
java.lang.Enum<EntityTablePanel.KeyboardShortcut>
is.codion.swing.framework.ui.EntityTablePanel.KeyboardShortcut
- All Implemented Interfaces:
KeyboardShortcuts.Shortcut
,Serializable
,Comparable<EntityTablePanel.KeyboardShortcut>
,Constable
- Enclosing class:
- EntityTablePanel
public static enum EntityTablePanel.KeyboardShortcut
extends Enum<EntityTablePanel.KeyboardShortcut>
implements KeyboardShortcuts.Shortcut
The keyboard shortcuts available for
EntityTablePanel
s.
Note that changing the shortcut keystroke after the panel
has been initialized has no effect.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionAdd a new entity instance.
Default: INSERTTriggers theEntityTablePanel.TableControl.DELETE_SELECTED
control.
Default: DELETEDisplays the entity menu, if one is available.
Default: CTRL-ALT-VDisplays the table popup menu, if one is available.
Default: CTRL-GEdit the selected entity instance.
Default: CTRL-INSERTTriggers theEntityTablePanel.TableControl.PRINT
control.
Default: CTRL-PRequests focus for the table.
Default: CTRL-TDisplays a dialog for selecting a column condition panel.
Default: CTRL-SDisplays a dialog for selecting a column filter panel.
Default: CTRL-SHIFT-FToggles the condition panel between hidden, visible and advanced.
Default: CTRL-ALT-SToggles the filter panel between hidden, visible and advanced.
Default: CTRL-ALT-F -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EntityTablePanel.KeyboardShortcut[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
ADD
Add a new entity instance.
Default: INSERT -
EDIT
Edit the selected entity instance.
Default: CTRL-INSERT -
REQUEST_TABLE_FOCUS
Requests focus for the table.
Default: CTRL-T -
TOGGLE_CONDITION_PANEL
Toggles the condition panel between hidden, visible and advanced.
Default: CTRL-ALT-S -
SELECT_CONDITION_PANEL
Displays a dialog for selecting a column condition panel.
Default: CTRL-S -
TOGGLE_FILTER_PANEL
Toggles the filter panel between hidden, visible and advanced.
Default: CTRL-ALT-F -
SELECT_FILTER_PANEL
Displays a dialog for selecting a column filter panel.
Default: CTRL-SHIFT-F -
PRINT
Triggers theEntityTablePanel.TableControl.PRINT
control.
Default: CTRL-P -
DELETE_SELECTED
Triggers theEntityTablePanel.TableControl.DELETE_SELECTED
control.
Default: DELETE -
DISPLAY_POPUP_MENU
Displays the table popup menu, if one is available.
Default: CTRL-G -
DISPLAY_ENTITY_MENU
Displays the entity menu, if one is available.
Default: CTRL-ALT-V
-
-
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
-