Enum Class EntityPanel.EntityPanelControl

java.lang.Object
java.lang.Enum<EntityPanel.EntityPanelControl>
is.codion.swing.framework.ui.EntityPanel.EntityPanelControl
All Implemented Interfaces:
is.codion.swing.common.ui.key.KeyboardShortcuts.Shortcut, Serializable, Comparable<EntityPanel.EntityPanelControl>, Constable
Enclosing class:
EntityPanel

public static enum EntityPanel.EntityPanelControl extends Enum<EntityPanel.EntityPanelControl> implements is.codion.swing.common.ui.key.KeyboardShortcuts.Shortcut
The standard controls available in a entity panel
  • Enum Constant Details

    • REQUEST_EDIT_PANEL_FOCUS

      public static final EntityPanel.EntityPanelControl REQUEST_EDIT_PANEL_FOCUS
      Requests focus for the edit panel (intial focus component).
      Default key stroke: CTRL-E
    • TOGGLE_EDIT_PANEL

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

      public static final EntityPanel.EntityPanelControl REFRESH
      Refreshes the table.
    • EDIT_CONTROLS

      public static final EntityPanel.EntityPanelControl EDIT_CONTROLS
      The edit panel controls.
  • Method Details

    • values

      public static EntityPanel.EntityPanelControl[] 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

      public static EntityPanel.EntityPanelControl valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • defaultKeystroke

      public Optional<KeyStroke> defaultKeystroke()
      Specified by:
      defaultKeystroke in interface is.codion.swing.common.ui.key.KeyboardShortcuts.Shortcut