public class ObservableValueDecorator<T> extends Object implements ObservableValue<T>
Constructor and Description |
---|
ObservableValueDecorator(ObservableValue<T> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ChangeListener<? super T> listener) |
void |
addListener(InvalidationListener listener) |
boolean |
equals(Object o) |
protected ObservableValue<T> |
getDelegate() |
T |
getValue() |
int |
hashCode() |
void |
removeListener(ChangeListener<? super T> listener) |
void |
removeListener(InvalidationListener listener) |
String |
toString() |
public ObservableValueDecorator(ObservableValue<T> delegate)
protected final ObservableValue<T> getDelegate()
public void addListener(ChangeListener<? super T> listener)
addListener
in interface ObservableValue<T>
public void removeListener(ChangeListener<? super T> listener)
removeListener
in interface ObservableValue<T>
public T getValue()
getValue
in interface ObservableValue<T>
public void addListener(InvalidationListener listener)
addListener
in interface Observable
public void removeListener(InvalidationListener listener)
removeListener
in interface Observable