T - the type of the wrapped valuepublic interface Property<T> extends ReadOnlyProperty<T>, WritableValue<T>
| Modifier and Type | Method and Description |
|---|---|
void |
bind(ObservableValue<? extends T> observable)
Create a unidirection binding for this
Property. |
void |
bindBidirectional(Property<T> other)
Create a bidirectional binding between this
Property and another
one. |
boolean |
isBound()
Can be used to check, if a
Property is bound. |
void |
unbind()
Remove the unidirectional binding for this
Property. |
void |
unbindBidirectional(Property<T> other)
Remove a bidirectional binding between this
Property and another
one. |
getBean, getNameaddListener, getValue, removeListeneraddListener, removeListenergetValue, setValuevoid bind(ObservableValue<? extends T> observable)
Property.observable - The observable this Property should be bound to.java.lang.NullPointerException - if observable is nullvoid unbind()
Property.
If the Property is not bound, calling this method has no effect.boolean isBound()
Property is bound.true if the Property is bound, false
otherwisevoid bindBidirectional(Property<T> other)
Property and another
one.other - the other Propertyjava.lang.NullPointerException - if other is nulljava.lang.IllegalArgumentException - if other is thisvoid unbindBidirectional(Property<T> other)
Property and another
one.
If no bidirectional binding between the properties exists, calling this
method has no effect.other - the other Propertyjava.lang.NullPointerException - if other is nulljava.lang.IllegalArgumentException - if other is thisCopyright (c) 2008, 2014, Oracle and/or its affiliates. All rights reserved.