@Override
public NumberBinding add (ObservableNumberValue other)
@Override
public StringBinding asString ()
Implementing: javafx.beans.binding.NumberExpression
Creates a javafx.beans.binding.StringBinding that holds the value
of the NumberExpression turned into a String. If the
value of this NumberExpression changes, the value of the
StringBinding will be updated automatically.
The conversion is done without any formatting applied.
Returns: the new StringBinding
@Override
public StringBinding asString (String format)
Implementing: javafx.beans.binding.NumberExpression
Creates a javafx.beans.binding.StringBinding that holds the value
of the NumberExpression turned into a String. If the
value of this NumberExpression changes, the value of the
StringBinding will be updated automatically.
The result is formatted according to the formatting String. See
java.util.Formatter for formatting rules.
Returns: the new StringBinding
@Override
public StringBinding asString (Locale locale, String format)
Implementing: javafx.beans.binding.NumberExpression
Creates a javafx.beans.binding.StringBinding that holds the value
of the NumberExpression turned into a String. If the
value of this NumberExpression changes, the value of the
StringBinding will be updated automatically.
The result is formatted according to the formatting String and
the passed in Locale. See java.util.Formatter for
formatting rules. See java.util.Locale for details on
Locale.
Parameters:
locale | | the Locale to be used |
Returns: the new StringBinding
@Override
public NumberBinding divide (ObservableNumberValue other)
@Override
public BooleanBinding greaterThan (ObservableNumberValue other)
@Override public
BooleanBinding greaterThan (
double other)
@Override public
BooleanBinding greaterThan (
float other)
@Override public
BooleanBinding greaterThan (
long other)
@Override public
BooleanBinding greaterThan (
int other)
@Override
public BooleanBinding greaterThanOrEqualTo (ObservableNumberValue other)
@Override public
BooleanBinding greaterThanOrEqualTo (
double other)
@Override public
BooleanBinding greaterThanOrEqualTo (
float other)
@Override public
BooleanBinding greaterThanOrEqualTo (
long other)
@Override public
BooleanBinding greaterThanOrEqualTo (
int other)
@Override
public BooleanBinding isEqualTo (ObservableNumberValue other)
@Override public
BooleanBinding isEqualTo (
long other)
@Override public
BooleanBinding isEqualTo (
int other)
@Override public
BooleanBinding isEqualTo (
ObservableNumberValue other,
double epsilon)
@Override public
BooleanBinding isEqualTo (
double other,
double epsilon)
Implementing: javafx.beans.binding.NumberExpression
Creates a new javafx.beans.binding.BooleanBinding that holds true
if this NumberExpression is equal to a constant value (with a
tolerance).
Two operands a and b are considered equal if
Math.abs(a-b) <= epsilon.
Allowing a small tolerance is recommended when comparing floating-point
numbers because of rounding-errors.
Returns: the new BooleanBinding
@Override public
BooleanBinding isEqualTo (
float other,
double epsilon)
Implementing: javafx.beans.binding.NumberExpression
Creates a new javafx.beans.binding.BooleanBinding that holds true
if this NumberExpression is equal to a constant value (with a
tolerance).
Two operands a and b are considered equal if
Math.abs(a-b) <= epsilon.
Allowing a small tolerance is recommended when comparing floating-point
numbers because of rounding-errors.
Returns: the new BooleanBinding
@Override public
BooleanBinding isEqualTo (
long other,
double epsilon)
Implementing: javafx.beans.binding.NumberExpression
Creates a new javafx.beans.binding.BooleanBinding that holds true
if this NumberExpression is equal to a constant value (with a
tolerance).
Two operands a and b are considered equal if
Math.abs(a-b) <= epsilon.
Allowing a small tolerance is recommended when comparing floating-point
numbers because of rounding-errors.
Returns: the new BooleanBinding
@Override public
BooleanBinding isEqualTo (
int other,
double epsilon)
Implementing: javafx.beans.binding.NumberExpression
Creates a new javafx.beans.binding.BooleanBinding that holds true
if this NumberExpression is equal to a constant value (with a
tolerance).
Two operands a and b are considered equal if
Math.abs(a-b) <= epsilon.
Allowing a small tolerance is recommended when comparing floating-point
numbers.
Returns: the new BooleanBinding
@Override
public BooleanBinding isNotEqualTo (ObservableNumberValue other)
@Override public
BooleanBinding isNotEqualTo (
long other)
@Override public
BooleanBinding isNotEqualTo (
int other)
@Override public
BooleanBinding isNotEqualTo (
ObservableNumberValue other,
double epsilon)
@Override public
BooleanBinding isNotEqualTo (
double other,
double epsilon)
Implementing: javafx.beans.binding.NumberExpression
Creates a new javafx.beans.binding.BooleanBinding that holds true
if this NumberExpression is not equal to a constant value (with a
tolerance).
Two operands a and b are considered not equal if
Math.abs(a-b) > epsilon.
Allowing a small tolerance is recommended when comparing floating-point
numbers.
Returns: the new BooleanBinding
@Override public
BooleanBinding isNotEqualTo (
float other,
double epsilon)
Implementing: javafx.beans.binding.NumberExpression
Creates a new javafx.beans.binding.BooleanBinding that holds true
if this NumberExpression is not equal to a constant value (with a
tolerance).
Two operands a and b are considered not equal if
Math.abs(a-b) > epsilon.
Allowing a small tolerance is recommended when comparing floating-point
numbers.
Returns: the new BooleanBinding
@Override public
BooleanBinding isNotEqualTo (
long other,
double epsilon)
Implementing: javafx.beans.binding.NumberExpression
Creates a new javafx.beans.binding.BooleanBinding that holds true
if this NumberExpression is not equal to a constant value (with a
tolerance).
Two operands a and b are considered not equal if
Math.abs(a-b) > epsilon.
Allowing a small tolerance is recommended when comparing floating-point
numbers.
Returns: the new BooleanBinding
@Override public
BooleanBinding isNotEqualTo (
int other,
double epsilon)
Implementing: javafx.beans.binding.NumberExpression
Creates a new javafx.beans.binding.BooleanBinding that holds true
if this NumberExpression is not equal to a constant value (with a
tolerance).
Two operands a and b are considered not equal if
Math.abs(a-b) > epsilon.
Allowing a small tolerance is recommended when comparing floating-point
numbers.
Returns: the new BooleanBinding
@Override
public BooleanBinding lessThan (ObservableNumberValue other)
@Override public
BooleanBinding lessThan (
double other)
@Override public
BooleanBinding lessThan (
float other)
@Override public
BooleanBinding lessThan (
long other)
@Override public
BooleanBinding lessThan (
int other)
@Override
public BooleanBinding lessThanOrEqualTo (ObservableNumberValue other)
@Override public
BooleanBinding lessThanOrEqualTo (
double other)
@Override public
BooleanBinding lessThanOrEqualTo (
float other)
@Override public
BooleanBinding lessThanOrEqualTo (
long other)
@Override public
BooleanBinding lessThanOrEqualTo (
int other)
@Override
public NumberBinding multiply (ObservableNumberValue other)
@Override
public NumberBinding subtract (ObservableNumberValue other)