 All Superinterfaces:
Observable
,ObservableNumberValue
,ObservableValue<Number>
 All Known Subinterfaces:
NumberBinding
 All Known Implementing Classes:
DoubleBinding
,DoubleExpression
,DoubleProperty
,DoublePropertyBase
,FloatBinding
,FloatExpression
,FloatProperty
,FloatPropertyBase
,IntegerBinding
,IntegerExpression
,IntegerProperty
,IntegerPropertyBase
,JavaBeanDoubleProperty
,JavaBeanFloatProperty
,JavaBeanIntegerProperty
,JavaBeanLongProperty
,LongBinding
,LongExpression
,LongProperty
,LongPropertyBase
,NumberExpressionBase
,ReadOnlyDoubleProperty
,ReadOnlyDoublePropertyBase
,ReadOnlyDoubleWrapper
,ReadOnlyFloatProperty
,ReadOnlyFloatPropertyBase
,ReadOnlyFloatWrapper
,ReadOnlyIntegerProperty
,ReadOnlyIntegerPropertyBase
,ReadOnlyIntegerWrapper
,ReadOnlyJavaBeanDoubleProperty
,ReadOnlyJavaBeanFloatProperty
,ReadOnlyJavaBeanIntegerProperty
,ReadOnlyJavaBeanLongProperty
,ReadOnlyLongProperty
,ReadOnlyLongPropertyBase
,ReadOnlyLongWrapper
,SimpleDoubleProperty
,SimpleFloatProperty
,SimpleIntegerProperty
,SimpleLongProperty
,SimpleStyleableDoubleProperty
,SimpleStyleableFloatProperty
,SimpleStyleableIntegerProperty
,SimpleStyleableLongProperty
,StyleableDoubleProperty
,StyleableFloatProperty
,StyleableIntegerProperty
,StyleableLongProperty
public interface NumberExpression extends ObservableNumberValue
NumberExpression
is an
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.
 If one of the operands is a double, the result is a double.
 If not and one of the operands is a float, the result is a float.
 If not and one of the operands is a long, the result is a long.
 The result is an integer otherwise.
To be able to deal with an unspecified return type, two interfaces
NumberExpression
and its counterpart
NumberBinding
were introduced. That means if the
return type is specified as NumberBinding
, the method will either
return a DoubleBinding
,
FloatBinding
,
LongBinding
or
IntegerBinding
, depending on the types of the
operands.
The API tries to do its best in determining the correct return type, e.g.
combining a ObservableNumberValue
with a primitive
double will always result in a DoubleBinding
. In
cases where the return type is not known by the API, it is the responsibility
of the developer to call the correct getter (ObservableNumberValue.intValue()
etc.). If
the internal representation does not match the type of the getter, a standard
cast is done.
 Since:
 JavaFX 2.0

Method Summary
Modifier and Type Method Description NumberBinding
add(double other)
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and a constant value.NumberBinding
add(float other)
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and a constant value.NumberBinding
add(int other)
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and a constant value.NumberBinding
add(long other)
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and a constant value.NumberBinding
add(ObservableNumberValue other)
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and anotherObservableNumberValue
.StringBinding
asString()
StringBinding
asString(String format)
StringBinding
asString(Locale locale, String format)
NumberBinding
divide(double other)
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and a constant value.NumberBinding
divide(float other)
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and a constant value.NumberBinding
divide(int other)
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and a constant value.NumberBinding
divide(long other)
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and a constant value.NumberBinding
divide(ObservableNumberValue other)
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and anotherObservableNumberValue
.BooleanBinding
greaterThan(double other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than a constant value.BooleanBinding
greaterThan(float other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than a constant value.BooleanBinding
greaterThan(int other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than a constant value.BooleanBinding
greaterThan(long other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than a constant value.BooleanBinding
greaterThan(ObservableNumberValue other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than anotherObservableNumberValue
.BooleanBinding
greaterThanOrEqualTo(double other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to a constant value.BooleanBinding
greaterThanOrEqualTo(float other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to a constant value.BooleanBinding
greaterThanOrEqualTo(int other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to a constant value.BooleanBinding
greaterThanOrEqualTo(long other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to a constant value.BooleanBinding
greaterThanOrEqualTo(ObservableNumberValue other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to anotherObservableNumberValue
.BooleanBinding
isEqualTo(double other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value (with a tolerance).BooleanBinding
isEqualTo(float other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value (with a tolerance).BooleanBinding
isEqualTo(int other)
BooleanBinding
isEqualTo(int other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value (with a tolerance).BooleanBinding
isEqualTo(long other)
BooleanBinding
isEqualTo(long other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value (with a tolerance).BooleanBinding
isEqualTo(ObservableNumberValue other)
BooleanBinding
isEqualTo(ObservableNumberValue other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if this and anotherObservableNumberValue
are equal (with a tolerance).BooleanBinding
isNotEqualTo(double other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value (with a tolerance).BooleanBinding
isNotEqualTo(float other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value (with a tolerance).BooleanBinding
isNotEqualTo(int other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value.BooleanBinding
isNotEqualTo(int other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value (with a tolerance).BooleanBinding
isNotEqualTo(long other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value.BooleanBinding
isNotEqualTo(long other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value (with a tolerance).BooleanBinding
isNotEqualTo(ObservableNumberValue other)
Creates a newBooleanBinding
that holdstrue
if this and anotherObservableNumberValue
are not equal.BooleanBinding
isNotEqualTo(ObservableNumberValue other, double epsilon)
Creates a newBooleanBinding
that holdstrue
if this and anotherObservableNumberValue
are not equal (with a tolerance).BooleanBinding
lessThan(double other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than a constant value.BooleanBinding
lessThan(float other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than a constant value.BooleanBinding
lessThan(int other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than a constant value.BooleanBinding
lessThan(long other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than a constant value.BooleanBinding
lessThan(ObservableNumberValue other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than anotherObservableNumberValue
.BooleanBinding
lessThanOrEqualTo(double other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to a constant value.BooleanBinding
lessThanOrEqualTo(float other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to a constant value.BooleanBinding
lessThanOrEqualTo(int other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to a constant value.BooleanBinding
lessThanOrEqualTo(long other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to a constant value.BooleanBinding
lessThanOrEqualTo(ObservableNumberValue other)
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to anotherObservableNumberValue
.NumberBinding
multiply(double other)
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and a constant value.NumberBinding
multiply(float other)
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and a constant value.NumberBinding
multiply(int other)
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and a constant value.NumberBinding
multiply(long other)
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and a constant value.NumberBinding
multiply(ObservableNumberValue other)
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and anotherObservableNumberValue
.NumberBinding
negate()
Creates a newNumberBinding
that calculates the negation ofNumberExpression
.NumberBinding
subtract(double other)
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and a constant value.NumberBinding
subtract(float other)
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and a constant value.NumberBinding
subtract(int other)
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and a constant value.NumberBinding
subtract(long other)
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and a constant value.NumberBinding
subtract(ObservableNumberValue other)
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and anotherObservableNumberValue
.Methods inherited from interface javafx.beans.Observable
addListener, removeListener
Methods inherited from interface javafx.beans.value.ObservableNumberValue
doubleValue, floatValue, intValue, longValue
Methods inherited from interface javafx.beans.value.ObservableValue
addListener, getValue, removeListener

Method Details

negate
NumberBinding negate()Creates a newNumberBinding
that calculates the negation ofNumberExpression
. Returns:
 the new
NumberBinding

add
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and anotherObservableNumberValue
. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
NumberBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

add
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

add
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

add
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

add
Creates a newNumberBinding
that calculates the sum of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

subtract
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and anotherObservableNumberValue
. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
NumberBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

subtract
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

subtract
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

subtract
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

subtract
Creates a newNumberBinding
that calculates the difference of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

multiply
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and anotherObservableNumberValue
. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
NumberBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

multiply
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

multiply
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

multiply
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

multiply
Creates a newNumberBinding
that calculates the product of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

divide
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and anotherObservableNumberValue
. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
NumberBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

divide
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

divide
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

divide
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

divide
Creates a newNumberBinding
that calculates the division of thisNumberExpression
and a constant value. Parameters:
other
 the constant value Returns:
 the new
NumberBinding

isEqualTo
Creates a newBooleanBinding
that holdstrue
if this and anotherObservableNumberValue
are equal.When comparing floatingpoint numbers it is recommended to use the
isEqualTo()
method that allows a small tolerance. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
BooleanBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

isEqualTo
Creates a newBooleanBinding
that holdstrue
if this and anotherObservableNumberValue
are equal (with a tolerance).Two operands
a
andb
are considered equal ifMath.abs(ab) <= epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers because of roundingerrors.
 Parameters:
other
 the secondObservableNumberValue
epsilon
 the tolerance Returns:
 the new
BooleanBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

isEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value (with a tolerance).Two operands
a
andb
are considered equal ifMath.abs(ab) <= epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers because of roundingerrors.
 Parameters:
other
 the constant valueepsilon
 the permitted tolerance Returns:
 the new
BooleanBinding

isEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value (with a tolerance).Two operands
a
andb
are considered equal ifMath.abs(ab) <= epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers because of roundingerrors.
 Parameters:
other
 the constant valueepsilon
 the permitted tolerance Returns:
 the new
BooleanBinding

isEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value.When comparing floatingpoint numbers it is recommended to use the
isEqualTo()
method that allows a small tolerance. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

isEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value (with a tolerance).Two operands
a
andb
are considered equal ifMath.abs(ab) <= epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers because of roundingerrors.
 Parameters:
other
 the constant valueepsilon
 the permitted tolerance Returns:
 the new
BooleanBinding

isEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value.When comparing floatingpoint numbers it is recommended to use the
isEqualTo()
method that allows a small tolerance. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

isEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is equal to a constant value (with a tolerance).Two operands
a
andb
are considered equal ifMath.abs(ab) <= epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers.
 Parameters:
other
 the constant valueepsilon
 the permitted tolerance Returns:
 the new
BooleanBinding

isNotEqualTo
Creates a newBooleanBinding
that holdstrue
if this and anotherObservableNumberValue
are not equal.When comparing floatingpoint numbers it is recommended to use the
isNotEqualTo()
method that allows a small tolerance. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
BooleanBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

isNotEqualTo
Creates a newBooleanBinding
that holdstrue
if this and anotherObservableNumberValue
are not equal (with a tolerance).Two operands
a
andb
are considered not equal ifMath.abs(ab) > epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers because of roundingerrors.
 Parameters:
other
 the secondObservableNumberValue
epsilon
 the permitted tolerance Returns:
 the new
BooleanBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

isNotEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value (with a tolerance).Two operands
a
andb
are considered not equal ifMath.abs(ab) > epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers.
 Parameters:
other
 the constant valueepsilon
 the permitted tolerance Returns:
 the new
BooleanBinding

isNotEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value (with a tolerance).Two operands
a
andb
are considered not equal ifMath.abs(ab) > epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers.
 Parameters:
other
 the constant valueepsilon
 the permitted tolerance Returns:
 the new
BooleanBinding

isNotEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value.When comparing floatingpoint numbers it is recommended to use the
isNotEqualTo()
method that allows a small tolerance. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

isNotEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value (with a tolerance).Two operands
a
andb
are considered not equal ifMath.abs(ab) > epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers.
 Parameters:
other
 the constant valueepsilon
 the permitted tolerance Returns:
 the new
BooleanBinding

isNotEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value.When comparing floatingpoint numbers it is recommended to use the
isNotEqualTo()
method that allows a small tolerance. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

isNotEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is not equal to a constant value (with a tolerance).Two operands
a
andb
are considered not equal ifMath.abs(ab) > epsilon
.Allowing a small tolerance is recommended when comparing floatingpoint numbers.
 Parameters:
other
 the constant valueepsilon
 the permitted tolerance Returns:
 the new
BooleanBinding

greaterThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than anotherObservableNumberValue
. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
BooleanBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

greaterThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

greaterThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

greaterThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

greaterThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

lessThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than anotherObservableNumberValue
. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
BooleanBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

lessThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

lessThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

lessThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

lessThan
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is lesser than a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

greaterThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to anotherObservableNumberValue
. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
BooleanBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

greaterThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

greaterThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

greaterThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

greaterThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is greater than or equal to a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

lessThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to anotherObservableNumberValue
. Parameters:
other
 the secondObservableNumberValue
 Returns:
 the new
BooleanBinding
 Throws:
NullPointerException
 if the otherObservableNumberValue
isnull

lessThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

lessThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

lessThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

lessThanOrEqualTo
Creates a newBooleanBinding
that holdstrue
if thisNumberExpression
is less than or equal to a constant value. Parameters:
other
 the constant value Returns:
 the new
BooleanBinding

asString
StringBinding asString()Creates aStringBinding
that holds the value of theNumberExpression
turned into aString
. If the value of thisNumberExpression
changes, the value of theStringBinding
will be updated automatically.The conversion is done without any formatting applied.
 Returns:
 the new
StringBinding

asString
Creates aStringBinding
that holds the value of theNumberExpression
turned into aString
. If the value of thisNumberExpression
changes, the value of theStringBinding
will be updated automatically.The result is formatted according to the formatting
String
. Seejava.util.Formatter
for formatting rules. Parameters:
format
 the formattingString
 Returns:
 the new
StringBinding

asString
Creates aStringBinding
that holds the value of theNumberExpression
turned into aString
. If the value of thisNumberExpression
changes, the value of theStringBinding
will be updated automatically.The result is formatted according to the formatting
String
and the passed inLocale
. Seejava.util.Formatter
for formatting rules. Seejava.util.Locale
for details onLocale
. Parameters:
locale
 the Locale to be usedformat
 the formattingString
 Returns:
 the new
StringBinding
