private static class Bindings.BooleanAndBinding extends BooleanBinding
Modifier and Type | Field and Description |
---|---|
private InvalidationListener |
observer |
private ObservableBooleanValue |
op1 |
private ObservableBooleanValue |
op2 |
Constructor and Description |
---|
BooleanAndBinding(ObservableBooleanValue op1,
ObservableBooleanValue op2) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
computeValue()
Calculates the current value of this binding.
|
void |
dispose()
A default implementation of
dispose() that is empty. |
<any> |
getDependencies()
A default implementation of
getDependencies() that returns an
empty javafx.collections.ObservableList . |
addListener, addListener, bind, get, invalidate, isValid, onInvalidating, removeListener, removeListener, toString, unbind
and, asObject, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, or
private final ObservableBooleanValue op1
private final ObservableBooleanValue op2
private final InvalidationListener observer
public BooleanAndBinding(ObservableBooleanValue op1, ObservableBooleanValue op2)
public void dispose()
BooleanBinding
dispose()
that is empty.dispose
in interface Binding<java.lang.Boolean>
dispose
in class BooleanBinding
protected boolean computeValue()
BooleanBinding
Classes extending BooleanBinding
have to provide an
implementation of computeValue
.
computeValue
in class BooleanBinding
public <any> getDependencies()
BooleanBinding
getDependencies()
that returns an
empty javafx.collections.ObservableList
.getDependencies
in interface Binding<java.lang.Boolean>
getDependencies
in class BooleanBinding
ObservableList