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:
Observable<Entity>,Observer<Entity>,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.EditorValue<T>, EntityEditor.Exists, EntityEditor.Modified, EntityEditor.SearchModelsNested classes/interfaces inherited from interface is.codion.common.reactive.observer.Observer
Observer.Builder<T,B extends Observer.Builder<T, B>> -
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
changing, clear, connectionProvider, defaults, entities, entityDefinition, exists, get, modified, nullable, observer, primaryKeyPresent, refresh, replace, revert, searchModels, set, valid, validate, validate, validate, validate, validator, value, valueChangedMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface is.codion.common.reactive.observer.Observable
getOrThrow, getOrThrow, is, isNot, isNull, isNullable, optionalMethods inherited from interface is.codion.common.reactive.observer.Observer
addConsumer, addListener, addWeakConsumer, addWeakListener, removeConsumer, removeListener, removeWeakConsumer, removeWeakListener, when, when
-
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
-