Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Enum Class EntityEditPanel.EntityEditPanelControl
java.lang.Object
java.lang.Enum<EntityEditPanel.EntityEditPanelControl>
is.codion.swing.framework.ui.EntityEditPanel.EntityEditPanelControl
- All Implemented Interfaces:
is.codion.swing.common.ui.key.KeyboardShortcuts.Shortcut,Serializable,Comparable<EntityEditPanel.EntityEditPanelControl>,Constable
- Enclosing class:
- EntityEditPanel
public static enum EntityEditPanel.EntityEditPanelControl
extends Enum<EntityEditPanel.EntityEditPanelControl>
implements is.codion.swing.common.ui.key.KeyboardShortcuts.Shortcut
The controls available for
EntityEditPanels.
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 ConstantsEnum ConstantDescriptionClears the input fields.Performs a delete.Displays the entity menu, if available.
Default key stroke: CTRL-ALT-VPerforms an insert.Displays a dialog for selecting an input field.
Default key stroke: CTRL-IPerforms an update. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
INSERT
Performs an insert. -
UPDATE
Performs an update. -
DELETE
Performs a delete. -
CLEAR
Clears the input fields. -
SELECT_INPUT_FIELD
Displays a dialog for selecting an input field.
Default key stroke: CTRL-I -
DISPLAY_ENTITY_MENU
Displays the entity menu, if available.
Default key stroke: 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:
defaultKeystrokein interfaceis.codion.swing.common.ui.key.KeyboardShortcuts.Shortcut
-