public abstract class BooleanBinding
  Comment     Returned-by     Constructor-argument     Method-argument     Field-type     Type-bound     Links  

Base class that provides most of the functionality needed to implement a Binding of a boolean value.

BooleanBinding provides a simple invalidation-scheme. An extending class can register dependencies by calling bind(Observable...). If One of the registered dependencies becomes invalid, this BooleanBinding is marked as invalid. With unbind(Observable...) listening to dependencies can be stopped.

To provide a concrete implementation of this class, the method computeValue() has to be implemented to calculate the value of this binding based on the current state of the dependencies. It is called when get() is called for an invalid binding.

See DoubleBinding for an example how this base class can be extended.

extends BooleanExpression implements Binding<Boolean>

See also:
Binding, javafx.beans.binding.BooleanExpression

Since:  JavaFX 2.0