Uses of Interface
org.reactfx.value.Var

Packages that use Var
Package
Description
 
  • Uses of Var in org.reactfx.value

    Subinterfaces of Var in org.reactfx.value
    Modifier and Type
    Interface
    Description
    interface 
    Writable value whose invalidation and change notifications can be temporarily suspended.
    Methods in org.reactfx.value that return Var
    Modifier and Type
    Method
    Description
    default Var<T>
    Val.asVar(Consumer<T> setValue)
    Let's this Val be viewed as a Var, with the given setValue function serving the purpose of WritableValue.setValue(Object).
    static Var<Double>
    Var.doubleVar(javafx.beans.property.DoubleProperty p)
    Converts DoubleProperty to Var<Double> to help deal with the consequences of DoubleProperty not being a subtype of Property<Double>.
    static Var<Float>
    Var.floatVar(javafx.beans.property.FloatProperty p)
    Converts FloatProperty to Var<Float> to help deal with the consequences of FloatProperty not being a subtype of Property<Float>.
    static <T> Var<T>
    Var.fromVal(javafx.beans.value.ObservableValue<T> obs, Consumer<T> setValue)
    Creates a Var from ObservableValue, using the given setValue function in place of the WritableValue.setValue(Object) method.
    static Var<Integer>
    Var.integerVar(javafx.beans.property.IntegerProperty p)
    Converts IntegerProperty to Var<Integer> to help deal with the consequences of IntegerProperty not being a subtype of Property<Integer>.
    static Var<Long>
    Var.longVar(javafx.beans.property.LongProperty p)
    Converts LongProperty to Var<Long> to help deal with the consequences of LongProperty not being a subtype of Property<Long>.
    default <U> Var<U>
    Var.mapBidirectional(Function<? super T, ? extends U> f, Function<? super U, ? extends T> g)
     
    static <T,U> Var<U>
    Var.mapBidirectional(javafx.beans.property.Property<T> src, Function<? super T, ? extends U> f, Function<? super U, ? extends T> g)
     
    static <T> Var<T>
    Var.newSimpleVar(T initialValue)
     
    default <U> Var<U>
    Val.selectVar(Function<? super T, ? extends javafx.beans.property.Property<U>> f)
    Similar to Val.flatMap(Function), except the returned Val is also a Var.
    default <U> Var<U>
    Val.selectVar(Function<? super T, ? extends javafx.beans.property.Property<U>> f, U resetToOnUnbind)
     
    static <T,U> Var<U>
    Val.selectVar(javafx.beans.value.ObservableValue<T> src, Function<? super T, ? extends javafx.beans.property.Property<U>> f)
     
    static <T,U> Var<U>
    Val.selectVar(javafx.beans.value.ObservableValue<T> src, Function<? super T, ? extends javafx.beans.property.Property<U>> f, U resetToOnUnbind)