Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Enum Class EntityPanel.KeyboardShortcut
java.lang.Object
java.lang.Enum<EntityPanel.KeyboardShortcut>
is.codion.swing.framework.ui.EntityPanel.KeyboardShortcut
- All Implemented Interfaces:
KeyboardShortcuts.Shortcut
,Serializable
,Comparable<EntityPanel.KeyboardShortcut>
,Constable
- Enclosing class:
- EntityPanel
public static enum EntityPanel.KeyboardShortcut
extends Enum<EntityPanel.KeyboardShortcut>
implements KeyboardShortcuts.Shortcut
The keyboard shortcuts available for
EntityPanel
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 ConstantDescriptionNavigates to the selected child panel, if one is available.
Default: CTRL-ALT-DOWN ARROWNavigates to the sibling panel on the left, if one is available.
Default: CTRL-ALT-LEFT ARROWNavigates to the sibling panel on the right, if one is available.
Default: CTRL-ALT-RIGHT ARROWNavigates to the parent panel, if one is available.
Default: CTRL-ALT-UP ARROWRequests focus for the edit panel (intial focus component).
Default: CTRL-ERequests focus for the table search field.
Default: CTRL-FRequests 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-FDisplays a dialog for selecting an input field.
Default: CTRL-IToggles the condition panel between hidden, visible and advanced.
Default: CTRL-ALT-SToggles the edit panel between hidden, embedded and dialog.
Default: CTRL-ALT-EToggles the filter panel between hidden, visible and advanced.
Default: CTRL-ALT-F -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityPanel.KeyboardShortcut
Returns the enum constant of this class with the specified name.static EntityPanel.KeyboardShortcut[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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 -
REQUEST_SEARCH_FIELD_FOCUS
Requests focus for the table search field.
Default: CTRL-F -
REQUEST_EDIT_PANEL_FOCUS
Requests focus for the edit panel (intial focus component).
Default: CTRL-E -
SELECT_INPUT_FIELD
Displays a dialog for selecting an input field.
Default: CTRL-I -
TOGGLE_EDIT_PANEL
Toggles the edit panel between hidden, embedded and dialog.
Default: CTRL-ALT-E -
NAVIGATE_UP
Navigates to the parent panel, if one is available.
Default: CTRL-ALT-UP ARROW -
NAVIGATE_DOWN
Navigates to the selected child panel, if one is available.
Default: CTRL-ALT-DOWN ARROW -
NAVIGATE_RIGHT
Navigates to the sibling panel on the right, if one is available.
Default: CTRL-ALT-RIGHT ARROW -
NAVIGATE_LEFT
Navigates to the sibling panel on the left, if one is available.
Default: CTRL-ALT-LEFT 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
-