T - The type of the value held by the implementor.public interface ChangeManaging<T>
| Modifier and Type | Field and Description |
|---|---|
static AspectType<ChangeManaging<?>> |
TYPE
Aspect definition for a gadget that manages changes on its value.
|
| Modifier and Type | Method and Description |
|---|---|
void |
clearValue()
Proposes a change to clear the currently set value.A subsequent call to
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.
|
static final AspectType<ChangeManaging<?>> TYPE
boolean hasChanges()
true, if the gadget has changes.@RunsInEDT void replaceValue(@Nullable T value)
hasChanges() should return true.value - The replacement value.@RunsInEDT void clearValue()
hasChanges() should return true.Copyright © 2015 e-Spirit AG. All Rights Reserved. Build 5.1.408