null,
or to their base value if the local value is null.
| Modifier and Type | Field and Description |
|---|---|
| private final ObservableValue | |
| private T | |
| private boolean | |
| private final ChangeListener | |
| private final WeakChangeListener |
| Access | Constructor and Description |
|---|---|
| protected | NullCoalescingPropertyBase(ObservableValue<T>
the base observable baseObservable)Initializes a new |
| Modifier and Type | Method and Description |
|---|---|
| public final void | |
| public final void | |
| protected final void | fireValueChangedEvent()
Overrides javafx. Sends notifications to all attached
|
| public final T | get()
Overrides javafx. Implements javafx. Get the wrapped value. |
| protected final void | invalidated()
Overrides javafx. The method |
| protected void |
| baseObservable | back to summary |
|---|---|
| private final ObservableValue<T> baseObservable | |
| currentValue | back to summary |
|---|---|
| private T currentValue | |
| currentValueChanged | back to summary |
|---|---|
| private boolean currentValueChanged | |
| listener | back to summary |
|---|---|
| private final ChangeListener<T> listener | |
| weakListener | back to summary |
|---|---|
| private final WeakChangeListener<T> weakListener | |
| NullCoalescingPropertyBase | back to summary |
|---|---|
| protected NullCoalescingPropertyBase(ObservableValue<T> baseObservable) Initializes a new
| |
| connect | back to summary |
|---|---|
| public final void connect() Connects this property to the base observable and starts observing. | |
| disconnect | back to summary |
|---|---|
| public final void disconnect() Disconnects this property from the base observable and stops observing. | |
| fireValueChangedEvent | back to summary |
|---|---|
| protected final void fireValueChangedEvent() Overrides javafx. Doc from javafx. Sends notifications to all attached
| |
| get | back to summary |
|---|---|
| public final T get() Overrides javafx. Implements javafx. Doc from javafx. Get the wrapped value. This must be identical to
the value returned from
This method exists only to align WritableObjectValue API with
| |
| invalidated | back to summary |
|---|---|
| protected final void invalidated() Overrides javafx. Doc from javafx. The method
| |
| onInvalidated | back to summary |
|---|---|
| protected void onInvalidated() Called when the current value has changed. | |