public class PropertyDecorator<T> extends Object implements Property<T>
Constructor and Description |
---|
PropertyDecorator(Property<T> delegate) |
Modifier and Type | Method and Description |
---|---|
void |
addListener(ChangeListener<? super T> listener) |
void |
addListener(InvalidationListener listener) |
void |
bind(ObservableValue<? extends T> observable) |
void |
bindBidirectional(Property<T> other) |
boolean |
equals(Object o) |
Object |
getBean() |
protected Property<T> |
getDelegate() |
String |
getName() |
T |
getValue() |
int |
hashCode() |
boolean |
isBound() |
void |
removeListener(ChangeListener<? super T> listener) |
void |
removeListener(InvalidationListener listener) |
void |
setValue(T value) |
String |
toString() |
void |
unbind() |
void |
unbindBidirectional(Property<T> other) |
public void bind(ObservableValue<? extends T> observable)
public void bindBidirectional(Property<T> other)
bindBidirectional
in interface Property<T>
public void unbindBidirectional(Property<T> other)
unbindBidirectional
in interface Property<T>
public Object getBean()
getBean
in interface ReadOnlyProperty<T>
public String getName()
getName
in interface ReadOnlyProperty<T>
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>
getValue
in interface WritableValue<T>
public void addListener(InvalidationListener listener)
addListener
in interface Observable
public void removeListener(InvalidationListener listener)
removeListener
in interface Observable
public void setValue(T value)
setValue
in interface WritableValue<T>