Package org.reactfx.value
Class FlatMappedVar<T,U,O extends javafx.beans.property.Property<U>>
java.lang.Object
org.reactfx.ObservableBase<Consumer<? super U>,U>
org.reactfx.value.ValBase<U>
org.reactfx.value.FlatMapped<T,U,O>
org.reactfx.value.FlatMappedVar<T,U,O>
- All Implemented Interfaces:
javafx.beans.Observable,javafx.beans.property.Property<U>,javafx.beans.property.ReadOnlyProperty<U>,javafx.beans.value.ObservableValue<U>,javafx.beans.value.WritableValue<U>,Observable<Consumer<? super U>>,ProperObservable<Consumer<? super U>,,U> ProperVal<U>,Val<U>,Var<U>
class FlatMappedVar<T,U,O extends javafx.beans.property.Property<U>>
extends FlatMapped<T,U,O>
implements Var<U>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate javafx.beans.value.ObservableValue<? extends U> private final javafx.beans.value.ChangeListener<O> Fields inherited from class org.reactfx.value.FlatMapped
src -
Constructor Summary
ConstructorsModifierConstructorDescriptionFlatMappedVar(javafx.beans.value.ObservableValue<T> src, Function<? super T, O> f) privateFlatMappedVar(javafx.beans.value.ObservableValue<T> src, Function<? super T, O> f, Consumer<O> onUnbind) FlatMappedVar(javafx.beans.value.ObservableValue<T> src, Function<? super T, O> f, U resetToOnUnbind) -
Method Summary
Methods inherited from class org.reactfx.value.FlatMapped
computeValue, connectMethods inherited from class org.reactfx.value.ValBase
getValue, invalidate, newObserver, observeInputsMethods inherited from class org.reactfx.ObservableBase
addObserver, enqueueNotifications, equals, forEachObserver, getObserverCount, hashCode, isObservingInputs, notifyObservers, notifyObservers, observe, removeObserver, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.reactfx.Observable
addObserver, observe, removeObserverMethods inherited from interface javafx.beans.value.ObservableValue
getValueMethods inherited from interface org.reactfx.ProperObservable
defaultEquals, defaultHashCode, defaultToString, notifyObserversMethods inherited from interface org.reactfx.value.ProperVal
defaultNotificationAccumulatorMethods inherited from interface org.reactfx.value.Val
addInvalidationObserver, addListener, addListener, animate, animate, asList, asVar, changes, conditionOn, conditionOnShowing, filter, flatMap, getOpt, getOrElse, getOrSupply, getOrThrow, ifPresent, invalidations, isEmpty, isPresent, map, mapDynamic, observeChanges, observeInvalidations, orElse, orElseConst, pin, removeInvalidationObserver, removeListener, removeListener, selectVar, selectVar, valuesMethods inherited from interface org.reactfx.value.Var
bindBidirectional, getBean, getName, mapBidirectional, suspendable, unbindBidirectionalMethods inherited from interface javafx.beans.value.WritableValue
getValue
-
Field Details
-
srcListenerWhenBound
-
boundTo
-
-
Constructor Details
-
FlatMappedVar
-
FlatMappedVar
-
FlatMappedVar
-
-
Method Details
-
setValue
- Specified by:
setValuein interfacejavafx.beans.value.WritableValue<T>
-
bind
- Specified by:
bindin interfacejavafx.beans.property.Property<T>
-
unbind
public void unbind()- Specified by:
unbindin interfacejavafx.beans.property.Property<T>
-
isBound
public boolean isBound()- Specified by:
isBoundin interfacejavafx.beans.property.Property<T>
-