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

    • INCLUDE_ENTITY_VIEWER

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

      public static final PropertyValue<Boolean> INCLUDE_INSPECTOR
      Specifies whether to include an Editor Inspector on this edit panel, triggered with CTRL-ALT-R.
      • Value type: Boolean
      • Default value: false
    • FOCUS_ACTIVATION

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

      public static final PropertyValue<Boolean> CONFIRM_INSERT
      Indicates whether the panel should ask for confirmation before inserting
      • Value type: Boolean
      • Default value: false
    • CONFIRM_UPDATE

      public static final PropertyValue<Boolean> CONFIRM_UPDATE
      Indicates whether the panel should ask for confirmation before updating
      • Value type: Boolean
      • Default value: true
    • CONFIRM_DELETE

      public static final PropertyValue<Boolean> CONFIRM_DELETE
      Indicates whether the panel should ask for confirmation before deleting
      • 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
    • VALID_INDICATOR

      public static final PropertyValue<Boolean> VALID_INDICATOR
      Specifies whether components should indicate the validity of their current value
      • Value type: Boolean
      • Default value: true
      See Also:
    • WARNING_INDICATOR

      public static final PropertyValue<Boolean> WARNING_INDICATOR
      Specifies whether components should indicate that the value carries a warning — the soft validation severity, for a value that is permitted but implausible
      • Value type: Boolean
      • Default value: true
      See Also:
    • MODIFIED_INDICATOR

      public static final PropertyValue<Boolean> MODIFIED_INDICATOR
      Specifies whether components should indicate that the value is modified
      • Value type: Boolean
      • Default value: true
      See Also:
    • TRANSFER_FOCUS_ON_ENTER

      public static final PropertyValue<Boolean> TRANSFER_FOCUS_ON_ENTER
      Specifies whether components should transfer focus on enter
      • Value type: Boolean
      • Default value: true
    • MERGE_MODIFIED

      public static final PropertyValue<Boolean> MERGE_MODIFIED
      Specifies whether an update failing because the entity has been modified by someone else since it was loaded offers to merge the two versions, rather than displaying the error
      • Value type: Boolean
      • Default value: true
      See Also:
  • Method Details