Class EntityPanel.ControlKeys

java.lang.Object
is.codion.swing.framework.ui.EntityPanel.ControlKeys
Enclosing class:
EntityPanel

public static final class EntityPanel.ControlKeys extends Object
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 Details

    • FOCUS_EDIT_PANEL

      public static final ControlKey<CommandControl> FOCUS_EDIT_PANEL
      Requests focus for the edit panel (intial focus component).
      Default key stroke: CTRL-E
    • TOGGLE_EDIT_PANEL

      public static final ControlKey<CommandControl> TOGGLE_EDIT_PANEL
      Toggles the edit panel between hidden, embedded and dialog.
      Default key stroke: CTRL-ALT-E
    • REFRESH

      public static final ControlKey<CommandControl> REFRESH
      Refreshes the table, if available, otherwise the entity being edited.
    • EDIT_CONTROLS

      public static final ControlKey<Controls> EDIT_CONTROLS
      The edit panel controls.