| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract T | |
| protected abstract Subscription | Returns: Subscription that can be used to stop observing inputs.Implementation of this method should start observing inputs. |
| public final T | getValue()
Implements javafx. Returns the current value of this |
| protected final void | |
| protected final void | newObserver(Consumer<? super T> oldValueObserver)
Overrides org. Called for each new observer. |
| protected final Subscription | observeInputs()
Implements abstract org. Starts observing this observable's input(s), if any. |
| ValBase | back to summary |
|---|---|
| public ValBase() | |
| computeValue | back to summary |
|---|---|
| protected abstract T computeValue() | |
| connect | back to summary |
|---|---|
| protected abstract Subscription connect() 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
| |
| getValue | back to summary |
|---|---|
| public final T getValue() Implements javafx. Doc from javafx. Returns the current value of this
| |
| invalidate | back to summary |
|---|---|
| protected final void invalidate() | |
| newObserver | back to summary |
|---|---|
| protected final void newObserver(Consumer<? super T> oldValueObserver) Overrides org. Doc from org. Called for each new observer. Overriding this method is a convenient way for subclasses to handle this event, for example to publish some initial events. This method is called after the
| |
| observeInputs | back to summary |
|---|---|
| protected final Subscription observeInputs() Implements abstract org. Doc from org. Starts observing this observable's input(s), if any.
This method is called when the number of observers goes from 0 to 1.
This method is called before
| |