public abstract class ModelListenerProperty<T>
extends java.lang.Object
implements javafx.beans.property.Property<T>, java.beans.PropertyChangeListener, javafx.beans.value.ObservableValue<T>, javafx.beans.InvalidationListener
| Modifier and Type | Class and Description |
|---|---|
static class |
ModelListenerProperty.PROPERTYTYPE |
| Modifier and Type | Field and Description |
|---|---|
protected Condition<SimpleEvent> |
callBack |
protected SendableEntityCreator |
creator |
protected java.lang.Object |
item |
protected javafx.beans.value.ObservableValue<? extends T> |
observable |
protected java.lang.String |
property |
| Constructor and Description |
|---|
ModelListenerProperty(SendableEntityCreator creator,
java.lang.Object item,
java.lang.String property) |
| 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> newObservable) |
void |
bindBidirectional(javafx.beans.property.Property<T> other) |
void |
executeCallBack() |
java.lang.Object |
getBean() |
java.lang.Object |
getItemValue() |
java.lang.String |
getName() |
boolean |
isBound() |
T |
parseValue(java.lang.Object value) |
void |
propertyChange(java.beans.PropertyChangeEvent evt) |
void |
removeListener(javafx.beans.value.ChangeListener<? super T> listener) |
void |
removeListener(javafx.beans.InvalidationListener listener) |
boolean |
setBean(java.lang.Object value) |
void |
setValue(T value) |
void |
unbind() |
void |
unbindBidirectional(javafx.beans.property.Property<T> other) |
protected java.lang.Object item
protected java.lang.String property
protected SendableEntityCreator creator
protected javafx.beans.value.ObservableValue<? extends T> observable
protected Condition<SimpleEvent> callBack
public ModelListenerProperty(SendableEntityCreator creator, java.lang.Object item, java.lang.String property)
public java.lang.Object getBean()
getBean in interface javafx.beans.property.ReadOnlyProperty<T>public boolean setBean(java.lang.Object value)
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 void addListener(javafx.beans.InvalidationListener listener)
addListener in interface javafx.beans.Observablepublic void removeListener(javafx.beans.InvalidationListener listener)
removeListener in interface javafx.beans.Observablepublic void setValue(T value)
setValue in interface javafx.beans.value.WritableValue<T>public void bind(javafx.beans.value.ObservableValue<? extends T> newObservable)
bind 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 boolean isBound()
isBound in interface javafx.beans.property.Property<T>public void unbind()
unbind 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 getItemValue()
public void propertyChange(java.beans.PropertyChangeEvent evt)
propertyChange in interface java.beans.PropertyChangeListenerpublic void executeCallBack()
public T parseValue(java.lang.Object value)