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