Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Class EntityPanel.ControlKeys
java.lang.Object
is.codion.swing.framework.ui.EntityPanel.ControlKeys
- Enclosing class:
EntityPanel
The standard controls available in a entity panel
A control given a key stroke is available while the entity panel, or a component within it, has the focus,
the edit panel included when displayed in a window, the navigation controls only when keyboard navigation is
enabled, see EntityPanel.Config.keyboardNavigation(boolean). Two controls available in the same place, the table panel
and edit panel controls the entity panel makes available included, can not have the same key stroke, the panel
throwing an IllegalStateException when initialized.
Note: CTRL in key stroke descriptions represents the platform menu shortcut key (CTRL on Windows/Linux, ⌘ on macOS).
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ControlKey<Controls> The edit panel controls.static final ControlKey<CommandControl> Requests focus for the edit panel (intial focus component).
Default key stroke: CTRL-Estatic final ControlKey<CommandControl> Navigates to the selected child panel, if one is available.
Default key stroke: CTRL-ALT-DOWN ARROWstatic final ControlKey<CommandControl> Navigates to the sibling panel on the left, if one is available.
Default key stroke: CTRL-ALT-LEFT ARROWstatic final ControlKey<CommandControl> Navigates to the sibling panel on the right, if one is available.
Default key stroke: CTRL-ALT-RIGHT ARROWstatic final ControlKey<CommandControl> Navigates to the parent panel, if one is available.
Default key stroke: CTRL-ALT-UP ARROWstatic final ControlKey<CommandControl> Refreshes the table, if available, otherwise the entity being edited.static final ControlKey<CommandControl> Toggles the edit panel between hidden, embedded and dialog.
Default key stroke: CTRL-ALT-E -
Method Summary
-
Field Details
-
FOCUS_EDIT_PANEL
Requests focus for the edit panel (intial focus component).
Default key stroke: CTRL-E -
TOGGLE_EDIT_PANEL
Toggles the edit panel between hidden, embedded and dialog.
Default key stroke: CTRL-ALT-E -
NAVIGATE_UP
Navigates to the parent panel, if one is available.
Default key stroke: CTRL-ALT-UP ARROW -
NAVIGATE_DOWN
Navigates to the selected child panel, if one is available.
Default key stroke: CTRL-ALT-DOWN ARROW -
NAVIGATE_RIGHT
Navigates to the sibling panel on the right, if one is available.
Default key stroke: CTRL-ALT-RIGHT ARROW -
NAVIGATE_LEFT
Navigates to the sibling panel on the left, if one is available.
Default key stroke: CTRL-ALT-LEFT ARROW -
REFRESH
Refreshes the table, if available, otherwise the entity being edited. -
EDIT_CONTROLS
The edit panel controls.
-