Module is.codion.swing.framework.ui
Package is.codion.swing.framework.ui
Class EditorComponents.ComponentDefaults
java.lang.Object
is.codion.swing.framework.ui.EditorComponents.ComponentDefaults
- Enclosing class:
EditorComponents
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 Summary
Modifier and TypeMethodDescriptionApplies to text fields, search fields, text inputs and temporal inputs, masked text fields excluded, since the mask determines the width.
-
Method Details
-
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
Valuecontrolling the default text field columns for created components - See Also:
-
modifiedIndicator
- Returns:
- a
Statecontrolling whether created components have a modified indicator
-
validIndicator
- Returns:
- a
Statecontrolling whether created components have a valid indicator
-
warningIndicator
- Returns:
- a
Statecontrolling whether created components indicate a warning — the soft validation severity - See Also:
-
transferFocusOnEnter
- Returns:
- a
Statecontrolling whether created components transfer focus on enter
-