DoubleExpression is an
javafx.beans.value.ObservableDoubleValue plus additional convenience
methods to generate bindings in a fluent style.
A concrete sub-class of DoubleExpression 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 ObservableNumberValue other)
Overrides javafx. Implements javafx. Creates a new |
| public DoubleBinding | add(final double other)
Implements javafx. Creates a new |
| public DoubleBinding | add(final float other)
Implements javafx. Creates a new |
| public DoubleBinding | add(final long other)
Implements javafx. Creates a new |
| public DoubleBinding | add(final int other)
Implements javafx. Creates a new |
| public ObjectExpression | Returns: the newObjectExpressionCreates an |
| public DoubleBinding | divide(final ObservableNumberValue other)
Overrides javafx. Implements javafx. Creates a new |
| public DoubleBinding | divide(final double other)
Implements javafx. Creates a new |
| public DoubleBinding | divide(final float other)
Implements javafx. Creates a new |
| public DoubleBinding | divide(final long other)
Implements javafx. Creates a new |
| public DoubleBinding | divide(final int other)
Implements javafx. Creates a new |
| public static DoubleExpression | Returns: ADoubleExpression that wraps the
ObservableDoubleValue if necessaryThe source value)ObservableDoubleValueReturns a |
| public static < The type of Number to be wrapped T extends Number> DoubleExpression | Returns: ADoubleExpression that wraps the
ObservableValue if necessaryThe source value)ObservableValueReturns a |
| public double | doubleValue()
Implements javafx. Returns the value of this |
| public float | floatValue()
Implements javafx. Returns the value of this |
| public Double | 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 ObservableNumberValue other)
Overrides javafx. Implements javafx. Creates a new |
| public DoubleBinding | multiply(final double other)
Implements javafx. Creates a new |
| public DoubleBinding | multiply(final float other)
Implements javafx. Creates a new |
| public DoubleBinding | multiply(final long other)
Implements javafx. Creates a new |
| public DoubleBinding | multiply(final int other)
Implements javafx. Creates a new |
| public DoubleBinding | negate()
Implements javafx. Creates a new |
| public DoubleBinding | subtract(final ObservableNumberValue other)
Overrides javafx. Implements javafx. Creates a new |
| public DoubleBinding | subtract(final double other)
Implements javafx. Creates a new |
| public DoubleBinding | subtract(final float other)
Implements javafx. Creates a new |
| public DoubleBinding | subtract(final long other)
Implements javafx. Creates a new |
| public DoubleBinding | subtract(final int other)
Implements javafx. Creates a new |
| DoubleExpression | back to summary |
|---|---|
| public DoubleExpression() Creates a default | |
| add | back to summary |
|---|---|
| public DoubleBinding add(final ObservableNumberValue other) Overrides javafx. Implements javafx. Doc from javafx. Creates a new
| |
| add | back to summary |
|---|---|
| public DoubleBinding add(final double other) Implements javafx. Doc from javafx. Creates a new
| |
| add | back to summary |
|---|---|
| public DoubleBinding add(final float other) Implements javafx. Doc from javafx. Creates a new
| |
| add | back to summary |
|---|---|
| public DoubleBinding add(final long other) Implements javafx. Doc from javafx. Creates a new
| |
| add | back to summary |
|---|---|
| public DoubleBinding 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 ObservableNumberValue other) Overrides javafx. Implements javafx. Doc from javafx. Creates a new
| |
| divide | back to summary |
|---|---|
| public DoubleBinding divide(final double other) Implements javafx. Doc from javafx. Creates a new
| |
| divide | back to summary |
|---|---|
| public DoubleBinding divide(final float other) Implements javafx. Doc from javafx. Creates a new
| |
| divide | back to summary |
|---|---|
| public DoubleBinding divide(final long other) Implements javafx. Doc from javafx. Creates a new
| |
| divide | back to summary |
|---|---|
| public DoubleBinding divide(final int other) Implements javafx. Doc from javafx. Creates a new
| |
| doubleExpression | back to summary |
|---|---|
| public static DoubleExpression doubleExpression(final ObservableDoubleValue value) Returns a
| |
| doubleExpression | back to summary |
|---|---|
| public static <T extends Number> DoubleExpression doubleExpression(final ObservableValue<T> value) Returns a Note this method can be used to convert an Note: null values will be interpreted as 0.0DoubleProperty doubleProperty = new SimpleDoubleProperty(1.0); ObjectProperty<Double> objectProperty = new SimpleObjectProperty<>(2.0); BooleanBinding binding = doubleProperty.greaterThan(DoubleExpression.doubleExpression(objectProperty));
| |
| doubleValue | back to summary |
|---|---|
| public double doubleValue() Implements javafx. Doc from javafx. Returns the value of this
| |
| floatValue | back to summary |
|---|---|
| public float floatValue() Implements javafx. Doc from javafx. Returns the value of this
| |
| getValue | back to summary |
|---|---|
| public Double 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 ObservableNumberValue other) Overrides javafx. Implements javafx. Doc from javafx. Creates a new
| |
| multiply | back to summary |
|---|---|
| public DoubleBinding multiply(final double other) Implements javafx. Doc from javafx. Creates a new
| |
| multiply | back to summary |
|---|---|
| public DoubleBinding multiply(final float other) Implements javafx. Doc from javafx. Creates a new
| |
| multiply | back to summary |
|---|---|
| public DoubleBinding multiply(final long other) Implements javafx. Doc from javafx. Creates a new
| |
| multiply | back to summary |
|---|---|
| public DoubleBinding multiply(final int other) Implements javafx. Doc from javafx. Creates a new
| |
| negate | back to summary |
|---|---|
| public DoubleBinding negate() Implements javafx. Doc from javafx. Creates a new
| |
| subtract | back to summary |
|---|---|
| public DoubleBinding subtract(final ObservableNumberValue other) Overrides javafx. 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 DoubleBinding subtract(final float other) Implements javafx. Doc from javafx. Creates a new
| |
| subtract | back to summary |
|---|---|
| public DoubleBinding subtract(final long other) Implements javafx. Doc from javafx. Creates a new
| |
| subtract | back to summary |
|---|---|
| public DoubleBinding subtract(final int other) Implements javafx. Doc from javafx. Creates a new
| |