Class EntityEditPanel.Config

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

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

    • USE_SAVE_CAPTION

      public static final PropertyValue<Boolean> USE_SAVE_CAPTION
      Specifies whether the add/insert button caption should be 'Save' (mnemonic S), instead of 'Add' (mnemonic A)
      • Value type: Boolean
      • Default value: false
    • INCLUDE_ENTITY_MENU

      public static final PropertyValue<Boolean> INCLUDE_ENTITY_MENU
      Specifies whether to include a EntityPopupMenu on this edit panel, triggered with CTRL-ALT-V by default.
      • Value type: Boolean
      • Default value: true
    • USE_FOCUS_ACTIVATION

      public static final PropertyValue<Boolean> USE_FOCUS_ACTIVATION
      Specifies whether edit panels should be activated when the panel (or its parent EntityPanel) receives focus
      • Value type: Boolean
      • Default value: true
    • MODIFIED_WARNING

      public static final PropertyValue<Boolean> MODIFIED_WARNING
      Indicates whether the panel should ask for confirmation before discarding unsaved modifications
      • Value type: Boolean
      • Default value: false
  • Method Details