Interface EntityTableModel.EntityRowEditor
- All Known Implementing Classes:
AbstractEntityTableModel.AbstractEntityRowEditor, SwingEntityTableModel.SwingEntityRowEditor
- Enclosing interface:
EntityTableModel<E extends EntityEditModel<R>, R extends EntityEditor<R>>
public static interface EntityTableModel.EntityRowEditor
Controls table model editing
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSpecifies whether an attribute is editable for a given entity instance. -
Method Summary
-
Method Details
-
enabled
-
editable
Value<EntityTableModel.EntityRowEditor.Editable> editable()- Returns:
- the
Valuemanaging theEntityTableModel.EntityRowEditor.Editableinstance, which specifies whether an attribute is editable for a given entity instance
-
editable
-
set
Updates the value of the given attribute in the given entity.- Type Parameters:
T- the attribute type- Parameters:
value- the value to setentity- the entityattribute- the attribute- Throws:
IllegalStateException- in case the attribute is not editable- See Also:
-