a.b.c. The value of the
binding will be "c", or null if c could not be reached (due to "b" not having
a "c" property, or "b" being null). "a" must be passed to the constructor of
the SelectBinding and may be any dependency. All subsequent links are simply
PropertyReferences.
With a SelectBinding, "a" must always exist. Usually "a" will refer to "this", or some concrete object. "b"* will be some intermediate step in the select binding.
| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| public static class | |
| private static class |
| Access | Constructor and Description |
|---|---|
| private |
| SelectBinding | back to summary |
|---|---|
| private SelectBinding() | |
| Modifier and Type | Field and Description |
|---|---|
| private static final boolean | |
| private final SelectBinding. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected boolean | computeValue()
Implements abstract javafx. Calculates the current value of this binding. |
| public void | dispose()
Overrides javafx. Implements javafx. A default implementation of |
| public ObservableList | getDependencies()
Overrides javafx. Implements javafx. A default implementation of |
| protected void | onInvalidating()
Overrides javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. |
| DEFAULT_VALUE | back to summary |
|---|---|
| private static final boolean DEFAULT_VALUE | |
| helper | back to summary |
|---|---|
| private final SelectBinding. | |
| AsBoolean | back to summary |
|---|---|
| public AsBoolean(ObservableValue<?> root, String... steps) | |
| AsBoolean | back to summary |
|---|---|
| public AsBoolean(Object root, String... steps) | |
| computeValue | back to summary |
|---|---|
| protected boolean computeValue() Implements abstract javafx. Doc from javafx. Calculates the current value of this binding.
Classes extending
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| getDependencies | back to summary |
|---|---|
| public ObservableList Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| onInvalidating | back to summary |
|---|---|
| protected void onInvalidating() Overrides javafx. Doc from javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. The default implementation is empty.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final double | |
| private final SelectBinding. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected double | computeValue()
Implements abstract javafx. Calculates the current value of this binding. |
| public void | dispose()
Overrides javafx. Implements javafx. A default implementation of |
| public ObservableList | getDependencies()
Overrides javafx. Implements javafx. A default implementation of |
| protected void | onInvalidating()
Overrides javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. |
| DEFAULT_VALUE | back to summary |
|---|---|
| private static final double DEFAULT_VALUE | |
| helper | back to summary |
|---|---|
| private final SelectBinding. | |
| AsDouble | back to summary |
|---|---|
| public AsDouble(ObservableValue<?> root, String... steps) | |
| AsDouble | back to summary |
|---|---|
| public AsDouble(Object root, String... steps) | |
| computeValue | back to summary |
|---|---|
| protected double computeValue() Implements abstract javafx. Doc from javafx. Calculates the current value of this binding.
Classes extending
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| getDependencies | back to summary |
|---|---|
| public ObservableList Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| onInvalidating | back to summary |
|---|---|
| protected void onInvalidating() Overrides javafx. Doc from javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. The default implementation is empty.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final float | |
| private final SelectBinding. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected float | computeValue()
Implements abstract javafx. Calculates the current value of this binding. |
| public void | dispose()
Overrides javafx. Implements javafx. A default implementation of |
| public ObservableList | getDependencies()
Overrides javafx. Implements javafx. A default implementation of |
| protected void | onInvalidating()
Overrides javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. |
| DEFAULT_VALUE | back to summary |
|---|---|
| private static final float DEFAULT_VALUE | |
| helper | back to summary |
|---|---|
| private final SelectBinding. | |
| AsFloat | back to summary |
|---|---|
| public AsFloat(ObservableValue<?> root, String... steps) | |
| AsFloat | back to summary |
|---|---|
| public AsFloat(Object root, String... steps) | |
| computeValue | back to summary |
|---|---|
| protected float computeValue() Implements abstract javafx. Doc from javafx. Calculates the current value of this binding.
Classes extending
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| getDependencies | back to summary |
|---|---|
| public ObservableList Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| onInvalidating | back to summary |
|---|---|
| protected void onInvalidating() Overrides javafx. Doc from javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. The default implementation is empty.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final int | |
| private final SelectBinding. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected int | computeValue()
Implements abstract javafx. Calculates the current value of this binding. |
| public void | dispose()
Overrides javafx. Implements javafx. A default implementation of |
| public ObservableList | getDependencies()
Overrides javafx. Implements javafx. A default implementation of |
| protected void | onInvalidating()
Overrides javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. |
| DEFAULT_VALUE | back to summary |
|---|---|
| private static final int DEFAULT_VALUE | |
| helper | back to summary |
|---|---|
| private final SelectBinding. | |
| AsInteger | back to summary |
|---|---|
| public AsInteger(ObservableValue<?> root, String... steps) | |
| AsInteger | back to summary |
|---|---|
| public AsInteger(Object root, String... steps) | |
| computeValue | back to summary |
|---|---|
| protected int computeValue() Implements abstract javafx. Doc from javafx. Calculates the current value of this binding.
Classes extending
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| getDependencies | back to summary |
|---|---|
| public ObservableList Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| onInvalidating | back to summary |
|---|---|
| protected void onInvalidating() Overrides javafx. Doc from javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. The default implementation is empty.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final long | |
| private final SelectBinding. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected long | computeValue()
Implements abstract javafx. Calculates the current value of this binding. |
| public void | dispose()
Overrides javafx. Implements javafx. A default implementation of |
| public ObservableList | getDependencies()
Overrides javafx. Implements javafx. A default implementation of |
| protected void | onInvalidating()
Overrides javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. |
| DEFAULT_VALUE | back to summary |
|---|---|
| private static final long DEFAULT_VALUE | |
| helper | back to summary |
|---|---|
| private final SelectBinding. | |
| AsLong | back to summary |
|---|---|
| public AsLong(ObservableValue<?> root, String... steps) | |
| AsLong | back to summary |
|---|---|
| public AsLong(Object root, String... steps) | |
| computeValue | back to summary |
|---|---|
| protected long computeValue() Implements abstract javafx. Doc from javafx. Calculates the current value of this binding.
Classes extending
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| getDependencies | back to summary |
|---|---|
| public ObservableList Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| onInvalidating | back to summary |
|---|---|
| protected void onInvalidating() Overrides javafx. Doc from javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. The default implementation is empty.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final SelectBinding. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected T | computeValue()
Implements abstract javafx. Calculates the current value of this binding. |
| public void | dispose()
Overrides javafx. Implements javafx. A default implementation of |
| public ObservableList | getDependencies()
Overrides javafx. Implements javafx. A default implementation of |
| protected void | onInvalidating()
Overrides javafx. Called when this binding becomes invalid. |
| helper | back to summary |
|---|---|
| private final SelectBinding. | |
| AsObject | back to summary |
|---|---|
| public AsObject(ObservableValue<?> root, String... steps) | |
| AsObject | back to summary |
|---|---|
| public AsObject(Object root, String... steps) | |
| computeValue | back to summary |
|---|---|
| protected T computeValue() Implements abstract javafx. Doc from javafx. Calculates the current value of this binding.
Classes extending
| |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| getDependencies | back to summary |
|---|---|
| public ObservableList Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| onInvalidating | back to summary |
|---|---|
| protected void onInvalidating() Overrides javafx. Doc from javafx. Called when this binding becomes invalid. Can be overridden by extending classes to react to the invalidation. The default implementation is empty.
| |
| Modifier and Type | Field and Description |
|---|---|
| private static final String | |
| private final SelectBinding. |
| Access | Constructor and Description |
|---|---|
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected String | computeValue()
Implements abstract javafx. Calculates the current value of this binding. |
| public void | dispose()
Overrides javafx. Implements javafx. A default implementation of |
| public ObservableList | getDependencies()
Overrides javafx. Implements javafx. A default implementation of |
| protected void | onInvalidating()
Overrides javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. |
| DEFAULT_VALUE | back to summary |
|---|---|
| private static final String DEFAULT_VALUE | |
| helper | back to summary |
|---|---|
| private final SelectBinding. | |
| AsString | back to summary |
|---|---|
| public AsString(ObservableValue<?> root, String... steps) | |
| AsString | back to summary |
|---|---|
| public AsString(Object root, String... steps) | |
| computeValue | back to summary |
|---|---|
| protected String computeValue() Implements abstract javafx. Doc from javafx. Calculates the current value of this binding.
Classes extending | |
| dispose | back to summary |
|---|---|
| public void dispose() Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| getDependencies | back to summary |
|---|---|
| public ObservableList Overrides javafx. Implements javafx. Doc from javafx. A default implementation of
| |
| onInvalidating | back to summary |
|---|---|
| protected void onInvalidating() Overrides javafx. Doc from javafx. The method onInvalidating() can be overridden by extending classes to react, if this binding becomes invalid. The default implementation is empty.
| |
| Modifier and Type | Field and Description |
|---|---|
| private final Binding | |
| private ObservableList | |
| private final WeakInvalidationListener | |
| private final ObservableValue | |
| private final String[] | |
| private final PropertyReference |
| Access | Constructor and Description |
|---|---|
| private | |
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static ObservableValue | |
| public ObservableList | |
| public ObservableValue | |
| public void | invalidated(Observable
The observable)Observable that became invalidImplements javafx. This method needs to be provided by an implementation of
|
| private String | |
| private void | |
| private void |
| binding | back to summary |
|---|---|
| private final Binding<?> binding | |
| dependencies | back to summary |
|---|---|
| private ObservableList<ObservableValue<?>> dependencies | |
| observer | back to summary |
|---|---|
| private final WeakInvalidationListener observer | |
| properties | back to summary |
|---|---|
| private final ObservableValue<?>[] properties | |
| propertyNames | back to summary |
|---|---|
| private final String[] propertyNames | |
| propRefs | back to summary |
|---|---|
| private final PropertyReference<?>[] propRefs | |
| SelectBindingHelper | back to summary |
|---|---|
| private SelectBindingHelper(Binding<?> binding, ObservableValue<?> firstProperty, String... steps) | |
| SelectBindingHelper | back to summary |
|---|---|
| private SelectBindingHelper(Binding<?> binding, Object root, String... steps) | |
| checkAndCreateFirstStep | back to summary |
|---|---|
| private static ObservableValue | |
| getDependencies | back to summary |
|---|---|
| public ObservableList | |
| getObservableValue | back to summary |
|---|---|
| public ObservableValue | |
| invalidated | back to summary |
|---|---|
| public void invalidated(Observable observable) Implements javafx. Doc from javafx. This method needs to be provided by an implementation of
In general, it is considered bad practice to modify the observed value in this method.
| |
| stepsToString | back to summary |
|---|---|
| private String stepsToString() | |
| unregisterListener | back to summary |
|---|---|
| private void unregisterListener() | |
| updateDependencies | back to summary |
|---|---|
| private void updateDependencies() | |