Uses of Class
javafx.beans.binding.DoubleBinding
Packages that use DoubleBinding
Package
Description
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 DoubleBindingModifier and TypeMethodDescriptionstatic 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.DoubleExpression.add(double other)
DoubleExpression.add(float other)
DoubleExpression.add(int other)
DoubleExpression.add(long other)
DoubleExpression.add(ObservableNumberValue other)
FloatExpression.add(double other)
IntegerExpression.add(double other)
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.DoubleExpression.divide(double other)
DoubleExpression.divide(float other)
DoubleExpression.divide(int other)
DoubleExpression.divide(long other)
DoubleExpression.divide(ObservableNumberValue other)
FloatExpression.divide(double other)
IntegerExpression.divide(double other)
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.DoubleExpression.multiply(double other)
DoubleExpression.multiply(float other)
DoubleExpression.multiply(int other)
DoubleExpression.multiply(long other)
DoubleExpression.multiply(ObservableNumberValue other)
FloatExpression.multiply(double other)
IntegerExpression.multiply(double other)
LongExpression.multiply(double other)
DoubleExpression.negate()
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.DoubleExpression.subtract(double other)
DoubleExpression.subtract(float other)
DoubleExpression.subtract(int other)
DoubleExpression.subtract(long other)
DoubleExpression.subtract(ObservableNumberValue other)
FloatExpression.subtract(double other)
IntegerExpression.subtract(double other)
LongExpression.subtract(double other)