- 
- 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 NumberExpressionis anObservableNumberValueplus 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 NumberExpressionand its counterpartNumberBindingwere introduced. That means if the return type is specified asNumberBinding, the method will either return aDoubleBinding,FloatBinding,LongBindingorIntegerBinding, depending on the types of the operands.The API tries to do its best in determining the correct return type, e.g. combining a ObservableNumberValuewith a primitive double will always result in aDoubleBinding. 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 SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description NumberBindingadd(double other)Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand a constant value.NumberBindingadd(float other)Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand a constant value.NumberBindingadd(int other)Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand a constant value.NumberBindingadd(long other)Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand a constant value.NumberBindingadd(ObservableNumberValue other)Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand anotherObservableNumberValue.StringBindingasString()StringBindingasString(String format)StringBindingasString(Locale locale, String format)NumberBindingdivide(double other)Creates a newNumberBindingthat calculates the division of thisNumberExpressionand a constant value.NumberBindingdivide(float other)Creates a newNumberBindingthat calculates the division of thisNumberExpressionand a constant value.NumberBindingdivide(int other)Creates a newNumberBindingthat calculates the division of thisNumberExpressionand a constant value.NumberBindingdivide(long other)Creates a newNumberBindingthat calculates the division of thisNumberExpressionand a constant value.NumberBindingdivide(ObservableNumberValue other)Creates a newNumberBindingthat calculates the division of thisNumberExpressionand anotherObservableNumberValue.BooleanBindinggreaterThan(double other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.BooleanBindinggreaterThan(float other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.BooleanBindinggreaterThan(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.BooleanBindinggreaterThan(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.BooleanBindinggreaterThan(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than anotherObservableNumberValue.BooleanBindinggreaterThanOrEqualTo(double other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.BooleanBindinggreaterThanOrEqualTo(float other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.BooleanBindinggreaterThanOrEqualTo(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.BooleanBindinggreaterThanOrEqualTo(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.BooleanBindinggreaterThanOrEqualTo(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to anotherObservableNumberValue.BooleanBindingisEqualTo(double other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).BooleanBindingisEqualTo(float other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).BooleanBindingisEqualTo(int other)BooleanBindingisEqualTo(int other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).BooleanBindingisEqualTo(long other)BooleanBindingisEqualTo(long other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).BooleanBindingisEqualTo(ObservableNumberValue other)BooleanBindingisEqualTo(ObservableNumberValue other, double epsilon)Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare equal (with a tolerance).BooleanBindingisNotEqualTo(double other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).BooleanBindingisNotEqualTo(float other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).BooleanBindingisNotEqualTo(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value.BooleanBindingisNotEqualTo(int other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).BooleanBindingisNotEqualTo(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value.BooleanBindingisNotEqualTo(long other, double epsilon)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).BooleanBindingisNotEqualTo(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare not equal.BooleanBindingisNotEqualTo(ObservableNumberValue other, double epsilon)Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare not equal (with a tolerance).BooleanBindinglessThan(double other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.BooleanBindinglessThan(float other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.BooleanBindinglessThan(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.BooleanBindinglessThan(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.BooleanBindinglessThan(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than anotherObservableNumberValue.BooleanBindinglessThanOrEqualTo(double other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.BooleanBindinglessThanOrEqualTo(float other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.BooleanBindinglessThanOrEqualTo(int other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.BooleanBindinglessThanOrEqualTo(long other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.BooleanBindinglessThanOrEqualTo(ObservableNumberValue other)Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to anotherObservableNumberValue.NumberBindingmultiply(double other)Creates a newNumberBindingthat calculates the product of thisNumberExpressionand a constant value.NumberBindingmultiply(float other)Creates a newNumberBindingthat calculates the product of thisNumberExpressionand a constant value.NumberBindingmultiply(int other)Creates a newNumberBindingthat calculates the product of thisNumberExpressionand a constant value.NumberBindingmultiply(long other)Creates a newNumberBindingthat calculates the product of thisNumberExpressionand a constant value.NumberBindingmultiply(ObservableNumberValue other)Creates a newNumberBindingthat calculates the product of thisNumberExpressionand anotherObservableNumberValue.NumberBindingnegate()Creates a newNumberBindingthat calculates the negation ofNumberExpression.NumberBindingsubtract(double other)Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand a constant value.NumberBindingsubtract(float other)Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand a constant value.NumberBindingsubtract(int other)Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand a constant value.NumberBindingsubtract(long other)Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand a constant value.NumberBindingsubtract(ObservableNumberValue other)Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand anotherObservableNumberValue.- 
Methods inherited from interface javafx.beans.ObservableaddListener, removeListener
 - 
Methods inherited from interface javafx.beans.value.ObservableNumberValuedoubleValue, floatValue, intValue, longValue
 - 
Methods inherited from interface javafx.beans.value.ObservableValueaddListener, getValue, removeListener
 
- 
 
- 
- 
- 
Method Detail- 
negateNumberBinding negate() Creates a newNumberBindingthat calculates the negation ofNumberExpression.- Returns:
- the new NumberBinding
 
 - 
addNumberBinding add(ObservableNumberValue other) Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand anotherObservableNumberValue.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new NumberBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
addNumberBinding add(double other) Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
addNumberBinding add(float other) Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
addNumberBinding add(long other) Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
addNumberBinding add(int other) Creates a newNumberBindingthat calculates the sum of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
subtractNumberBinding subtract(ObservableNumberValue other) Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand anotherObservableNumberValue.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new NumberBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
subtractNumberBinding subtract(double other) Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
subtractNumberBinding subtract(float other) Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
subtractNumberBinding subtract(long other) Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
subtractNumberBinding subtract(int other) Creates a newNumberBindingthat calculates the difference of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
multiplyNumberBinding multiply(ObservableNumberValue other) Creates a newNumberBindingthat calculates the product of thisNumberExpressionand anotherObservableNumberValue.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new NumberBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
multiplyNumberBinding multiply(double other) Creates a newNumberBindingthat calculates the product of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
multiplyNumberBinding multiply(float other) Creates a newNumberBindingthat calculates the product of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
multiplyNumberBinding multiply(long other) Creates a newNumberBindingthat calculates the product of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
multiplyNumberBinding multiply(int other) Creates a newNumberBindingthat calculates the product of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
divideNumberBinding divide(ObservableNumberValue other) Creates a newNumberBindingthat calculates the division of thisNumberExpressionand anotherObservableNumberValue.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new NumberBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
divideNumberBinding divide(double other) Creates a newNumberBindingthat calculates the division of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
divideNumberBinding divide(float other) Creates a newNumberBindingthat calculates the division of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
divideNumberBinding divide(long other) Creates a newNumberBindingthat calculates the division of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
divideNumberBinding divide(int other) Creates a newNumberBindingthat calculates the division of thisNumberExpressionand a constant value.- Parameters:
- other- the constant value
- Returns:
- the new NumberBinding
 
 - 
isEqualToBooleanBinding isEqualTo(ObservableNumberValue other) Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare equal.When comparing floating-point numbers it is recommended to use the isEqualTo()method that allows a small tolerance.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
isEqualToBooleanBinding isEqualTo(ObservableNumberValue other, double epsilon) Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare equal (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Parameters:
- other- the second- ObservableNumberValue
- epsilon- the tolerance
- Returns:
- the new BooleanBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
isEqualToBooleanBinding isEqualTo(double other, double epsilon) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isEqualToBooleanBinding isEqualTo(float other, double epsilon) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isEqualToBooleanBinding isEqualTo(long other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value.When comparing floating-point numbers it is recommended to use the isEqualTo()method that allows a small tolerance.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
isEqualToBooleanBinding isEqualTo(long other, double epsilon) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isEqualToBooleanBinding isEqualTo(int other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value.When comparing floating-point numbers it is recommended to use the isEqualTo()method that allows a small tolerance.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
isEqualToBooleanBinding isEqualTo(int other, double epsilon) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis equal to a constant value (with a tolerance).Two operands aandbare considered equal ifMath.abs(a-b) <= epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualToBooleanBinding isNotEqualTo(ObservableNumberValue other) Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare not equal.When comparing floating-point numbers it is recommended to use the isNotEqualTo()method that allows a small tolerance.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
isNotEqualToBooleanBinding isNotEqualTo(ObservableNumberValue other, double epsilon) Creates a newBooleanBindingthat holdstrueif this and anotherObservableNumberValueare not equal (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors. - Parameters:
- other- the second- ObservableNumberValue
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
isNotEqualToBooleanBinding isNotEqualTo(double other, double epsilon) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualToBooleanBinding isNotEqualTo(float other, double epsilon) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualToBooleanBinding isNotEqualTo(long other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value.When comparing floating-point numbers it is recommended to use the isNotEqualTo()method that allows a small tolerance.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualToBooleanBinding isNotEqualTo(long other, double epsilon) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualToBooleanBinding isNotEqualTo(int other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value.When comparing floating-point numbers it is recommended to use the isNotEqualTo()method that allows a small tolerance.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
isNotEqualToBooleanBinding isNotEqualTo(int other, double epsilon) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis not equal to a constant value (with a tolerance).Two operands aandbare considered not equal ifMath.abs(a-b) > epsilon.Allowing a small tolerance is recommended when comparing floating-point numbers. - Parameters:
- other- the constant value
- epsilon- the permitted tolerance
- Returns:
- the new BooleanBinding
 
 - 
greaterThanBooleanBinding greaterThan(ObservableNumberValue other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than anotherObservableNumberValue.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
greaterThanBooleanBinding greaterThan(double other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanBooleanBinding greaterThan(float other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanBooleanBinding greaterThan(long other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanBooleanBinding greaterThan(int other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanBooleanBinding lessThan(ObservableNumberValue other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than anotherObservableNumberValue.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
lessThanBooleanBinding lessThan(double other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanBooleanBinding lessThan(float other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanBooleanBinding lessThan(long other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanBooleanBinding lessThan(int other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis lesser than a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualToBooleanBinding greaterThanOrEqualTo(ObservableNumberValue other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to anotherObservableNumberValue.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
greaterThanOrEqualToBooleanBinding greaterThanOrEqualTo(double other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualToBooleanBinding greaterThanOrEqualTo(float other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualToBooleanBinding greaterThanOrEqualTo(long other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
greaterThanOrEqualToBooleanBinding greaterThanOrEqualTo(int other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis greater than or equal to a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualToBooleanBinding lessThanOrEqualTo(ObservableNumberValue other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to anotherObservableNumberValue.- Parameters:
- other- the second- ObservableNumberValue
- Returns:
- the new BooleanBinding
- Throws:
- NullPointerException- if the other- ObservableNumberValueis- null
 
 - 
lessThanOrEqualToBooleanBinding lessThanOrEqualTo(double other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualToBooleanBinding lessThanOrEqualTo(float other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualToBooleanBinding lessThanOrEqualTo(long other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
lessThanOrEqualToBooleanBinding lessThanOrEqualTo(int other) Creates a newBooleanBindingthat holdstrueif thisNumberExpressionis less than or equal to a constant value.- Parameters:
- other- the constant value
- Returns:
- the new BooleanBinding
 
 - 
asStringStringBinding asString() Creates aStringBindingthat holds the value of theNumberExpressionturned into aString. If the value of thisNumberExpressionchanges, the value of theStringBindingwill be updated automatically.The conversion is done without any formatting applied. - Returns:
- the new StringBinding
 
 - 
asStringStringBinding asString(String format) Creates aStringBindingthat holds the value of theNumberExpressionturned into aString. If the value of thisNumberExpressionchanges, the value of theStringBindingwill be updated automatically.The result is formatted according to the formatting String. Seejava.util.Formatterfor formatting rules.- Parameters:
- format- the formatting- String
- Returns:
- the new StringBinding
 
 - 
asStringStringBinding asString(Locale locale, String format) Creates aStringBindingthat holds the value of theNumberExpressionturned into aString. If the value of thisNumberExpressionchanges, the value of theStringBindingwill be updated automatically.The result is formatted according to the formatting Stringand the passed inLocale. Seejava.util.Formatterfor formatting rules. Seejava.util.Localefor details onLocale.- Parameters:
- locale- the Locale to be used
- format- the formatting- String
- Returns:
- the new StringBinding
 
 
- 
 
-