T
- the class of the property, usually Stringpublic class SettableProperty<T> extends DictionaryProperty<T>
Modifier and Type | Class and Description |
---|---|
static class |
SettableProperty.Diff<T>
Describe differences between 2
SettableProperty this and that ,
and allow the differences from that to be appled to this so this and that are the same. |
DictionaryProperty.DiffType
Modifier and Type | Method and Description |
---|---|
T |
getDiffValue()
Get the value of the property accounting for diffs.
|
T |
getDiffValue(java.lang.Object versionInfo)
Get the diffValue contributed by the given version.
|
void |
setValue(T value)
Set the value of the property
|
getContainedDiffs, getDiff, getDiffs, getName, getName, getTranslatedName, getValue, hasDiff, removeDiff
public void setValue(T value)
value
- public T getDiffValue()
SettableProperty.Diff.getValue()
.
getDiffValue should be used instead of DictionaryProperty.getValue()
when rendering this
property in "diff mode".
diffValue is rarely different from value. One case is
if AdvancedMode has a diff, then the diff value is TRUE to
force the UI to render Patterns, etc.public T getDiffValue(java.lang.Object versionInfo)
versionInfo
-