Package is.codion.swing.framework.model
Class SwingEntityEditModel
java.lang.Object
is.codion.framework.model.DefaultEntityEditModel<SwingEntityModel,SwingEntityEditModel,SwingEntityTableModel,SwingEntityEditor>
is.codion.swing.framework.model.SwingEntityEditModel
- All Implemented Interfaces:
EntityEditModel<SwingEntityModel,SwingEntityEditModel, SwingEntityTableModel, SwingEntityEditor>
public class SwingEntityEditModel
extends DefaultEntityEditModel<SwingEntityModel,SwingEntityEditModel,SwingEntityTableModel,SwingEntityEditor>
A Swing implementation of
EntityEditModel.-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.framework.model.EntityEditModel
EntityEditModel.PersistEvents, EntityEditModel.PersistTasks, EntityEditModel.Settings -
Field Summary
Fields inherited from interface is.codion.framework.model.EntityEditModel
PUBLISH_PERSISTENCE_EVENTS -
Constructor Summary
ConstructorsConstructorDescriptionSwingEntityEditModel(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a newSwingEntityEditModelbased on the given entity type.SwingEntityEditModel(EntityType entityType, EntityConnectionProvider connectionProvider, SwingEntityEditor.SwingComponentModels componentModels) Instantiates a newSwingEntityEditModelbased on the given entity type. -
Method Summary
Methods inherited from class is.codion.framework.model.DefaultEntityEditModel
connection, connectionProvider, delete, delete, editor, entities, entityDefinition, entityType, events, insert, insert, settings, tasks, toString, update, update
-
Constructor Details
-
SwingEntityEditModel
Instantiates a newSwingEntityEditModelbased on the given entity type.- Parameters:
entityType- the type of the entity to base thisSwingEntityEditModelonconnectionProvider- theEntityConnectionProviderinstance
-
SwingEntityEditModel
public SwingEntityEditModel(EntityType entityType, EntityConnectionProvider connectionProvider, SwingEntityEditor.SwingComponentModels componentModels) Instantiates a newSwingEntityEditModelbased on the given entity type.- Parameters:
entityType- the type of the entity to base thisSwingEntityEditModelonconnectionProvider- theEntityConnectionProviderinstancecomponentModels- the component models
-