FloatExpression is an
javafx.beans.value.ObservableFloatValue plus additional convenience
methods to generate bindings in a fluent style.
A concrete sub-class of FloatExpression has to implement the method
javafx., which provides the
actual value of this expression.
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public DoubleBinding | add(final double
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | add(final float
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | add(final long
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | add(final int
the constant value other)Implements javafx. Creates a new |
| public ObjectExpression | Returns: the newObjectExpressionCreates an |
| public DoubleBinding | divide(final double
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | divide(final float
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | divide(final long
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | divide(final int
the constant value other)Implements javafx. Creates a new |
| public double | doubleValue()
Implements javafx. Returns the value of this |
| public static FloatExpression | Returns: AFloatExpression that wraps the
ObservableFloatValue if necessaryThe source value)ObservableFloatValueReturns a |
| public static < The type of Number to be wrapped T extends Number> FloatExpression | Returns: AFloatExpression that wraps the
ObservableValue if necessaryThe source value)ObservableValueReturns a |
| public float | floatValue()
Implements javafx. Returns the value of this |
| public Float | getValue()
Implements javafx. Returns the current value of this |
| public int | intValue()
Implements javafx. Returns the value of this |
| public long | longValue()
Implements javafx. Returns the value of this |
| public DoubleBinding | multiply(final double
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | multiply(final float
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | multiply(final long
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | multiply(final int
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | negate()
Implements javafx. Creates a new |
| public DoubleBinding | subtract(final double
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | subtract(final float
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | subtract(final long
the constant value other)Implements javafx. Creates a new |
| public FloatBinding | subtract(final int
the constant value other)Implements javafx. Creates a new |
| FloatExpression | back to summary |
|---|---|
| public FloatExpression() Creates a default | |
| add | back to summary |
|---|---|
| public DoubleBinding add(final double other) Implements javafx. Doc from javafx. Creates a new
| |
| add | back to summary |
|---|---|
| public FloatBinding add(final float other) Implements javafx. Doc from javafx. Creates a new
| |
| add | back to summary |
|---|---|
| public FloatBinding add(final long other) Implements javafx. Doc from javafx. Creates a new
| |
| add | back to summary |
|---|---|
| public FloatBinding add(final int other) Implements javafx. Doc from javafx. Creates a new
| |
| asObject | back to summary |
|---|---|
| public ObjectExpression Creates an
| |
| divide | back to summary |
|---|---|
| public DoubleBinding divide(final double other) Implements javafx. Doc from javafx. Creates a new
| |
| divide | back to summary |
|---|---|
| public FloatBinding divide(final float other) Implements javafx. Doc from javafx. Creates a new
| |
| divide | back to summary |
|---|---|
| public FloatBinding divide(final long other) Implements javafx. Doc from javafx. Creates a new
| |
| divide | back to summary |
|---|---|
| public FloatBinding divide(final int other) Implements javafx. Doc from javafx. Creates a new
| |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Implements javafx. Doc from javafx. Returns the value of this
| |
| floatExpression | back to summary |
|---|---|
| public static FloatExpression floatExpression(final ObservableFloatValue value) Returns a
| |
| floatExpression | back to summary |
|---|---|
| public static <T extends Number> FloatExpression floatExpression(final ObservableValue<T> value) Returns a Note this method can be used to convert an Note: null values will be interpreted as 0fFloatProperty floatProperty = new SimpleFloatProperty(1.0f); ObjectProperty<Float> objectProperty = new SimpleObjectProperty<>(2.0f); BooleanBinding binding = floatProperty.greaterThan(FloatExpression.floatExpression(objectProperty));
| |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements javafx. Doc from javafx. Returns the value of this
| |
| getValue | back to summary |
|---|---|
| public Float getValue() Implements javafx. Doc from javafx. Returns the current value of this | |
| intValue | back to summary |
|---|---|
| public int intValue() Implements javafx. Doc from javafx. Returns the value of this
| |
| longValue | back to summary |
|---|---|
| public long longValue() Implements javafx. Doc from javafx. Returns the value of this
| |
| multiply | back to summary |
|---|---|
| public DoubleBinding multiply(final double other) Implements javafx. Doc from javafx. Creates a new
| |
| multiply | back to summary |
|---|---|
| public FloatBinding multiply(final float other) Implements javafx. Doc from javafx. Creates a new
| |
| multiply | back to summary |
|---|---|
| public FloatBinding multiply(final long other) Implements javafx. Doc from javafx. Creates a new
| |
| multiply | back to summary |
|---|---|
| public FloatBinding multiply(final int other) Implements javafx. Doc from javafx. Creates a new
| |
| negate | back to summary |
|---|---|
| public FloatBinding negate() Implements javafx. Doc from javafx. Creates a new
| |
| subtract | back to summary |
|---|---|
| public DoubleBinding subtract(final double other) Implements javafx. Doc from javafx. Creates a new
| |
| subtract | back to summary |
|---|---|
| public FloatBinding subtract(final float other) Implements javafx. Doc from javafx. Creates a new
| |
| subtract | back to summary |
|---|---|
| public FloatBinding subtract(final long other) Implements javafx. Doc from javafx. Creates a new
| |
| subtract | back to summary |
|---|---|
| public FloatBinding subtract(final int other) Implements javafx. Doc from javafx. Creates a new
| |