Module is.codion.framework.model
Package is.codion.framework.model
Class AbstractEntityTableModel.AbstractEntityTableEditor
java.lang.Object
is.codion.framework.model.AbstractEntityTableModel.AbstractEntityTableEditor
- All Implemented Interfaces:
EntityTableModel.EntityTableEditor
- Direct Known Subclasses:
SwingEntityTableModel.SwingEntityTableEditor
- Enclosing class:
AbstractEntityTableModel<E extends EntityEditModel>
protected abstract static class AbstractEntityTableModel.AbstractEntityTableEditor
extends Object
implements EntityTableModel.EntityTableEditor
An abstract
EntityTableModel.EntityTableEditor implementation.-
Nested Class Summary
Nested classes/interfaces inherited from interface is.codion.framework.model.EntityTableModel.EntityTableEditor
EntityTableModel.EntityTableEditor.Editable -
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
AbstractEntityTableEditor
-
-
Method Details
-
enabled
- Specified by:
enabledin interfaceEntityTableModel.EntityTableEditor- Returns:
- the
Statecontrolling whether editing is enabled
-
editable
- Specified by:
editablein interfaceEntityTableModel.EntityTableEditor- Returns:
- the
Valuemanaging theEntityTableModel.EntityTableEditor.Editableinstance, which specifies whether an attribute is editable for a given entity instance
-
editable
- Specified by:
editablein interfaceEntityTableModel.EntityTableEditor- Parameters:
entity- the entityattribute- the attribute- Returns:
- true if the given attribute is editable for the given entity
- See Also:
-
set
Description copied from interface:EntityTableModel.EntityTableEditorUpdates the value of the given attribute in the given entity.- Specified by:
setin interfaceEntityTableModel.EntityTableEditor- Type Parameters:
T- the attribute type- Parameters:
value- the value to setentity- the entityattribute- the attribute- See Also:
-