Package is.codion.swing.framework.model
Class SwingEntityModel
java.lang.Object
is.codion.framework.model.AbstractEntityModel<SwingEntityModel,SwingEntityEditModel,SwingEntityTableModel>
is.codion.swing.framework.model.SwingEntityModel
- All Implemented Interfaces:
EntityModel<SwingEntityModel,SwingEntityEditModel, SwingEntityTableModel>
public class SwingEntityModel
extends AbstractEntityModel<SwingEntityModel,SwingEntityEditModel,SwingEntityTableModel>
A Swing implementation of
EntityModel-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.framework.model.EntityModel
EntityModel.DetailModels<M extends EntityModel<M,E, T>, E extends EntityEditModel, T extends EntityTableModel<E>> -
Constructor Summary
ConstructorsConstructorDescriptionSwingEntityModel(EntityType entityType, EntityConnectionProvider connectionProvider) Instantiates a new SwingEntityModel with default SwingEntityEditModel and SwingEntityTableModel implementations.SwingEntityModel(SwingEntityEditModel editModel) Instantiates a new SwingEntityModel, with a defaultSwingEntityTableModelSwingEntityModel(SwingEntityTableModel tableModel) Instantiates a new SwingEntityModel -
Method Summary
Methods inherited from class is.codion.framework.model.AbstractEntityModel
connection, connectionProvider, containsTableModel, detailModels, editModel, entities, entityDefinition, entityType, link, tableModel, toString
-
Constructor Details
-
SwingEntityModel
Instantiates a new SwingEntityModel with default SwingEntityEditModel and SwingEntityTableModel implementations.- Parameters:
entityType- the type of the entity to base this SwingEntityModel onconnectionProvider- a EntityConnectionProvider
-
SwingEntityModel
Instantiates a new SwingEntityModel, with a defaultSwingEntityTableModel- Parameters:
editModel- the edit model
-
SwingEntityModel
Instantiates a new SwingEntityModel- Parameters:
tableModel- the table model
-