Package is.codion.swing.framework.model
Class SwingEntityEditor
java.lang.Object
is.codion.framework.model.DefaultEntityEditor
is.codion.swing.framework.model.SwingEntityEditor
- All Implemented Interfaces:
EntityEditor
A Swing extension of
DefaultEntityEditor-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classManages the combo box models used by aSwingEntityEditor.static classADefaultEntityEditor.DefaultComponentModelsextension providing foreign key basedEntityComboBoxModeland column basedFilterComboBoxModel.Nested classes/interfaces inherited from class is.codion.framework.model.DefaultEntityEditor
DefaultEntityEditor.DefaultComponentModelsNested classes/interfaces inherited from interface is.codion.framework.model.EntityEditor
EntityEditor.ComponentModels, EntityEditor.EditorEntity, EntityEditor.EditorValue<T>, EntityEditor.Exists, EntityEditor.Modified, EntityEditor.SearchModels -
Field Summary
Fields inherited from interface is.codion.framework.model.EntityEditor
PERSIST_FOREIGN_KEYS -
Constructor Summary
ConstructorsConstructorDescriptionSwingEntityEditor(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a newSwingEntityEditorSwingEntityEditor(EntityType entityType, EntityConnectionProvider connectionProvider, SwingEntityEditor.SwingComponentModels componentModels) Instantiates a newSwingEntityEditor -
Method Summary
Methods inherited from class is.codion.framework.model.DefaultEntityEditor
clear, connectionProvider, defaults, entities, entity, entityDefinition, exists, modified, nullable, primaryKeyPresent, revert, searchModels, toString, valid, validate, validate, validate, validate, validator, value, valueChanged
-
Constructor Details
-
SwingEntityEditor
Instantiates a newSwingEntityEditor- Parameters:
entityType- the entity typeconnectionProvider- the connection provider
-
SwingEntityEditor
public SwingEntityEditor(EntityType entityType, EntityConnectionProvider connectionProvider, SwingEntityEditor.SwingComponentModels componentModels) Instantiates a newSwingEntityEditor- Parameters:
entityType- the entity typeconnectionProvider- the connection providercomponentModels- the component models
-
-
Method Details
-
comboBoxModels
- Returns:
- the
SwingEntityEditor.ComboBoxModelsinstance
-