default Var<T> |
Val.asVar(java.util.function.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<java.lang.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<java.lang.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,
java.util.function.Consumer<T> setValue) |
Creates a Var from ObservableValue, using the
given setValue function in place of the WritableValue.setValue(Object)
method.
|
static Var<java.lang.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<java.lang.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(java.util.function.Function<? super T,? extends U> f,
java.util.function.Function<? super U,? extends T> g) |
|
static <T,U> Var<U> |
Var.mapBidirectional(javafx.beans.property.Property<T> src,
java.util.function.Function<? super T,? extends U> f,
java.util.function.Function<? super U,? extends T> g) |
|
static <T> Var<T> |
Var.newSimpleVar(T initialValue) |
|
default <U> Var<U> |
Val.selectVar(java.util.function.Function<? super T,? extends javafx.beans.property.Property<U>> f) |
|
default <U> Var<U> |
Val.selectVar(java.util.function.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,
java.util.function.Function<? super T,? extends javafx.beans.property.Property<U>> f) |
|
static <T,U> Var<U> |
Val.selectVar(javafx.beans.value.ObservableValue<T> src,
java.util.function.Function<? super T,? extends javafx.beans.property.Property<U>> f,
U resetToOnUnbind) |
|