Class EntityPanel.Config

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

public static final class EntityPanel.Config extends Object
Contains configuration settings for a EntityPanel which must be set before the panel is initialized.
  • Field Details

    • USE_KEYBOARD_NAVIGATION

      public static final PropertyValue<Boolean> USE_KEYBOARD_NAVIGATION
      Indicates whether keyboard navigation will be enabled
      • Value type: Boolean
      • Default value: true
    • DISPOSE_EDIT_DIALOG_ON_ESCAPE

      public static final PropertyValue<Boolean> DISPOSE_EDIT_DIALOG_ON_ESCAPE
      Indicates whether entity edit panel dialogs should be closed on escape
      • Value type: Boolean
      • Default value: true
    • INCLUDE_TOGGLE_EDIT_PANEL_CONTROL

      public static final PropertyValue<Boolean> INCLUDE_TOGGLE_EDIT_PANEL_CONTROL
      Specifies whether a control for toggling the edit panel is available to the user
      • Value type: Boolean
      • Default value: true
    • TOOLBAR_CONTROLS

      public static final PropertyValue<Boolean> TOOLBAR_CONTROLS
      Specifies whether the edit controls (Save, update, delete, clear, refresh) should be on a toolbar instead of a button panel
      • Value type: Boolean
      • Default value: false
    • WINDOW_TYPE

      public static final PropertyValue<EntityPanel.WindowType> WINDOW_TYPE
      Specifies how detail and edit panels should be displayed.
    • CONTROL_PANEL_CONSTRAINTS

      public static final PropertyValue<String> CONTROL_PANEL_CONSTRAINTS
      Specifies where the control panel should be placed in a BorderLayout
      See Also:
    • CONTROL_TOOLBAR_CONSTRAINTS

      public static final PropertyValue<String> CONTROL_TOOLBAR_CONSTRAINTS
      Specifies where the control toolbar should be placed in a BorderLayout
      • Value type: String
      • Default value: BorderLayout.WEST
      See Also:
    • EDIT_PANEL_CONSTRAINTS

      public static final PropertyValue<String> EDIT_PANEL_CONSTRAINTS
      Specifies where the edit panel should be placed in a BorderLayout
      • Value type: Boolean
      • Default value: BorderLayout.NORTH
    • INCLUDE_CONTROLS

      public static final PropertyValue<Boolean> INCLUDE_CONTROLS
      Specifies whether entity panels should include controls by default
      • Value type: Boolean
      • Default value: true
  • Method Details