Top Fields Constructors Methods
org.reactfx.value

pack-priv Class ValWrapper<T, D extends ObservableValue<T>>

extends ValBase<T>
Class Inheritance
Known Direct Subclasses
org.reactfx.value.VarWrapper
Imports
javafx.beans.InvalidationListener, javafx.beans.value.ObservableValue, org.reactfx.Subscription

Field Summary

Modifier and TypeField and Description
private final D

Constructor Summary

AccessConstructor and Description
pack-priv
ValWrapper(D delegate)

Method Summary

Modifier and TypeMethod and Description
protected T
protected Subscription
connect()

Implements abstract org.reactfx.value.ValBase.connect.

Implementation of this method should start observing inputs.

pack-priv D
Inherited from org.reactfx.value.ValBase:
getValueinvalidatenewObserverobserveInputs

Field Detail

delegateback to summary
private final D delegate

Constructor Detail

ValWrapperback to summary
pack-priv ValWrapper(D delegate)

Method Detail

computeValueback to summary
protected T computeValue()

Implements abstract org.reactfx.value.ValBase.computeValue.

Annotations
@Override
connectback to summary
protected Subscription connect()

Implements abstract org.reactfx.value.ValBase.connect.

Doc from org.reactfx.value.ValBase.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 invalidate() to notify observers of this Val. By the time of calling invalidate(), the input observer must have already updated any internal state of this Val, so that a subsequent call to computeValue() returns the current value of this Val.

Annotations
@Override
getDelegateback to summary
pack-priv D getDelegate()