|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
T
- The type of the value held by the implementor.public interface ChangeManaging<T>
Aspect definition for a gadget that manages its changes.
Field Summary | |
---|---|
static AspectType<ChangeManaging<?>> |
TYPE
Aspect definition for a gadget that manages changes on its value. |
Method Summary | |
---|---|
void |
clearValue()
Proposes a change to clear the currently set value.A subsequent call to ChangeManaging.hasChanges() should return true. |
boolean |
hasChanges()
Indicates that the gadget has changes. |
void |
replaceValue(T value)
Proposes a change to replace the currently set value with the given one. |
Field Detail |
---|
static final AspectType<ChangeManaging<?>> TYPE
Method Detail |
---|
boolean hasChanges()
true
, if the gadget has changes.void replaceValue(T value)
ChangeManaging.hasChanges()
should return true.
value
- The replacement value.void clearValue()
ChangeManaging.hasChanges()
should return true.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |