Module is.codion.framework.model
Package is.codion.framework.model
Interface EntityEditor.EditorValues
- Enclosing interface:
EntityEditor
public static interface EntityEditor.EditorValues
Provides access to the underlying values.
-
Method Summary
Modifier and TypeMethodDescriptionchanged()Returns an observer notified each time a value is changed, either via its associatedEntityEditor.EditorValueinstance or when the entity is set viaclear(),EntityEditor.EditorEntity.set(Entity)ordefaults().voidclear()Clears all values, disregarding theEntityEditor.EditorValue.persist()directive.voiddefaults()Populates this editor with default values for all non-persistent attributes.voidrevert()Reverts all attribute value changes.
-
Method Details
-
clear
void clear()Clears all values, disregarding theEntityEditor.EditorValue.persist()directive. -
defaults
void defaults()Populates this editor with default values for all non-persistent attributes.Notifies that the entity is about to change via
EntityEditor.EditorEntity.changing()- See Also:
-
revert
void revert()Reverts all attribute value changes. -
changed
Returns an observer notified each time a value is changed, either via its associatedEntityEditor.EditorValueinstance or when the entity is set viaclear(),EntityEditor.EditorEntity.set(Entity)ordefaults().- Returns:
- an observer notified each time a value is changed
-