private static class Bindings.BooleanOrBinding extends BooleanBinding
| Modifier and Type | Field and Description |
|---|---|
private InvalidationListener |
observer |
private ObservableBooleanValue |
op1 |
private ObservableBooleanValue |
op2 |
| Constructor and Description |
|---|
BooleanOrBinding(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. |
ObservableList<?> |
getDependencies()
A default implementation of
getDependencies() that returns an
empty ObservableList. |
addListener, addListener, bind, get, invalidate, isValid, onInvalidating, removeListener, removeListener, toString, unbindand, asObject, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, orclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValueprivate final ObservableBooleanValue op1
private final ObservableBooleanValue op2
private final InvalidationListener observer
public BooleanOrBinding(ObservableBooleanValue op1, ObservableBooleanValue op2)
public void dispose()
BooleanBindingdispose() that is empty.dispose in interface Binding<java.lang.Boolean>dispose in class BooleanBindingprotected boolean computeValue()
BooleanBinding
Classes extending BooleanBinding have to provide an
implementation of computeValue.
computeValue in class BooleanBindingpublic ObservableList<?> getDependencies()
BooleanBindinggetDependencies() that returns an
empty ObservableList.getDependencies in interface Binding<java.lang.Boolean>getDependencies in class BooleanBindingObservableList