bibliothek.gui.dock.util
Class SilentPropertyValue<A>

java.lang.Object
  extended by bibliothek.gui.dock.util.PropertyValue<A>
      extended by 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

Constructor Summary
SilentPropertyValue(PropertyKey<A> key)
          Creates a new value.
SilentPropertyValue(PropertyKey<A> key, DockController controller)
          Creates a new value.
 
Method Summary
protected  void valueChanged(A oldValue, A newValue)
          Invoked when the value has been changed.
 
Methods inherited from class bibliothek.gui.dock.util.PropertyValue
getKey, getOwnValue, getProperties, getValue, isAnyValueSet, setKey, setProperties, setProperties, setValue, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

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
Method Detail

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 value
newValue - the old value