public static class SelectBinding.AsBoolean extends BooleanBinding
Constructor and Description |
---|
AsBoolean(Object root,
String... steps) |
AsBoolean(ObservableValue<?> root,
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
public AsBoolean(ObservableValue<?> root, String... steps)
public void dispose()
BooleanBinding
dispose()
that is empty.dispose
in interface Binding<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<Boolean>
getDependencies
in class BooleanBinding
ObservableList
Copyright © 2020. All rights reserved.