Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Enum Class EntityEditPanel.KeyboardShortcut
java.lang.Object
java.lang.Enum<EntityEditPanel.KeyboardShortcut>
is.codion.swing.framework.ui.EntityEditPanel.KeyboardShortcut
- All Implemented Interfaces:
KeyboardShortcuts.Shortcut
,Serializable
,Comparable<EntityEditPanel.KeyboardShortcut>
,Constable
- Enclosing class:
- EntityEditPanel
public static enum EntityEditPanel.KeyboardShortcut
extends Enum<EntityEditPanel.KeyboardShortcut>
implements KeyboardShortcuts.Shortcut
The keyboard shortcuts available for
EntityEditPanel
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 ConstantDescriptionDisplays the entity menu, if available.
Default: CTRL-ALT-VDisplays a dialog for selecting an input field.
Default: CTRL-I -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static EntityEditPanel.KeyboardShortcut[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
SELECT_INPUT_FIELD
Displays a dialog for selecting an input field.
Default: CTRL-I -
DISPLAY_ENTITY_MENU
Displays the entity menu, if 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
-