| Modifier and Type | Field and Description |
|---|---|
| private ObservableValue | |
| private final InvalidationListener | |
| private T |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | bind(ObservableValue<? extends T> other)
Implements javafx. Create a unidirection binding for this |
| protected T | |
| protected Subscription | connect()
Implements abstract org. Implementation of this method should start observing inputs. |
| public boolean | isBound()
Implements javafx. Can be used to check, if a |
| public void | |
| public void | unbind()
Implements javafx. Remove the unidirectional binding for this |
| boundTo | back to summary |
|---|---|
| private ObservableValue<? extends T> boundTo | |
| boundToListener | back to summary |
|---|---|
| private final InvalidationListener boundToListener | |
| value | back to summary |
|---|---|
| private T value | |
| SimpleVar | back to summary |
|---|---|
| public SimpleVar(T initialValue) | |
| bind | back to summary |
|---|---|
| public void bind(ObservableValue<? extends T> other) Implements javafx. Doc from javafx. Create a unidirection binding for this Note that JavaFX has all the bind calls implemented through weak listeners. This means the bound property can be garbage collected and stopped from being updated.
| |
| computeValue | back to summary |
|---|---|
| protected T computeValue() Implements abstract org.
| |
| connect | back to summary |
|---|---|
| protected Subscription connect() Implements abstract org. Doc from org. Implementation of this method should start observing inputs. If the value
of this Val may change as a result of input change, the
corresponding input observer should call
| |
| isBound | back to summary |
|---|---|
| public boolean isBound() Implements javafx. Doc from javafx. Can be used to check, if a
| |
| setValue | back to summary |
|---|---|
| public void setValue(T value) Implements javafx. Doc from javafx. Set the wrapped value.
| |
| unbind | back to summary |
|---|---|
| public void unbind() Implements javafx. Doc from javafx. Remove the unidirectional binding for this
| |