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, unbindand, asObject, asString, booleanExpression, booleanExpression, getValue, isEqualTo, isNotEqualTo, not, orclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetValueprivate 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()
BooleanBindingdispose() that is empty.dispose in interface Binding<java.lang.Boolean>dispose in class BooleanBindingprotected void onInvalidating()
BooleanBindingonInvalidating in class BooleanBindingprotected boolean computeValue()
BooleanBinding
Classes extending BooleanBinding have to provide an
implementation of computeValue.
computeValue in class BooleanBindingpublic ObservableList<ObservableValue<?>> getDependencies()
BooleanBindinggetDependencies() that returns an
empty ObservableList.getDependencies in interface Binding<java.lang.Boolean>getDependencies in class BooleanBindingObservableList