A
- the type of the wrapped valuepublic class SilentPropertyValue<A> extends PropertyValue<A>
SilentPropertyValue
is a PropertyValue
that does not react to
changes of its value.Constructor and Description |
---|
SilentPropertyValue(PropertyKey<A> key)
Creates a new value.
|
SilentPropertyValue(PropertyKey<A> key,
DockController controller)
Creates a new value.
|
Modifier and Type | Method and Description |
---|---|
protected void |
valueChanged(A oldValue,
A newValue)
Invoked when the value has been changed.
|
getKey, getOwnValue, getProperties, getValue, isAnyValueSet, setKey, setProperties, setProperties, setValue, toString
public SilentPropertyValue(PropertyKey<A> key, DockController controller)
key
- the key used to access the value in DockProperties
controller
- the controller from which properties are to be readpublic SilentPropertyValue(PropertyKey<A> key)
key
- the key used to access the value in DockProperties
protected void valueChanged(A oldValue, A newValue)
PropertyValue
valueChanged
in class PropertyValue<A>
oldValue
- the new valuenewValue
- the old value