public final class CompositeBinding
extends java.lang.Object
All methods of this class must be called on JavaFX Thread
| Constructor and Description |
|---|
CompositeBinding() |
CompositeBinding(javafx.beans.binding.Binding... bindings) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(javafx.beans.binding.Binding b)
Adds a new
Binding to this CompositeBinding if the
CompositeBinding is not yet disposedInd. |
void |
add(CompositeBinding b)
|
void |
clear()
Disposes any bindings that are currently part of this
CompositeBinding and remove
them from the CompositeBinding so that the CompositeBinding is empty and
able to manage new bindings. |
void |
dispose()
Disposes itself and all inner Bindings.
|
boolean |
hasSubscriptions()
Returns true if this composite is not disposed and contains Bindings.
|
void |
invalidate() |
boolean |
isDisposed() |
void |
remove(javafx.beans.binding.Binding b)
Removes a
Binding from this CompositeBinding, and disposes the
Binding. |
void |
remove(CompositeBinding b)
|
public CompositeBinding()
public CompositeBinding(javafx.beans.binding.Binding... bindings)
public void invalidate()
public boolean isDisposed()
public void add(CompositeBinding b)
CompositeBinding to this CompositeBinding if the
CompositeBinding is not yet disposed. If the CompositeBinding is
disposed, add will indicate this by explicitly disposing the new CompositeBinding as
well.b - the Binding to addpublic void add(javafx.beans.binding.Binding b)
Binding to this CompositeBinding if the
CompositeBinding is not yet disposedInd. If the CompositeBinding is
disposed, add will indicate this by explicitly disposing the new Binding as
well.b - the Binding to addpublic void remove(CompositeBinding b)
b - the CompositeBinding to removepublic void remove(javafx.beans.binding.Binding b)
Binding from this CompositeBinding, and disposes the
Binding.b - the Binding to removepublic void clear()
CompositeBinding and remove
them from the CompositeBinding so that the CompositeBinding is empty and
able to manage new bindings.public void dispose()
After call of this method, new Bindings added to CompositeBinding
will be disposed immediately.
public boolean hasSubscriptions()
true if this composite is not disposed and contains Bindings.