Uses of Class
javafx.beans.binding.DoubleBinding
Package | Description |
---|---|
javafx.beans.binding |
Provides classes that create and operate on a
Binding
that calculates a value that depends on one or more sources. |
-
Uses of DoubleBinding in javafx.beans.binding
Methods in javafx.beans.binding that return DoubleBinding Modifier and Type Method Description static DoubleBinding
Bindings. add(double op1, ObservableNumberValue op2)
Creates a newDoubleBinding
that calculates the sum of the value of aObservableNumberValue
and a constant value.static DoubleBinding
Bindings. add(ObservableNumberValue op1, double op2)
Creates a newDoubleBinding
that calculates the sum of the value of aObservableNumberValue
and a constant value.DoubleBinding
DoubleExpression. add(double other)
DoubleBinding
DoubleExpression. add(float other)
DoubleBinding
DoubleExpression. add(int other)
DoubleBinding
DoubleExpression. add(long other)
DoubleBinding
DoubleExpression. add(ObservableNumberValue other)
DoubleBinding
FloatExpression. add(double other)
DoubleBinding
IntegerExpression. add(double other)
DoubleBinding
LongExpression. add(double other)
static DoubleBinding
Bindings. createDoubleBinding(Callable<Double> func, Observable... dependencies)
Helper function to create a customDoubleBinding
.static DoubleBinding
Bindings. divide(double op1, ObservableNumberValue op2)
Creates a newDoubleBinding
that calculates the division of a constant value and the value of aObservableNumberValue
.static DoubleBinding
Bindings. divide(ObservableNumberValue op1, double op2)
Creates a newDoubleBinding
that calculates the division of the value of aObservableNumberValue
and a constant value.DoubleBinding
DoubleExpression. divide(double other)
DoubleBinding
DoubleExpression. divide(float other)
DoubleBinding
DoubleExpression. divide(int other)
DoubleBinding
DoubleExpression. divide(long other)
DoubleBinding
DoubleExpression. divide(ObservableNumberValue other)
DoubleBinding
FloatExpression. divide(double other)
DoubleBinding
IntegerExpression. divide(double other)
DoubleBinding
LongExpression. divide(double other)
static DoubleBinding
Bindings. doubleValueAt(ObservableList<? extends Number> op, int index)
Creates a newDoubleBinding
that contains the element of anObservableList
at the specified position.static DoubleBinding
Bindings. doubleValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
Creates a newDoubleBinding
that contains the element of anObservableList
at the specified position.static DoubleBinding
Bindings. doubleValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
Creates a newDoubleBinding
that contains the element of anObservableList
at the specified position.static <K> DoubleBinding
Bindings. doubleValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
Creates a newDoubleBinding
that contains the mapping of a specific key in anObservableMap
.static <K> DoubleBinding
Bindings. doubleValueAt(ObservableMap<K,? extends Number> op, K key)
Creates a newDoubleBinding
that contains the mapping of a specific key in anObservableMap
.static DoubleBinding
Bindings. max(double op1, ObservableNumberValue op2)
Creates a newDoubleBinding
that calculates the maximum of the value of aObservableNumberValue
and a constant value.static DoubleBinding
Bindings. max(ObservableNumberValue op1, double op2)
Creates a newDoubleBinding
that calculates the maximum of the value of aObservableNumberValue
and a constant value.static DoubleBinding
Bindings. min(double op1, ObservableNumberValue op2)
Creates a newDoubleBinding
that calculates the minimum of the value of aObservableNumberValue
and a constant value.static DoubleBinding
Bindings. min(ObservableNumberValue op1, double op2)
Creates a newDoubleBinding
that calculates the minimum of the value of aObservableNumberValue
and a constant value.static DoubleBinding
Bindings. multiply(double op1, ObservableNumberValue op2)
Creates a newDoubleBinding
that calculates the product of the value of aObservableNumberValue
and a constant value.static DoubleBinding
Bindings. multiply(ObservableNumberValue op1, double op2)
Creates a newDoubleBinding
that calculates the product of the value of aObservableNumberValue
and a constant value.DoubleBinding
DoubleExpression. multiply(double other)
DoubleBinding
DoubleExpression. multiply(float other)
DoubleBinding
DoubleExpression. multiply(int other)
DoubleBinding
DoubleExpression. multiply(long other)
DoubleBinding
DoubleExpression. multiply(ObservableNumberValue other)
DoubleBinding
FloatExpression. multiply(double other)
DoubleBinding
IntegerExpression. multiply(double other)
DoubleBinding
LongExpression. multiply(double other)
DoubleBinding
DoubleExpression. negate()
DoubleBinding
When.NumberConditionBuilder. otherwise(double otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.static DoubleBinding
Bindings. selectDouble(Object root, String... steps)
Creates a binding used to get a member, such asa.b.c
.static DoubleBinding
Bindings. selectDouble(ObservableValue<?> root, String... steps)
Creates a binding used to get a member, such asa.b.c
.static DoubleBinding
Bindings. subtract(double op1, ObservableNumberValue op2)
Creates a newDoubleBinding
that calculates the difference of a constant value and the value of aObservableNumberValue
.static DoubleBinding
Bindings. subtract(ObservableNumberValue op1, double op2)
Creates a newDoubleBinding
that calculates the difference of the value of aObservableNumberValue
and a constant value.DoubleBinding
DoubleExpression. subtract(double other)
DoubleBinding
DoubleExpression. subtract(float other)
DoubleBinding
DoubleExpression. subtract(int other)
DoubleBinding
DoubleExpression. subtract(long other)
DoubleBinding
DoubleExpression. subtract(ObservableNumberValue other)
DoubleBinding
FloatExpression. subtract(double other)
DoubleBinding
IntegerExpression. subtract(double other)
DoubleBinding
LongExpression. subtract(double other)