Interface DirtyModel
- All Superinterfaces:
org.nield.dirtyfx.tracking.DirtyProperty
- All Known Subinterfaces:
DetailModel<E>
public interface DirtyModel
extends org.nield.dirtyfx.tracking.DirtyProperty
The DirtyModel interface extends the
DirtyProperty interface and provides additional methods related to managing dirty state of a model.
Simplifies implementation of the DirtyProperty for composite object.
Only getComposite() has to be defined and all DirtyProperty methods could be used targeting the composite property.
-
Method Details
-
getComposite
org.nield.dirtyfx.tracking.CompositeDirtyProperty getComposite() -
isDirty
default boolean isDirty()- Specified by:
isDirtyin interfaceorg.nield.dirtyfx.tracking.DirtyProperty
-
isDirtyProperty
- Specified by:
isDirtyPropertyin interfaceorg.nield.dirtyfx.tracking.DirtyProperty
-
rebaseline
default void rebaseline()- Specified by:
rebaselinein interfaceorg.nield.dirtyfx.tracking.DirtyProperty
-
reset
default void reset()- Specified by:
resetin interfaceorg.nield.dirtyfx.tracking.DirtyProperty
-