Adds an InvalidationListener which will be notified whenever the
Observable becomes invalid. If the same
listener is added more than once, then it will be notified more than
once. That is, no check is made to ensure uniqueness.
Note that the same actual InvalidationListener instance may be
safely registered for different Observables.
The Observable stores a strong reference to the listener
which will prevent the listener from being garbage collected and may
result in a memory leak. It is recommended to either unregister a
listener by calling removeListener(InvalidationListener) after use or to use an instance of
WeakInvalidationListener avoid this situation.
Adds a ChangeListener which will be notified whenever the value
of the ObservableValue changes. If the same listener is added
more than once, then it will be notified more than once. That is, no
check is made to ensure uniqueness.
Note that the same actual ChangeListener instance may be safely
registered for different ObservableValues.
The ObservableValue stores a strong reference to the listener
which will prevent the listener from being garbage collected and may
result in a memory leak. It is recommended to either unregister a
listener by calling removeListener(ChangeListener) after use or to use an instance of
WeakChangeListener avoid this situation.
A default implementation of dispose() that is empty.
Returns the result of computeValue(). The method
computeValue() is only called if the binding is invalid. The
result is cached and returned if the binding did not become invalid since
the last call of get().
A default implementation of getDependencies() that returns an
empty javafx.collections.ObservableList.
ObservableList
Mark a binding as invalid. This forces the recalculation of the value of
the Binding next time it is request.
Checks if a binding is valid.
true if the Binding is valid, false
otherwise
Removes the given listener from the list of listeners, that are notified
whenever the value of the Observable becomes invalid.
If the given listener has not been previously registered (i.e. it was never added) then this method call is a no-op. If it had been previously added then it will be removed. If it had been added more than once, then only the first occurrence will be removed.
Removes the given listener from the list of listeners, that are notified
whenever the value of the ObservableValue changes.
If the given listener has not been previously registered (i.e. it was never added) then this method call is a no-op. If it had been previously added then it will be removed. If it had been added more than once, then only the first occurrence will be removed.
Returns a string representation of this ObjectBinding object.
ObjectBinding object.
Diagram: ObjectProperty