java.lang.Object
is.codion.swing.framework.ui.EditorComponents
Manages the components for a
SwingEntityEditor-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classDefaults applied to a component builder when set, changing these has no effect on previously created components.static final classCreatesSwingEntityEditorbased componentsfinal classManages detailEditorComponents.final class -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final PropertyValue<Integer> Specifies the default number of text field columns, applying to text fields, search fields, text inputs and temporal inputs, masked text fields excluded, 0 disabling the default, the fields then sizing to their contents Value type: Integer Default value: 12 -
Method Summary
Modifier and TypeMethodDescriptioncreate()defaults()detail()editor()static EditorComponentseditorComponents(SwingEntityEditor editor)
-
Field Details
-
TEXT_FIELD_COLUMNS
Specifies the default number of text field columns, applying to text fields, search fields, text inputs and temporal inputs, masked text fields excluded, 0 disabling the default, the fields then sizing to their contents- Value type: Integer
- Default value: 12
- See Also:
-
-
Method Details
-
editor
- Returns:
- the underlying editor
-
defaults
- Returns:
- the component defaults, shared with the detail
EditorComponentsinstances - See Also:
-
create
- Returns:
- the
EditorComponents.ComponentFactoryinstance
-
component
- Type Parameters:
T- the value type- Parameters:
attribute- the attribute- Returns:
- the
EditorComponents.EditorComponentcontaining the component associated with the given attribute
-
detail
- Returns:
- the
EditorComponents.DetailEditorComponentsinstance - See Also:
-
editorComponents
- Parameters:
editor- the editor- Returns:
- a new
EditorComponentsinstance
-