NumberExpression is an
javafx.beans.value.ObservableNumberValue plus additional convenience
methods to generate bindings in a fluent style.
This API allows to mix types when defining arithmetic operations. The type of the result is defined by the same rules as in the Java Language.
To be able to deal with an unspecified return type, two interfaces
NumberExpression and its counterpart
javafx. were introduced. That means if the
return type is specified as NumberBinding, the method will either
return a javafx.,
javafx.,
javafx. or
javafx., depending on the types of the
operands.
The API tries to do its best in determining the correct return type, e.g.
combining a javafx. with a primitive
double will always result in a javafx.. In
cases where the return type is not known by the API, it is the responsibility
of the developer to call the correct getter (intValue() etc.). If
the internal representation does not match the type of the getter, a standard
cast is done.
| Modifier and Type | Method and Description |
|---|---|
| public NumberBinding | Returns: the newNumberBindingthe second other)ObservableNumberValueCreates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public StringBinding | Returns: the newStringBindingCreates a |
| public StringBinding | Returns: the newStringBindingthe formatting format)StringCreates a |
| public StringBinding | Returns: the newStringBindingthe Locale to be used locale, String the formatting format)StringCreates a |
| public NumberBinding | Returns: the newNumberBindingthe second other)ObservableNumberValueCreates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe second other)ObservableNumberValueCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe second other)ObservableNumberValueCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe second other)ObservableNumberValueCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe second other, double ObservableNumberValuethe tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other, double the permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other, double the permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other, double the permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other, double the permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe second other)ObservableNumberValueCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe second other, double ObservableNumberValuethe permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other, double the permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other, double the permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other, double the permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other, double the permitted tolerance epsilon)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe second other)ObservableNumberValueCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe second other)ObservableNumberValueCreates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public BooleanBinding | Returns: the newBooleanBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe second other)ObservableNumberValueCreates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingCreates a new |
| public NumberBinding | Returns: the newNumberBindingthe second other)ObservableNumberValueCreates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |
| public NumberBinding | Returns: the newNumberBindingthe constant value other)Creates a new |