bibliothek.gui.dock.util
Class SilentPropertyValue<A>
java.lang.Object
bibliothek.gui.dock.util.PropertyValue<A>
bibliothek.gui.dock.util.SilentPropertyValue<A>
- Type Parameters:
A
- the type of the wrapped value
public class SilentPropertyValue<A>
- extends PropertyValue<A>
A SilentPropertyValue
is a PropertyValue
that does not react to
changes of its value.
- Author:
- Benjamin Sigg
Method Summary |
protected void |
valueChanged(A oldValue,
A newValue)
Invoked when the value has been changed. |
SilentPropertyValue
public SilentPropertyValue(PropertyKey<A> key,
DockController controller)
- Creates a new value.
- Parameters:
key
- the key used to access the value in DockProperties
controller
- the controller from which properties are to be read
SilentPropertyValue
public SilentPropertyValue(PropertyKey<A> key)
- Creates a new value.
- Parameters:
key
- the key used to access the value in DockProperties
valueChanged
protected void valueChanged(A oldValue,
A newValue)
- Description copied from class:
PropertyValue
- Invoked when the value has been changed.
- Specified by:
valueChanged
in class PropertyValue<A>
- Parameters:
oldValue
- the new valuenewValue
- the old value