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 TypeClassDescriptionfinal classManages the combo box models used by aSwingEntityEditor.static interfaceASwingEntityEditor.SwingComponentModelsextension providing foreign key basedEntityComboBoxModeland column basedFilterComboBoxModel.Nested classes/interfaces inherited from interface is.codion.framework.model.EntityEditor
EntityEditor.ComponentModels, EntityEditor.EditorEntity, EntityEditor.EditorPersistence, EntityEditor.EditorValue<T>, EntityEditor.EditorValues, EntityEditor.Exists, EntityEditor.Modified, EntityEditor.PersistEvents, EntityEditor.PersistTask<T>, EntityEditor.PersistTasks, EntityEditor.SearchModels, EntityEditor.Settings -
Field Summary
Fields inherited from interface is.codion.framework.model.EntityEditor
PERSIST_FOREIGN_KEYS, PUBLISH_PERSISTENCE_EVENTS -
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
connectionProvider, delete, delete, entities, entity, entityDefinition, events, exists, insert, insert, modified, persistence, primaryKeyPresent, searchModels, settings, tasks, tasks, toString, update, update, valid, validate, validate, validate, validate, validator, value, values
-
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
-
componentModels
- Overrides:
componentModelsin classDefaultEntityEditor- Returns:
- the
EntityEditor.ComponentModelsinstance
-