public static class SelectBinding.AsBoolean extends BooleanBinding
Modifier and Type | Field and Description |
---|---|
private static boolean |
DEFAULT_VALUE |
private SelectBinding.SelectBindingHelper |
helper |
Constructor and Description |
---|
AsBoolean(java.lang.Object root,
java.lang.String... steps) |
AsBoolean(ObservableValue<?> root,
java.lang.String... steps) |
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<ObservableValue<?>> |
getDependencies()
A default implementation of
getDependencies() that returns an
empty ObservableList . |
protected void |
onInvalidating()
The method onInvalidating() can be overridden by extending classes to
react, if this binding becomes invalid.
|
addListener, addListener, bind, get, invalidate, isValid, removeListener, removeListener, toString, unbind
and, asObject, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, or
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getValue
private static final boolean DEFAULT_VALUE
private final SelectBinding.SelectBindingHelper helper
public AsBoolean(ObservableValue<?> root, java.lang.String... steps)
public AsBoolean(java.lang.Object root, java.lang.String... steps)
public void dispose()
BooleanBinding
dispose()
that is empty.dispose
in interface Binding<java.lang.Boolean>
dispose
in class BooleanBinding
protected void onInvalidating()
BooleanBinding
onInvalidating
in class BooleanBinding
protected boolean computeValue()
BooleanBinding
Classes extending BooleanBinding
have to provide an
implementation of computeValue
.
computeValue
in class BooleanBinding
public ObservableList<ObservableValue<?>> getDependencies()
BooleanBinding
getDependencies()
that returns an
empty ObservableList
.getDependencies
in interface Binding<java.lang.Boolean>
getDependencies
in class BooleanBinding
ObservableList