|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface DirtyTrackingValueModel
Adds the dirty aspect to a valueModel, tracking changes when needed.
| Field Summary | |
|---|---|
static String |
DIRTY_PROPERTY
The name of the bound property dirty. |
| Fields inherited from interface org.springframework.binding.value.ValueModel |
|---|
VALUE_PROPERTY |
| Method Summary | |
|---|---|
void |
clearDirty()
Resets the dirty state of this model to false. |
boolean |
isDirty()
Returns true if value held by this model has changed since the last call to reset or the
last time a value came up from the inner model. |
void |
revertToOriginal()
Reverts the value held by this model to the original value at the last call to reset or the last time a value came up from the inner model. |
| Methods inherited from interface org.springframework.binding.value.ValueModel |
|---|
addValueChangeListener, getValue, removeValueChangeListener, setValue, setValueSilently |
| Methods inherited from interface org.springframework.binding.value.PropertyChangePublisher |
|---|
addPropertyChangeListener, addPropertyChangeListener, removePropertyChangeListener, removePropertyChangeListener |
| Field Detail |
|---|
static final String DIRTY_PROPERTY
| Method Detail |
|---|
boolean isDirty()
true if value held by this model has changed since the last call to reset or the
last time a value came up from the inner model.
void clearDirty()
false.
void revertToOriginal()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||