Class EditorComponents.ComponentDefaults

java.lang.Object
is.codion.swing.framework.ui.EditorComponents.ComponentDefaults
Enclosing class:
EditorComponents

public static final class EditorComponents.ComponentDefaults extends Object
Defaults applied to a component builder when set, changing these has no effect on previously created components. A detail EditorComponents instance shares the defaults of its parent.
See Also:
  • Method Details

    • textFieldColumns

      public Value<Integer> textFieldColumns()
      Applies to text fields, search fields, text inputs and temporal inputs, masked text fields excluded, since the mask determines the width. 0 disables the default, the fields then sizing to their contents.
      Returns:
      a Value controlling the default text field columns for created components
      See Also:
    • modifiedIndicator

      public State modifiedIndicator()
      Returns:
      a State controlling whether created components have a modified indicator
    • validIndicator

      public State validIndicator()
      Returns:
      a State controlling whether created components have a valid indicator
    • warningIndicator

      public State warningIndicator()
      Returns:
      a State controlling whether created components indicate a warning — the soft validation severity
      See Also:
    • transferFocusOnEnter

      public State transferFocusOnEnter()
      Returns:
      a State controlling whether created components transfer focus on enter