ch.elca.el4j.util.observer.impl
Class SettableObservableValue<T>
java.lang.Object
ch.elca.el4j.util.observer.impl.AbstractObservableValue<T>
ch.elca.el4j.util.observer.impl.SettableObservableValue<T>
- Type Parameters:
T
- see supertype.
- All Implemented Interfaces:
- ObservableValue<T>
public class SettableObservableValue<T>
- extends AbstractObservableValue<T>
An ObservableValue whose value can be set(Object)
.
- Author:
- Adrian Moos (AMS)
- See Also:
ObservableValue
- File-location:
- SettableObservableValue
- Last check-in date:
- 2009-08-04 15:35:01 +0200 (Di, 04. Aug 2009) by swismer for revision 3883
Method Summary |
void |
set(T newRef)
sets the reference held to newRef . |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SettableObservableValue
public SettableObservableValue(T initialReference)
- creates a new SettableObservableValue.
- Parameters:
initialReference
- the initial reference
set
public void set(T newRef)
- sets the reference held to
newRef
.
- Overrides:
set
in class AbstractObservableValue<T>
Copyright © 2005-2011 ELCA. All Rights Reserved.