Top Description Constructors Methods
javafx.beans.binding

public abstract Class NumberExpressionBase

extends Object
implements NumberExpression
Class Inheritance
All Implemented Interfaces
javafx.beans.binding.NumberExpression, javafx.beans.value.ObservableNumberValue, javafx.beans.value.ObservableValue, javafx.beans.Observable
Known Direct Subclasses
javafx.beans.binding.DoubleExpression, javafx.beans.binding.FloatExpression, javafx.beans.binding.IntegerExpression, javafx.beans.binding.LongExpression
Imports
java.util.Locale, javafx.beans.value.ObservableDoubleValue, .ObservableFloatValue, .ObservableIntegerValue, .ObservableLongValue, .ObservableNumberValue, com.sun.javafx.binding.StringFormatter

NumberExpressionBase contains convenience methods to generate bindings in a fluent style, that are common to all NumberExpression subclasses.

NumberExpressionBase serves as a place for common code of specific NumberExpression subclasses for the specific number type.

Since
JavaFX 2.0
See Also
IntegerExpression, LongExpression, FloatExpression, DoubleExpression

Constructor Summary

AccessConstructor and Description
public
NumberExpressionBase()

Creates a default NumberExpressionBase.

Method Summary

Modifier and TypeMethod and Description
public NumberBinding
add(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.add.

Creates a new javafx.beans.binding.NumberBinding that calculates the sum of this NumberExpression and another javafx.beans.value.ObservableNumberValue.

public StringBinding
asString()

Implements javafx.beans.binding.NumberExpression.asString.

Creates a javafx.beans.binding.StringBinding that holds the value of the NumberExpression turned into a String.

public StringBinding
asString(String format)

Implements javafx.beans.binding.NumberExpression.asString.

Creates a javafx.beans.binding.StringBinding that holds the value of the NumberExpression turned into a String.

public StringBinding
asString(Locale locale, String format)

Implements javafx.beans.binding.NumberExpression.asString.

Creates a javafx.beans.binding.StringBinding that holds the value of the NumberExpression turned into a String.

public NumberBinding
divide(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.divide.

Creates a new javafx.beans.binding.NumberBinding that calculates the division of this NumberExpression and another javafx.beans.value.ObservableNumberValue.

public BooleanBinding
greaterThan(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than another javafx.beans.value.ObservableNumberValue.

public BooleanBinding
greaterThan(final double other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than a constant value.

public BooleanBinding
greaterThan(final float other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than a constant value.

public BooleanBinding
greaterThan(final long other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than a constant value.

public BooleanBinding
greaterThan(final int other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than a constant value.

public BooleanBinding
greaterThanOrEqualTo(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to another javafx.beans.value.ObservableNumberValue.

public BooleanBinding
greaterThanOrEqualTo(final double other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to a constant value.

public BooleanBinding
greaterThanOrEqualTo(final float other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to a constant value.

public BooleanBinding
greaterThanOrEqualTo(final long other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to a constant value.

public BooleanBinding
greaterThanOrEqualTo(final int other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to a constant value.

public BooleanBinding
public BooleanBinding
isEqualTo(final ObservableNumberValue other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this and another javafx.beans.value.ObservableNumberValue are equal (with a tolerance).

public BooleanBinding
isEqualTo(final double other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is equal to a constant value (with a tolerance).

public BooleanBinding
isEqualTo(final float other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is equal to a constant value (with a tolerance).

public BooleanBinding
isEqualTo(final long other)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is equal to a constant value.

public BooleanBinding
isEqualTo(final long other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is equal to a constant value (with a tolerance).

public BooleanBinding
isEqualTo(final int other)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is equal to a constant value.

public BooleanBinding
isEqualTo(final int other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is equal to a constant value (with a tolerance).

public BooleanBinding
public BooleanBinding
isNotEqualTo(final ObservableNumberValue other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this and another javafx.beans.value.ObservableNumberValue are not equal (with a tolerance).

public BooleanBinding
isNotEqualTo(final double other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is not equal to a constant value (with a tolerance).

public BooleanBinding
isNotEqualTo(final float other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is not equal to a constant value (with a tolerance).

public BooleanBinding
isNotEqualTo(final long other)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is not equal to a constant value.

public BooleanBinding
isNotEqualTo(final long other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is not equal to a constant value (with a tolerance).

public BooleanBinding
isNotEqualTo(final int other)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is not equal to a constant value.

public BooleanBinding
isNotEqualTo(final int other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is not equal to a constant value (with a tolerance).

public BooleanBinding
lessThan(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than another javafx.beans.value.ObservableNumberValue.

public BooleanBinding
lessThan(final double other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than a constant value.

public BooleanBinding
lessThan(final float other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than a constant value.

public BooleanBinding
lessThan(final long other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than a constant value.

public BooleanBinding
lessThan(final int other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than a constant value.

public BooleanBinding
lessThanOrEqualTo(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to another javafx.beans.value.ObservableNumberValue.

public BooleanBinding
lessThanOrEqualTo(final double other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to a constant value.

public BooleanBinding
lessThanOrEqualTo(final float other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to a constant value.

public BooleanBinding
lessThanOrEqualTo(final long other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to a constant value.

public BooleanBinding
lessThanOrEqualTo(final int other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to a constant value.

public NumberBinding
multiply(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.multiply.

Creates a new javafx.beans.binding.NumberBinding that calculates the product of this NumberExpression and another javafx.beans.value.ObservableNumberValue.

public static <
The type of Number to be wrapped
S extends Number
>
NumberExpressionBase

Returns:

An NumberExpressionBase that wraps the ObservableNumberValue if necessary
numberExpression
(final ObservableNumberValue
The source ObservableNumberValue
value
)

Returns an NumberExpressionBase that wraps a javafx.beans.value.ObservableNumberValue.

public NumberBinding
subtract(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.subtract.

Creates a new javafx.beans.binding.NumberBinding that calculates the difference of this NumberExpression and another javafx.beans.value.ObservableNumberValue.

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

NumberExpressionBaseback to summary
public NumberExpressionBase()

Creates a default NumberExpressionBase.

Method Detail

addback to summary
public NumberBinding add(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.add.

Doc from javafx.beans.binding.NumberExpression.add.

Creates a new javafx.beans.binding.NumberBinding that calculates the sum of this NumberExpression and another javafx.beans.value.ObservableNumberValue.

Annotations
@Override
asStringback to summary
public StringBinding asString()

Implements javafx.beans.binding.NumberExpression.asString.

Doc from javafx.beans.binding.NumberExpression.asString.

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.

Annotations
@Override
asStringback to summary
public StringBinding asString(String format)

Implements javafx.beans.binding.NumberExpression.asString.

Doc from javafx.beans.binding.NumberExpression.asString.

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.

Annotations
@Override
asStringback to summary
public StringBinding asString(Locale locale, String format)

Implements javafx.beans.binding.NumberExpression.asString.

Doc from javafx.beans.binding.NumberExpression.asString.

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.

Annotations
@Override
divideback to summary
public NumberBinding divide(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.divide.

Doc from javafx.beans.binding.NumberExpression.divide.

Creates a new javafx.beans.binding.NumberBinding that calculates the division of this NumberExpression and another javafx.beans.value.ObservableNumberValue.

Annotations
@Override
greaterThanback to summary
public BooleanBinding greaterThan(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Doc from javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than another javafx.beans.value.ObservableNumberValue.

Annotations
@Override
greaterThanback to summary
public BooleanBinding greaterThan(final double other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Doc from javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than a constant value.

Annotations
@Override
greaterThanback to summary
public BooleanBinding greaterThan(final float other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Doc from javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than a constant value.

Annotations
@Override
greaterThanback to summary
public BooleanBinding greaterThan(final long other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Doc from javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than a constant value.

Annotations
@Override
greaterThanback to summary
public BooleanBinding greaterThan(final int other)

Implements javafx.beans.binding.NumberExpression.greaterThan.

Doc from javafx.beans.binding.NumberExpression.greaterThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than a constant value.

Annotations
@Override
greaterThanOrEqualToback to summary
public BooleanBinding greaterThanOrEqualTo(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to another javafx.beans.value.ObservableNumberValue.

Annotations
@Override
greaterThanOrEqualToback to summary
public BooleanBinding greaterThanOrEqualTo(final double other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to a constant value.

Annotations
@Override
greaterThanOrEqualToback to summary
public BooleanBinding greaterThanOrEqualTo(final float other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to a constant value.

Annotations
@Override
greaterThanOrEqualToback to summary
public BooleanBinding greaterThanOrEqualTo(final long other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to a constant value.

Annotations
@Override
greaterThanOrEqualToback to summary
public BooleanBinding greaterThanOrEqualTo(final int other)

Implements javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.greaterThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is greater than or equal to a constant value.

Annotations
@Override
isEqualToback to summary
public BooleanBinding isEqualTo(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Doc from javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this and another javafx.beans.value.ObservableNumberValue are equal.

When comparing floating-point numbers it is recommended to use the isEqualTo() method that allows a small tolerance.

Annotations
@Override
isEqualToback to summary
public BooleanBinding isEqualTo(final ObservableNumberValue other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Doc from javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this and another javafx.beans.value.ObservableNumberValue are equal (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.

Annotations
@Override
isEqualToback to summary
public BooleanBinding isEqualTo(final double other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Doc from javafx.beans.binding.NumberExpression.isEqualTo.

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.

Annotations
@Override
isEqualToback to summary
public BooleanBinding isEqualTo(final float other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Doc from javafx.beans.binding.NumberExpression.isEqualTo.

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.

Annotations
@Override
isEqualToback to summary
public BooleanBinding isEqualTo(final long other)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Doc from javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is equal to a constant value.

When comparing floating-point numbers it is recommended to use the isEqualTo() method that allows a small tolerance.

Annotations
@Override
isEqualToback to summary
public BooleanBinding isEqualTo(final long other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Doc from javafx.beans.binding.NumberExpression.isEqualTo.

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.

Annotations
@Override
isEqualToback to summary
public BooleanBinding isEqualTo(final int other)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Doc from javafx.beans.binding.NumberExpression.isEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is equal to a constant value.

When comparing floating-point numbers it is recommended to use the isEqualTo() method that allows a small tolerance.

Annotations
@Override
isEqualToback to summary
public BooleanBinding isEqualTo(final int other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isEqualTo.

Doc from javafx.beans.binding.NumberExpression.isEqualTo.

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.

Annotations
@Override
isNotEqualToback to summary
public BooleanBinding isNotEqualTo(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Doc from javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this and another javafx.beans.value.ObservableNumberValue are not equal.

When comparing floating-point numbers it is recommended to use the isNotEqualTo() method that allows a small tolerance.

Annotations
@Override
isNotEqualToback to summary
public BooleanBinding isNotEqualTo(final ObservableNumberValue other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Doc from javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this and another javafx.beans.value.ObservableNumberValue are not equal (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 because of rounding-errors.

Annotations
@Override
isNotEqualToback to summary
public BooleanBinding isNotEqualTo(final double other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Doc from javafx.beans.binding.NumberExpression.isNotEqualTo.

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.

Annotations
@Override
isNotEqualToback to summary
public BooleanBinding isNotEqualTo(final float other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Doc from javafx.beans.binding.NumberExpression.isNotEqualTo.

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.

Annotations
@Override
isNotEqualToback to summary
public BooleanBinding isNotEqualTo(final long other)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Doc from javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is not equal to a constant value.

When comparing floating-point numbers it is recommended to use the isNotEqualTo() method that allows a small tolerance.

Annotations
@Override
isNotEqualToback to summary
public BooleanBinding isNotEqualTo(final long other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Doc from javafx.beans.binding.NumberExpression.isNotEqualTo.

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.

Annotations
@Override
isNotEqualToback to summary
public BooleanBinding isNotEqualTo(final int other)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Doc from javafx.beans.binding.NumberExpression.isNotEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is not equal to a constant value.

When comparing floating-point numbers it is recommended to use the isNotEqualTo() method that allows a small tolerance.

Annotations
@Override
isNotEqualToback to summary
public BooleanBinding isNotEqualTo(final int other, double epsilon)

Implements javafx.beans.binding.NumberExpression.isNotEqualTo.

Doc from javafx.beans.binding.NumberExpression.isNotEqualTo.

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.

Annotations
@Override
lessThanback to summary
public BooleanBinding lessThan(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Doc from javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than another javafx.beans.value.ObservableNumberValue.

Annotations
@Override
lessThanback to summary
public BooleanBinding lessThan(final double other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Doc from javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than a constant value.

Annotations
@Override
lessThanback to summary
public BooleanBinding lessThan(final float other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Doc from javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than a constant value.

Annotations
@Override
lessThanback to summary
public BooleanBinding lessThan(final long other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Doc from javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than a constant value.

Annotations
@Override
lessThanback to summary
public BooleanBinding lessThan(final int other)

Implements javafx.beans.binding.NumberExpression.lessThan.

Doc from javafx.beans.binding.NumberExpression.lessThan.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is lesser than a constant value.

Annotations
@Override
lessThanOrEqualToback to summary
public BooleanBinding lessThanOrEqualTo(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to another javafx.beans.value.ObservableNumberValue.

Annotations
@Override
lessThanOrEqualToback to summary
public BooleanBinding lessThanOrEqualTo(final double other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to a constant value.

Annotations
@Override
lessThanOrEqualToback to summary
public BooleanBinding lessThanOrEqualTo(final float other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to a constant value.

Annotations
@Override
lessThanOrEqualToback to summary
public BooleanBinding lessThanOrEqualTo(final long other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to a constant value.

Annotations
@Override
lessThanOrEqualToback to summary
public BooleanBinding lessThanOrEqualTo(final int other)

Implements javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Doc from javafx.beans.binding.NumberExpression.lessThanOrEqualTo.

Creates a new javafx.beans.binding.BooleanBinding that holds true if this NumberExpression is less than or equal to a constant value.

Annotations
@Override
multiplyback to summary
public NumberBinding multiply(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.multiply.

Doc from javafx.beans.binding.NumberExpression.multiply.

Creates a new javafx.beans.binding.NumberBinding that calculates the product of this NumberExpression and another javafx.beans.value.ObservableNumberValue.

Annotations
@Override
numberExpressionback to summary
public static <S extends Number> NumberExpressionBase numberExpression(final ObservableNumberValue value)

Returns an NumberExpressionBase that wraps a javafx.beans.value.ObservableNumberValue. If the ObservableNumberValue is already an instance of NumberExpressionBase, it will be returned. Otherwise a new javafx.beans.binding.NumberBinding is created that is bound to the ObservableNumberValue.

Parameters
<S>
The type of Number to be wrapped
value:ObservableNumberValue

The source ObservableNumberValue

Returns:NumberExpressionBase

An NumberExpressionBase that wraps the ObservableNumberValue if necessary

Exceptions
NullPointerException:
if value is null
subtractback to summary
public NumberBinding subtract(final ObservableNumberValue other)

Implements javafx.beans.binding.NumberExpression.subtract.

Doc from javafx.beans.binding.NumberExpression.subtract.

Creates a new javafx.beans.binding.NumberBinding that calculates the difference of this NumberExpression and another javafx.beans.value.ObservableNumberValue.

Annotations
@Override