public final class Bindings extends Object
Usually there are two possibilities to define the same operation: the Fluent
API and the the factory methods in this class. This allows a developer to
define complex expression in a way that is most easy to understand. For
instance the expression result = a*b + c*d can be defined using only
the Fluent API:
DoubleBinding result = a.multiply(b).add(c.multiply(d));
Or using only factory methods in Bindings:
NumberBinding result = add (multiply(a, b), multiply(c,d));
Or mixing both possibilities:
NumberBinding result = add (a.multiply(b), c.multiply(d));
The main difference between using the Fluent API and using the factory
methods in this class is that the Fluent API requires that at least one of
the operands is an Expression (see javafx.beans.binding). (Every
Expression contains a static method that generates an Expression from an
ObservableValue.)
Also if you watched closely, you might have noticed that the return type of
the Fluent API is different in the examples above. In a lot of cases the
Fluent API allows to be more specific about the returned type (see
NumberExpression for more details about implicit
casting.
Binding,
NumberBinding| Modifier and Type | Method and Description |
|---|---|
static DoubleBinding |
add(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
add(float op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
add(int op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
add(long op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value. |
static DoubleBinding |
add(ObservableNumberValue op1,
double op2)
Creates a new
DoubleBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
add(ObservableNumberValue op1,
float op2)
Creates a new
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
add(ObservableNumberValue op1,
int op2)
Creates a new
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
add(ObservableNumberValue op1,
long op2)
Creates a new
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
add(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the sum of the values of two instances of
ObservableNumberValue. |
static BooleanBinding |
and(ObservableBooleanValue op1,
ObservableBooleanValue op2)
Creates a
BooleanBinding that calculates the conditional-AND
operation on the value of two instance of
ObservableBooleanValue. |
static void |
bindBidirectional(Property<String> stringProperty,
Property<?> otherProperty,
Format format)
Generates a bidirectional binding (or "bind with inverse") between a
String-Property and another Property
using the specified Format for conversion. |
static <T> void |
bindBidirectional(Property<String> stringProperty,
Property<T> otherProperty,
StringConverter<T> converter)
Generates a bidirectional binding (or "bind with inverse") between a
String-Property and another Property
using the specified StringConverter for conversion. |
static <T> void |
bindBidirectional(Property<T> property1,
Property<T> property2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
Property. |
static <E> void |
bindContent(List<E> list1,
ObservableList<? extends E> list2)
Generates a content binding between an
ObservableList and a List. |
static <K,V> void |
bindContent(Map<K,V> map1,
ObservableMap<? extends K,? extends V> map2)
Generates a content binding between an
ObservableMap and a Map. |
static <E> void |
bindContent(Set<E> set1,
ObservableSet<? extends E> set2)
Generates a content binding between an
ObservableSet and a Set. |
static <E> void |
bindContentBidirectional(ObservableList<E> list1,
ObservableList<E> list2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
ObservableList. |
static <K,V> void |
bindContentBidirectional(ObservableMap<K,V> map1,
ObservableMap<K,V> map2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
ObservableMap. |
static <E> void |
bindContentBidirectional(ObservableSet<E> set1,
ObservableSet<E> set2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
ObservableSet. |
static BooleanBinding |
booleanValueAt(ObservableList<Boolean> op,
int index)
Creates a new
BooleanBinding that contains the element
of an ObservableList at the specified position. |
static BooleanBinding |
booleanValueAt(ObservableList<Boolean> op,
ObservableIntegerValue index)
Creates a new
BooleanBinding that contains the element
of an ObservableList at the specified position. |
static BooleanBinding |
booleanValueAt(ObservableList<Boolean> op,
ObservableNumberValue index)
Creates a new
BooleanBinding that contains the element
of an ObservableList at the specified position. |
static <K> BooleanBinding |
booleanValueAt(ObservableMap<K,Boolean> op,
K key)
Creates a new
BooleanBinding that contains the mapping of a specific key
in an ObservableMap. |
static <K> BooleanBinding |
booleanValueAt(ObservableMap<K,Boolean> op,
ObservableValue<? extends K> key)
Creates a new
BooleanBinding that contains the mapping of a specific key
in an ObservableMap. |
static StringExpression |
concat(Object... args)
Returns a
StringExpression that holds the
value of the concatenation of multiple Objects. |
static StringExpression |
convert(ObservableValue<?> observableValue)
Returns a
StringExpression that wraps a
ObservableValue. |
static BooleanBinding |
createBooleanBinding(Callable<Boolean> func,
Observable... dependencies)
Helper function to create a custom
BooleanBinding. |
static DoubleBinding |
createDoubleBinding(Callable<Double> func,
Observable... dependencies)
Helper function to create a custom
DoubleBinding. |
static FloatBinding |
createFloatBinding(Callable<Float> func,
Observable... dependencies)
Helper function to create a custom
FloatBinding. |
static IntegerBinding |
createIntegerBinding(Callable<Integer> func,
Observable... dependencies)
Helper function to create a custom
IntegerBinding. |
static LongBinding |
createLongBinding(Callable<Long> func,
Observable... dependencies)
Helper function to create a custom
LongBinding. |
static <T> ObjectBinding<T> |
createObjectBinding(Callable<T> func,
Observable... dependencies)
Helper function to create a custom
ObjectBinding. |
static StringBinding |
createStringBinding(Callable<String> func,
Observable... dependencies)
Helper function to create a custom
StringBinding. |
static DoubleBinding |
divide(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the division of a constant value and the value of a
ObservableNumberValue. |
static NumberBinding |
divide(float op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the division of a constant value and the value of a
ObservableNumberValue. |
static NumberBinding |
divide(int op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the division of a constant value and the value of a
ObservableNumberValue. |
static NumberBinding |
divide(long op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the division of a constant value and the value of a
ObservableNumberValue. |
static DoubleBinding |
divide(ObservableNumberValue op1,
double op2)
Creates a new
DoubleBinding that calculates
the division of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
divide(ObservableNumberValue op1,
float op2)
Creates a new
NumberBinding that calculates
the division of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
divide(ObservableNumberValue op1,
int op2)
Creates a new
NumberBinding that calculates
the division of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
divide(ObservableNumberValue op1,
long op2)
Creates a new
NumberBinding that calculates
the division of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
divide(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the division of the values of two instances of
ObservableNumberValue. |
static DoubleBinding |
doubleValueAt(ObservableList<? extends Number> op,
int index)
Creates a new
DoubleBinding that contains the element
of an ObservableList at the specified position. |
static DoubleBinding |
doubleValueAt(ObservableList<? extends Number> op,
ObservableIntegerValue index)
Creates a new
DoubleBinding that contains the element
of an ObservableList at the specified position. |
static DoubleBinding |
doubleValueAt(ObservableList<? extends Number> op,
ObservableNumberValue index)
Creates a new
DoubleBinding that contains the element
of an ObservableList at the specified position. |
static <K> DoubleBinding |
doubleValueAt(ObservableMap<K,? extends Number> op,
K key)
Creates a new
DoubleBinding that contains the mapping of a specific key
in an ObservableMap. |
static <K> DoubleBinding |
doubleValueAt(ObservableMap<K,? extends Number> op,
ObservableValue<? extends K> key)
Creates a new
DoubleBinding that contains the mapping of a specific key
in an ObservableMap. |
static BooleanBinding |
equal(double op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(float op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(int op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value. |
static BooleanBinding |
equal(int op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(long op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value. |
static BooleanBinding |
equal(long op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(Object op1,
ObservableObjectValue<?> op2)
Creates a new
BooleanBinding that holds true
if the value of an ObservableObjectValue is
equal to a constant value. |
static BooleanBinding |
equal(ObservableBooleanValue op1,
ObservableBooleanValue op2)
Creates a new
BooleanBinding that holds true if the values of two
instances of ObservableBooleanValue are equal. |
static BooleanBinding |
equal(ObservableNumberValue op1,
double op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(ObservableNumberValue op1,
float op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(ObservableNumberValue op1,
int op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value. |
static BooleanBinding |
equal(ObservableNumberValue op1,
int op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(ObservableNumberValue op1,
long op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value. |
static BooleanBinding |
equal(ObservableNumberValue op1,
long op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableNumberValue are equal. |
static BooleanBinding |
equal(ObservableNumberValue op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableNumberValue are equal (with a
tolerance). |
static BooleanBinding |
equal(ObservableObjectValue<?> op1,
Object op2)
Creates a new
BooleanBinding that holds true
if the value of an ObservableObjectValue is
equal to a constant value. |
static BooleanBinding |
equal(ObservableObjectValue<?> op1,
ObservableObjectValue<?> op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableObjectValue are equal. |
static BooleanBinding |
equal(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableStringValue are equal. |
static BooleanBinding |
equal(ObservableStringValue op1,
String op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is
equal to a constant value. |
static BooleanBinding |
equal(String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is
equal to a constant value. |
static BooleanBinding |
equalIgnoreCase(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableStringValue are equal ignoring case. |
static BooleanBinding |
equalIgnoreCase(ObservableStringValue op1,
String op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is
equal to a constant value ignoring case. |
static BooleanBinding |
equalIgnoreCase(String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is
equal to a constant value ignoring case. |
static FloatBinding |
floatValueAt(ObservableFloatArray op,
int index)
Creates a new
FloatBinding that contains the element
of an ObservableArray at the specified position. |
static FloatBinding |
floatValueAt(ObservableFloatArray op,
ObservableIntegerValue index)
Creates a new
FloatBinding that contains the element
of an ObservableArray at the specified position. |
static FloatBinding |
floatValueAt(ObservableFloatArray op,
ObservableNumberValue index)
Creates a new
FloatBinding that contains the element
of an ObservableArray at the specified position. |
static FloatBinding |
floatValueAt(ObservableList<? extends Number> op,
int index)
Creates a new
FloatBinding that contains the element
of an ObservableList at the specified position. |
static FloatBinding |
floatValueAt(ObservableList<? extends Number> op,
ObservableIntegerValue index)
Creates a new
FloatBinding that contains the element
of an ObservableList at the specified position. |
static FloatBinding |
floatValueAt(ObservableList<? extends Number> op,
ObservableNumberValue index)
Creates a new
FloatBinding that contains the element
of an ObservableList at the specified position. |
static <K> FloatBinding |
floatValueAt(ObservableMap<K,? extends Number> op,
K key)
Creates a new
FloatBinding that contains the mapping of a specific key
in an ObservableMap. |
static <K> FloatBinding |
floatValueAt(ObservableMap<K,? extends Number> op,
ObservableValue<? extends K> key)
Creates a new
FloatBinding that contains the mapping of a specific key
in an ObservableMap. |
static StringExpression |
format(Locale locale,
String format,
Object... args)
Creates a
StringExpression that holds the
value of multiple Objects formatted according to a format
String and a specified Locale |
static StringExpression |
format(String format,
Object... args)
Creates a
StringExpression that holds the
value of multiple Objects formatted according to a format
String. |
static BooleanBinding |
greaterThan(double op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than the value of a
ObservableNumberValue. |
static BooleanBinding |
greaterThan(float op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than the value of a
ObservableNumberValue. |
static BooleanBinding |
greaterThan(int op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than the value of a
ObservableNumberValue. |
static BooleanBinding |
greaterThan(long op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than the value of a
ObservableNumberValue. |
static BooleanBinding |
greaterThan(ObservableNumberValue op1,
double op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than a constant value. |
static BooleanBinding |
greaterThan(ObservableNumberValue op1,
float op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than a constant value. |
static BooleanBinding |
greaterThan(ObservableNumberValue op1,
int op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than a constant value. |
static BooleanBinding |
greaterThan(ObservableNumberValue op1,
long op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than a constant value. |
static BooleanBinding |
greaterThan(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
ObservableNumberValue is greater than the
value of the second. |
static BooleanBinding |
greaterThan(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
ObservableStringValue is greater than the
value of the second. |
static BooleanBinding |
greaterThan(ObservableStringValue op1,
String op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is
greater than a constant value. |
static BooleanBinding |
greaterThan(String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a constant value is greater than the value of a
ObservableStringValue. |
static BooleanBinding |
greaterThanOrEqual(double op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableNumberValue. |
static BooleanBinding |
greaterThanOrEqual(float op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableNumberValue. |
static BooleanBinding |
greaterThanOrEqual(int op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableNumberValue. |
static BooleanBinding |
greaterThanOrEqual(long op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableNumberValue. |
static BooleanBinding |
greaterThanOrEqual(ObservableNumberValue op1,
double op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than or equal to a constant value. |
static BooleanBinding |
greaterThanOrEqual(ObservableNumberValue op1,
float op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than or equal to a constant value. |
static BooleanBinding |
greaterThanOrEqual(ObservableNumberValue op1,
int op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than or equal to a constant value. |
static BooleanBinding |
greaterThanOrEqual(ObservableNumberValue op1,
long op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than or equal to a constant value. |
static BooleanBinding |
greaterThanOrEqual(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
ObservableNumberValue is greater than or equal
to the value of the second. |
static BooleanBinding |
greaterThanOrEqual(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
ObservableStringValue is greater than or equal
to the value of the second. |
static BooleanBinding |
greaterThanOrEqual(ObservableStringValue op1,
String op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is
greater than or equal to a constant value. |
static BooleanBinding |
greaterThanOrEqual(String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableStringValue. |
static IntegerBinding |
integerValueAt(ObservableIntegerArray op,
int index)
Creates a new
IntegerBinding that contains the element
of an ObservableArray at the specified position. |
static IntegerBinding |
integerValueAt(ObservableIntegerArray op,
ObservableIntegerValue index)
Creates a new
IntegerBinding that contains the element
of an ObservableArray at the specified position. |
static IntegerBinding |
integerValueAt(ObservableIntegerArray op,
ObservableNumberValue index)
Creates a new
IntegerBinding that contains the element
of an ObservableArray at the specified position. |
static IntegerBinding |
integerValueAt(ObservableList<? extends Number> op,
int index)
Creates a new
IntegerBinding that contains the element
of an ObservableList at the specified position. |
static IntegerBinding |
integerValueAt(ObservableList<? extends Number> op,
ObservableIntegerValue index)
Creates a new
IntegerBinding that contains the element
of an ObservableList at the specified position. |
static IntegerBinding |
integerValueAt(ObservableList<? extends Number> op,
ObservableNumberValue index)
Creates a new
IntegerBinding that contains the element
of an ObservableList at the specified position. |
static <K> IntegerBinding |
integerValueAt(ObservableMap<K,? extends Number> op,
K key)
Creates a new
IntegerBinding that contains the mapping of a specific key
in an ObservableMap. |
static <K> IntegerBinding |
integerValueAt(ObservableMap<K,? extends Number> op,
ObservableValue<? extends K> key)
Creates a new
IntegerBinding that contains the mapping of a specific key
in an ObservableMap. |
static <E> BooleanBinding |
isEmpty(ObservableList<E> op)
|
static <K,V> BooleanBinding |
isEmpty(ObservableMap<K,V> op)
|
static <E> BooleanBinding |
isEmpty(ObservableSet<E> op)
|
static BooleanBinding |
isEmpty(ObservableStringValue op)
|
static <E> BooleanBinding |
isNotEmpty(ObservableList<E> op)
|
static <K,V> BooleanBinding |
isNotEmpty(ObservableMap<K,V> op)
|
static <E> BooleanBinding |
isNotEmpty(ObservableSet<E> op)
|
static BooleanBinding |
isNotEmpty(ObservableStringValue op)
|
static BooleanBinding |
isNotNull(ObservableObjectValue<?> op)
|
static BooleanBinding |
isNull(ObservableObjectValue<?> op)
|
static IntegerBinding |
length(ObservableStringValue op)
Creates a new
IntegerBinding that holds the length of a
ObservableStringValue. |
static BooleanBinding |
lessThan(double op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableNumberValue. |
static BooleanBinding |
lessThan(float op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableNumberValue. |
static BooleanBinding |
lessThan(int op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableNumberValue. |
static BooleanBinding |
lessThan(long op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableNumberValue. |
static BooleanBinding |
lessThan(ObservableNumberValue op1,
double op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than a constant value. |
static BooleanBinding |
lessThan(ObservableNumberValue op1,
float op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than a constant value. |
static BooleanBinding |
lessThan(ObservableNumberValue op1,
int op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than a constant value. |
static BooleanBinding |
lessThan(ObservableNumberValue op1,
long op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than a constant value. |
static BooleanBinding |
lessThan(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
ObservableNumberValue is less than the value
of the second. |
static BooleanBinding |
lessThan(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
ObservableStringValue is less than the value
of the second. |
static BooleanBinding |
lessThan(ObservableStringValue op1,
String op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is
less than a constant value. |
static BooleanBinding |
lessThan(String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableStringValue. |
static BooleanBinding |
lessThanOrEqual(double op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableNumberValue. |
static BooleanBinding |
lessThanOrEqual(float op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableNumberValue. |
static BooleanBinding |
lessThanOrEqual(int op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableNumberValue. |
static BooleanBinding |
lessThanOrEqual(long op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableNumberValue. |
static BooleanBinding |
lessThanOrEqual(ObservableNumberValue op1,
double op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than or equal to a constant value. |
static BooleanBinding |
lessThanOrEqual(ObservableNumberValue op1,
float op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than or equal to a constant value. |
static BooleanBinding |
lessThanOrEqual(ObservableNumberValue op1,
int op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than or equal to a constant value. |
static BooleanBinding |
lessThanOrEqual(ObservableNumberValue op1,
long op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than or equal to a constant value. |
static BooleanBinding |
lessThanOrEqual(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
ObservableNumberValue is less than or equal to
the value of the second. |
static BooleanBinding |
lessThanOrEqual(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
ObservableStringValue is less than or equal to
the value of the second. |
static BooleanBinding |
lessThanOrEqual(ObservableStringValue op1,
String op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is
less than or equal to a constant value. |
static BooleanBinding |
lessThanOrEqual(String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableStringValue. |
static LongBinding |
longValueAt(ObservableList<? extends Number> op,
int index)
Creates a new
LongBinding that contains the element
of an ObservableList at the specified position. |
static LongBinding |
longValueAt(ObservableList<? extends Number> op,
ObservableIntegerValue index)
Creates a new
LongBinding that contains the element
of an ObservableList at the specified position. |
static LongBinding |
longValueAt(ObservableList<? extends Number> op,
ObservableNumberValue index)
Creates a new
LongBinding that contains the element
of an ObservableList at the specified position. |
static <K> LongBinding |
longValueAt(ObservableMap<K,? extends Number> op,
K key)
Creates a new
LongBinding that contains the mapping of a specific key
in an ObservableMap. |
static <K> LongBinding |
longValueAt(ObservableMap<K,? extends Number> op,
ObservableValue<? extends K> key)
Creates a new
LongBinding that contains the mapping of a specific key
in an ObservableMap. |
static DoubleBinding |
max(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
max(float op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
max(int op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
max(long op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value. |
static DoubleBinding |
max(ObservableNumberValue op1,
double op2)
Creates a new
DoubleBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
max(ObservableNumberValue op1,
float op2)
Creates a new
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
max(ObservableNumberValue op1,
int op2)
Creates a new
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
max(ObservableNumberValue op1,
long op2)
Creates a new
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
max(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the maximum of the values of two instances of
ObservableNumberValue. |
static DoubleBinding |
min(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
min(float op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
min(int op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
min(long op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value. |
static DoubleBinding |
min(ObservableNumberValue op1,
double op2)
Creates a new
DoubleBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
min(ObservableNumberValue op1,
float op2)
Creates a new
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
min(ObservableNumberValue op1,
int op2)
Creates a new
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
min(ObservableNumberValue op1,
long op2)
Creates a new
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
min(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the minimum of the values of two instances of
ObservableNumberValue. |
static DoubleBinding |
multiply(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
multiply(float op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
multiply(int op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
multiply(long op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value. |
static DoubleBinding |
multiply(ObservableNumberValue op1,
double op2)
Creates a new
DoubleBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
multiply(ObservableNumberValue op1,
float op2)
Creates a new
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
multiply(ObservableNumberValue op1,
int op2)
Creates a new
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
multiply(ObservableNumberValue op1,
long op2)
Creates a new
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
multiply(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the product of the values of two instances of
ObservableNumberValue. |
static NumberBinding |
negate(ObservableNumberValue value)
Creates a new
NumberBinding that calculates
the negation of a ObservableNumberValue. |
static BooleanBinding |
not(ObservableBooleanValue op)
Creates a
BooleanBinding that calculates the inverse of the value
of a ObservableBooleanValue. |
static BooleanBinding |
notEqual(double op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(float op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(int op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value. |
static BooleanBinding |
notEqual(int op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(long op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value. |
static BooleanBinding |
notEqual(long op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(Object op1,
ObservableObjectValue<?> op2)
Creates a new
BooleanBinding that holds true
if the value of an ObservableObjectValue is
not equal to a constant value. |
static BooleanBinding |
notEqual(ObservableBooleanValue op1,
ObservableBooleanValue op2)
Creates a new
BooleanBinding that holds true if the values of two
instances of ObservableBooleanValue are not
equal. |
static BooleanBinding |
notEqual(ObservableNumberValue op1,
double op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(ObservableNumberValue op1,
float op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(ObservableNumberValue op1,
int op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value. |
static BooleanBinding |
notEqual(ObservableNumberValue op1,
int op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(ObservableNumberValue op1,
long op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value. |
static BooleanBinding |
notEqual(ObservableNumberValue op1,
long op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableNumberValue are not equal. |
static BooleanBinding |
notEqual(ObservableNumberValue op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableNumberValue are not equal (with a
tolerance). |
static BooleanBinding |
notEqual(ObservableObjectValue<?> op1,
Object op2)
Creates a new
BooleanBinding that holds true
if the value of an ObservableObjectValue is
not equal to a constant value. |
static BooleanBinding |
notEqual(ObservableObjectValue<?> op1,
ObservableObjectValue<?> op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableObjectValue are not equal. |
static BooleanBinding |
notEqual(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableStringValue are not equal. |
static BooleanBinding |
notEqual(ObservableStringValue op1,
String op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is not
equal to a constant value. |
static BooleanBinding |
notEqual(String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is not
equal to a constant value. |
static BooleanBinding |
notEqualIgnoreCase(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
ObservableStringValue are not equal ignoring
case. |
static BooleanBinding |
notEqualIgnoreCase(ObservableStringValue op1,
String op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is not
equal to a constant value ignoring case. |
static BooleanBinding |
notEqualIgnoreCase(String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a ObservableStringValue is not
equal to a constant value ignoring case. |
static BooleanBinding |
or(ObservableBooleanValue op1,
ObservableBooleanValue op2)
Creates a
BooleanBinding that calculates the conditional-OR
operation on the value of two instance of
ObservableBooleanValue. |
static <T> ObjectBinding<T> |
select(Object root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static <T> ObjectBinding<T> |
select(ObservableValue<?> root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static BooleanBinding |
selectBoolean(Object root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static BooleanBinding |
selectBoolean(ObservableValue<?> root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static DoubleBinding |
selectDouble(Object root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static DoubleBinding |
selectDouble(ObservableValue<?> root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static FloatBinding |
selectFloat(Object root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static FloatBinding |
selectFloat(ObservableValue<?> root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static IntegerBinding |
selectInteger(Object root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static IntegerBinding |
selectInteger(ObservableValue<?> root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static LongBinding |
selectLong(Object root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static LongBinding |
selectLong(ObservableValue<?> root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static StringBinding |
selectString(Object root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static StringBinding |
selectString(ObservableValue<?> root,
String... steps)
Creates a binding used to get a member, such as
a.b.c. |
static IntegerBinding |
size(ObservableArray op)
Creates a new
IntegerBinding that contains the size
of an ObservableArray. |
static <E> IntegerBinding |
size(ObservableList<E> op)
Creates a new
IntegerBinding that contains the size
of an ObservableList. |
static <K,V> IntegerBinding |
size(ObservableMap<K,V> op)
Creates a new
IntegerBinding that contains the size
of an ObservableMap. |
static <E> IntegerBinding |
size(ObservableSet<E> op)
Creates a new
IntegerBinding that contains the size
of an ObservableSet. |
static StringBinding |
stringValueAt(ObservableList<String> op,
int index)
Creates a new
StringBinding that contains the element
of an ObservableList at the specified position. |
static StringBinding |
stringValueAt(ObservableList<String> op,
ObservableIntegerValue index)
Creates a new
StringBinding that contains the element
of an ObservableList at the specified position. |
static StringBinding |
stringValueAt(ObservableList<String> op,
ObservableNumberValue index)
Creates a new
StringBinding that contains the element
of an ObservableList at the specified position. |
static <K> StringBinding |
stringValueAt(ObservableMap<K,String> op,
K key)
Creates a new
StringBinding that contains the mapping of a specific key
in an ObservableMap. |
static <K> StringBinding |
stringValueAt(ObservableMap<K,String> op,
ObservableValue<? extends K> key)
Creates a new
StringBinding that contains the mapping of a specific key
in an ObservableMap. |
static DoubleBinding |
subtract(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the difference of a constant value and the value of a
ObservableNumberValue. |
static NumberBinding |
subtract(float op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the difference of a constant value and the value of a
ObservableNumberValue. |
static NumberBinding |
subtract(int op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the difference of a constant value and the value of a
ObservableNumberValue. |
static NumberBinding |
subtract(long op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the difference of a constant value and the value of a
ObservableNumberValue. |
static DoubleBinding |
subtract(ObservableNumberValue op1,
double op2)
Creates a new
DoubleBinding that calculates
the difference of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
subtract(ObservableNumberValue op1,
float op2)
Creates a new
NumberBinding that calculates
the difference of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
subtract(ObservableNumberValue op1,
int op2)
Creates a new
NumberBinding that calculates
the difference of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
subtract(ObservableNumberValue op1,
long op2)
Creates a new
NumberBinding that calculates
the difference of the value of a
ObservableNumberValue and a constant value. |
static NumberBinding |
subtract(ObservableNumberValue op1,
ObservableNumberValue op2)
Creates a new
NumberBinding that calculates
the difference of the values of two instances of
ObservableNumberValue. |
static void |
unbindBidirectional(Object property1,
Object property2)
Delete a bidirectional binding that was previously defined with
bindBidirectional(Property, Property) or
bindBidirectional(javafx.beans.property.Property, javafx.beans.property.Property, java.text.Format). |
static <T> void |
unbindBidirectional(Property<T> property1,
Property<T> property2)
Delete a bidirectional binding that was previously defined with
bindBidirectional(Property, Property). |
static void |
unbindContent(Object obj1,
Object obj2)
Remove a content binding.
|
static void |
unbindContentBidirectional(Object obj1,
Object obj2)
Remove a bidirectional content binding.
|
static <E> ObjectBinding<E> |
valueAt(ObservableList<E> op,
int index)
Creates a new
ObjectBinding that contains the element
of an ObservableList at the specified position. |
static <E> ObjectBinding<E> |
valueAt(ObservableList<E> op,
ObservableIntegerValue index)
Creates a new
ObjectBinding that contains the element
of an ObservableList at the specified position. |
static <E> ObjectBinding<E> |
valueAt(ObservableList<E> op,
ObservableNumberValue index)
Creates a new
ObjectBinding that contains the element
of an ObservableList at the specified position. |
static <K,V> ObjectBinding<V> |
valueAt(ObservableMap<K,V> op,
K key)
Creates a new
ObjectBinding that contains the mapping of a specific key
in an ObservableMap. |
static <K,V> ObjectBinding<V> |
valueAt(ObservableMap<K,V> op,
ObservableValue<? extends K> key)
Creates a new
ObjectBinding that contains the mapping of a specific key
in an ObservableMap. |
static When |
when(ObservableBooleanValue condition)
Creates a binding that calculates the result of a ternary expression.
|
public static BooleanBinding createBooleanBinding(Callable<Boolean> func, Observable... dependencies)
BooleanBinding.func - The function that calculates the value of this bindingdependencies - The dependencies of this bindingpublic static DoubleBinding createDoubleBinding(Callable<Double> func, Observable... dependencies)
DoubleBinding.func - The function that calculates the value of this bindingdependencies - The dependencies of this bindingpublic static FloatBinding createFloatBinding(Callable<Float> func, Observable... dependencies)
FloatBinding.func - The function that calculates the value of this bindingdependencies - The dependencies of this bindingpublic static IntegerBinding createIntegerBinding(Callable<Integer> func, Observable... dependencies)
IntegerBinding.func - The function that calculates the value of this bindingdependencies - The dependencies of this bindingpublic static LongBinding createLongBinding(Callable<Long> func, Observable... dependencies)
LongBinding.func - The function that calculates the value of this bindingdependencies - The dependencies of this bindingpublic static <T> ObjectBinding<T> createObjectBinding(Callable<T> func, Observable... dependencies)
ObjectBinding.func - The function that calculates the value of this bindingdependencies - The dependencies of this bindingpublic static StringBinding createStringBinding(Callable<String> func, Observable... dependencies)
StringBinding.func - The function that calculates the value of this bindingdependencies - The dependencies of this bindingpublic static <T> ObjectBinding<T> select(ObservableValue<?> root, String... steps)
a.b.c. The value
of the binding will be c, or null if c could not
be reached (due to b not having a c property,
b being null, or c not being the right type etc.).
All classes and properties used in a select-binding have to be public. Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root - The root ObservableValuesteps - The property names to reach the final propertyObjectBindingpublic static DoubleBinding selectDouble(ObservableValue<?> root, String... steps)
a.b.c. The value
of the binding will be c, or 0.0 if c could not
be reached (due to b not having a c property,
b being null, or c not being a Number etc.).
All classes and properties used in a select-binding have to be public. Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root - The root ObservableValuesteps - The property names to reach the final propertyDoubleBindingpublic static FloatBinding selectFloat(ObservableValue<?> root, String... steps)
a.b.c. The value
of the binding will be c, or 0.0f if c could not
be reached (due to b not having a c property,
b being null, or c not being a Number etc.).
All classes and properties used in a select-binding have to be public. Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root - The root ObservableValuesteps - The property names to reach the final propertyFloatBindingpublic static IntegerBinding selectInteger(ObservableValue<?> root, String... steps)
a.b.c. The value
of the binding will be c, or 0 if c could not
be reached (due to b not having a c property,
b being null, or c not being a Number etc.).
All classes and properties used in a select-binding have to be public. Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root - The root ObservableValuesteps - The property names to reach the final propertyIntegerBindingpublic static LongBinding selectLong(ObservableValue<?> root, String... steps)
a.b.c. The value
of the binding will be c, or 0L if c could not
be reached (due to b not having a c property,
b being null, or c not being a Number etc.).
All classes and properties used in a select-binding have to be public. Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root - The root ObservableValuesteps - The property names to reach the final propertyLongBindingpublic static BooleanBinding selectBoolean(ObservableValue<?> root, String... steps)
a.b.c. The value
of the binding will be c, or false if c could not
be reached (due to b not having a c property,
b being null, or c not being a boolean etc.).
All classes and properties used in a select-binding have to be public. Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root - The root ObservableValuesteps - The property names to reach the final propertyObjectBindingpublic static StringBinding selectString(ObservableValue<?> root, String... steps)
a.b.c. The value
of the binding will be c, or "" if c could not
be reached (due to b not having a c property,
b being null, or c not being a String etc.).
All classes and properties used in a select-binding have to be public. Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root - The root ObservableValuesteps - The property names to reach the final propertyObjectBindingpublic static <T> ObjectBinding<T> select(Object root, String... steps)
a.b.c. The value
of the binding will be c, or null if c could not
be reached (due to b not having a c property,
b being null, or c not being the right type etc.).
All classes and properties used in a select-binding have to be public. If root has JavaFX properties, this call is equivalent to #select(javafx.beans.value.ObservableValue, java.lang.String[]), with the {@code root} and {@code step[0]} being substituted with the relevant property object.
root - The root bean.steps - The property names to reach the final property. The first step
must be specified as it marks the property of the root bean.ObjectBindingpublic static DoubleBinding selectDouble(Object root, String... steps)
a.b.c. The value
of the binding will be c, or 0.0 if c could not
be reached (due to b not having a c property,
b being null, or c not being a Number etc.).
All classes and properties used in a select-binding have to be public. If root has JavaFX properties, this call is equivalent to #selectDouble(javafx.beans.value.ObservableValue, java.lang.String[]), with the {@code root} and {@code step[0]} being substituted with the relevant property object.
root - The root bean.steps - The property names to reach the final property. The first step
must be specified as it marks the property of the root bean.DoubleBindingpublic static FloatBinding selectFloat(Object root, String... steps)
a.b.c. The value
of the binding will be c, or 0.0f if c could not
be reached (due to b not having a c property,
b being null, or c not being a Number etc.).
All classes and properties used in a select-binding have to be public. If root has JavaFX properties, this call is equivalent to #selectFloat(javafx.beans.value.ObservableValue, java.lang.String[]), with the {@code root} and {@code step[0]} being substituted with the relevant property object.
root - The root bean.steps - The property names to reach the final property. The first step
must be specified as it marks the property of the root bean.FloatBindingpublic static IntegerBinding selectInteger(Object root, String... steps)
a.b.c. The value
of the binding will be c, or 0 if c could not
be reached (due to b not having a c property,
b being null, or c not being a Number etc.).
All classes and properties used in a select-binding have to be public. If root has JavaFX properties, this call is equivalent to #selectInteger(javafx.beans.value.ObservableValue, java.lang.String[]), with the {@code root} and {@code step[0]} being substituted with the relevant property object.
root - The root bean.steps - The property names to reach the final property. The first step
must be specified as it marks the property of the root bean.IntegerBindingpublic static LongBinding selectLong(Object root, String... steps)
a.b.c. The value
of the binding will be c, or 0L if c could not
be reached (due to b not having a c property,
b being null, or c not being a Number etc.).
All classes and properties used in a select-binding have to be public. If root has JavaFX properties, this call is equivalent to #selectLong(javafx.beans.value.ObservableValue, java.lang.String[]), with the {@code root} and {@code step[0]} being substituted with the relevant property object.
root - The root bean.steps - The property names to reach the final property. The first step
must be specified as it marks the property of the root bean.LongBindingpublic static BooleanBinding selectBoolean(Object root, String... steps)
a.b.c. The value
of the binding will be c, or false if c could not
be reached (due to b not having a c property,
b being null, or c not being a boolean etc.).
All classes and properties used in a select-binding have to be public. If root has JavaFX properties, this call is equivalent to #selectBoolean(javafx.beans.value.ObservableValue, java.lang.String[]), with the {@code root} and {@code step[0]} being substituted with the relevant property object.
root - The root bean.steps - The property names to reach the final property. The first step
must be specified as it marks the property of the root bean.ObjectBindingpublic static StringBinding selectString(Object root, String... steps)
a.b.c. The value
of the binding will be c, or "" if c could not
be reached (due to b not having a c property,
b being null, or c not being a String etc.).
All classes and properties used in a select-binding have to be public. If root has JavaFX properties, this call is equivalent to #selectString(javafx.beans.value.ObservableValue, java.lang.String[]), with the {@code root} and {@code step[0]} being substituted with the relevant property object.
root - The root bean.steps - The property names to reach the final property. The first step
must be specified as it marks the property of the root bean.ObjectBindingpublic static When when(ObservableBooleanValue condition)
When for details.condition - the condition of the ternary expressionWhenpublic static <T> void bindBidirectional(Property<T> property1, Property<T> property2)
Property.
A bidirectional binding is a binding that works in both directions. If
two properties a and b are linked with a bidirectional
binding and the value of a changes, b is set to the same
value automatically. And vice versa, if b changes, a is
set to the same value.
A bidirectional binding can be removed with
unbindBidirectional(Property, Property).
Note: this implementation of a bidirectional binding behaves differently from all other bindings here in two important aspects. A property that is linked to another property with a bidirectional binding can still be set (usually bindings would throw an exception). Secondly bidirectional bindings are calculated eagerly, i.e. a bound property is updated immediately.
T - the types of the propertiesproperty1 - the first Property<T>property2 - the second Property<T>NullPointerException - if one of the properties is nullIllegalArgumentException - if both properties are equalpublic static <T> void unbindBidirectional(Property<T> property1, Property<T> property2)
bindBidirectional(Property, Property).T - the types of the propertiesproperty1 - the first Property<T>property2 - the second Property<T>NullPointerException - if one of the properties is nullIllegalArgumentException - if both properties are equalpublic static void unbindBidirectional(Object property1, Object property2)
bindBidirectional(Property, Property) or
bindBidirectional(javafx.beans.property.Property, javafx.beans.property.Property, java.text.Format).property1 - the first Property<T>property2 - the second Property<T>NullPointerException - if one of the properties is nullIllegalArgumentException - if both properties are equalpublic static void bindBidirectional(Property<String> stringProperty, Property<?> otherProperty, Format format)
String-Property and another Property
using the specified Format for conversion.
A bidirectional binding is a binding that works in both directions. If
two properties a and b are linked with a bidirectional
binding and the value of a changes, b is set to the same
value automatically. And vice versa, if b changes, a is
set to the same value.
A bidirectional binding can be removed with
unbindBidirectional(Object, Object).
Note: this implementation of a bidirectional binding behaves differently from all other bindings here in two important aspects. A property that is linked to another property with a bidirectional binding can still be set (usually bindings would throw an exception). Secondly bidirectional bindings are calculated eagerly, i.e. a bound property is updated immediately.
stringProperty - the String PropertyotherProperty - the other (non-String) Propertyformat - the Format used to convert between the propertiesNullPointerException - if one of the properties or the format is nullIllegalArgumentException - if both properties are equalpublic static <T> void bindBidirectional(Property<String> stringProperty, Property<T> otherProperty, StringConverter<T> converter)
String-Property and another Property
using the specified StringConverter for conversion.
A bidirectional binding is a binding that works in both directions. If
two properties a and b are linked with a bidirectional
binding and the value of a changes, b is set to the same
value automatically. And vice versa, if b changes, a is
set to the same value.
A bidirectional binding can be removed with
unbindBidirectional(Object, Object).
Note: this implementation of a bidirectional binding behaves differently from all other bindings here in two important aspects. A property that is linked to another property with a bidirectional binding can still be set (usually bindings would throw an exception). Secondly bidirectional bindings are calculated eagerly, i.e. a bound property is updated immediately.
stringProperty - the String PropertyotherProperty - the other (non-String) Propertyconverter - the StringConverter used to convert between the propertiesNullPointerException - if one of the properties or the converter is nullIllegalArgumentException - if both properties are equalpublic static <E> void bindContentBidirectional(ObservableList<E> list1, ObservableList<E> list2)
ObservableList.
A bidirectional binding is a binding that works in both directions. If
two properties a and b are linked with a bidirectional
binding and the value of a changes, b is set to the same
value automatically. And vice versa, if b changes, a is
set to the same value.
Only the content of the two lists is synchronized, which means that both lists are different, but they contain the same elements.
A bidirectional content-binding can be removed with
unbindContentBidirectional(Object, Object).
Note: this implementation of a bidirectional binding behaves differently from all other bindings here in two important aspects. A property that is linked to another property with a bidirectional binding can still be set (usually bindings would throw an exception). Secondly bidirectional bindings are calculated eagerly, i.e. a bound property is updated immediately.
E - the type of the list elementslist1 - the first ObservableList<E>list2 - the second ObservableList<E>NullPointerException - if one of the lists is nullIllegalArgumentException - if list1 == list2public static <E> void bindContentBidirectional(ObservableSet<E> set1, ObservableSet<E> set2)
ObservableSet.
A bidirectional binding is a binding that works in both directions. If
two properties a and b are linked with a bidirectional
binding and the value of a changes, b is set to the same
value automatically. And vice versa, if b changes, a is
set to the same value.
Only the content of the two sets is synchronized, which means that both sets are different, but they contain the same elements.
A bidirectional content-binding can be removed with
unbindContentBidirectional(Object, Object).
Note: this implementation of a bidirectional binding behaves differently from all other bindings here in two important aspects. A property that is linked to another property with a bidirectional binding can still be set (usually bindings would throw an exception). Secondly bidirectional bindings are calculated eagerly, i.e. a bound property is updated immediately.
E - the type of the set elementsset1 - the first ObservableSet<E>set2 - the second ObservableSet<E>NullPointerException - if one of the sets is nullIllegalArgumentException - if set1 == set2public static <K,V> void bindContentBidirectional(ObservableMap<K,V> map1, ObservableMap<K,V> map2)
ObservableMap.
A bidirectional binding is a binding that works in both directions. If
two properties a and b are linked with a bidirectional
binding and the value of a changes, b is set to the same
value automatically. And vice versa, if b changes, a is
set to the same value.
Only the content of the two maps is synchronized, which means that both maps are different, but they contain the same elements.
A bidirectional content-binding can be removed with
unbindContentBidirectional(Object, Object).
Note: this implementation of a bidirectional binding behaves differently from all other bindings here in two important aspects. A property that is linked to another property with a bidirectional binding can still be set (usually bindings would throw an exception). Secondly bidirectional bindings are calculated eagerly, i.e. a bound property is updated immediately.
K - the type of the key elementsV - the type of the value elementsmap1 - the first ObservableMap<K, V>map2 - the second ObservableMap<K, V>public static void unbindContentBidirectional(Object obj1, Object obj2)
obj1 - the first Objectobj2 - the second Objectpublic static <E> void bindContent(List<E> list1, ObservableList<? extends E> list2)
ObservableList and a List.
A content binding ensures that the List contains the same elements as the ObservableList.
If the content of the ObservableList changes, the List will be updated automatically.
Once a List is bound to an ObservableList, the List must not be changed directly
anymore. Doing so would lead to unexpected results.
A content-binding can be removed with unbindContent(Object, Object).
E - the type of the List elementslist1 - the Listlist2 - the ObservableListpublic static <E> void bindContent(Set<E> set1, ObservableSet<? extends E> set2)
ObservableSet and a Set.
A content binding ensures that the Set contains the same elements as the ObservableSet.
If the content of the ObservableSet changes, the Set will be updated automatically.
Once a Set is bound to an ObservableSet, the Set must not be changed directly
anymore. Doing so would lead to unexpected results.
A content-binding can be removed with unbindContent(Object, Object).
E - the type of the Set elementsset1 - the Setset2 - the ObservableSetNullPointerException - if one of the sets is nullIllegalArgumentException - if set1 == set2public static <K,V> void bindContent(Map<K,V> map1, ObservableMap<? extends K,? extends V> map2)
ObservableMap and a Map.
A content binding ensures that the Map contains the same elements as the ObservableMap.
If the content of the ObservableMap changes, the Map will be updated automatically.
Once a Map is bound to an ObservableMap, the Map must not be changed directly
anymore. Doing so would lead to unexpected results.
A content-binding can be removed with unbindContent(Object, Object).
K - the type of the key elements of the MapV - the type of the value elements of the Mapmap1 - the Mapmap2 - the ObservableMapNullPointerException - if one of the maps is nullIllegalArgumentException - if map1 == map2public static void unbindContent(Object obj1, Object obj2)
obj1 - the first Objectobj2 - the second ObjectNullPointerException - if one of the Objects is nullIllegalArgumentException - if obj1 == obj2public static NumberBinding negate(ObservableNumberValue value)
NumberBinding that calculates
the negation of a ObservableNumberValue.value - the operandNumberBindingNullPointerException - if the value is nullpublic static NumberBinding add(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding that calculates
the sum of the values of two instances of
ObservableNumberValue.op1 - the first operandop2 - the second operandNumberBindingNullPointerException - if one of the operands is nullpublic static DoubleBinding add(ObservableNumberValue op1, double op2)
DoubleBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static DoubleBinding add(double op1, ObservableNumberValue op2)
DoubleBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding add(ObservableNumberValue op1, float op2)
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding add(float op1, ObservableNumberValue op2)
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding add(ObservableNumberValue op1, long op2)
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding add(long op1, ObservableNumberValue op2)
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding add(ObservableNumberValue op1, int op2)
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding add(int op1, ObservableNumberValue op2)
NumberBinding that calculates
the sum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding subtract(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding that calculates
the difference of the values of two instances of
ObservableNumberValue.op1 - the first operandop2 - the second operandNumberBindingNullPointerException - if one of the operands is nullpublic static DoubleBinding subtract(ObservableNumberValue op1, double op2)
DoubleBinding that calculates
the difference of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static DoubleBinding subtract(double op1, ObservableNumberValue op2)
DoubleBinding that calculates
the difference of a constant value and the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding subtract(ObservableNumberValue op1, float op2)
NumberBinding that calculates
the difference of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding subtract(float op1, ObservableNumberValue op2)
NumberBinding that calculates
the difference of a constant value and the value of a
ObservableNumberValue.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding subtract(ObservableNumberValue op1, long op2)
NumberBinding that calculates
the difference of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding subtract(long op1, ObservableNumberValue op2)
NumberBinding that calculates
the difference of a constant value and the value of a
ObservableNumberValue.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding subtract(ObservableNumberValue op1, int op2)
NumberBinding that calculates
the difference of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding subtract(int op1, ObservableNumberValue op2)
NumberBinding that calculates
the difference of a constant value and the value of a
ObservableNumberValue.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding multiply(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding that calculates
the product of the values of two instances of
ObservableNumberValue.op1 - the first operandop2 - the second operandNumberBindingNullPointerException - if one of the operands is nullpublic static DoubleBinding multiply(ObservableNumberValue op1, double op2)
DoubleBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static DoubleBinding multiply(double op1, ObservableNumberValue op2)
DoubleBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding multiply(ObservableNumberValue op1, float op2)
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding multiply(float op1, ObservableNumberValue op2)
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding multiply(ObservableNumberValue op1, long op2)
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding multiply(long op1, ObservableNumberValue op2)
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding multiply(ObservableNumberValue op1, int op2)
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding multiply(int op1, ObservableNumberValue op2)
NumberBinding that calculates
the product of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding divide(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding that calculates
the division of the values of two instances of
ObservableNumberValue.op1 - the first operandop2 - the second operandNumberBindingNullPointerException - if one of the operands is nullpublic static DoubleBinding divide(ObservableNumberValue op1, double op2)
DoubleBinding that calculates
the division of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static DoubleBinding divide(double op1, ObservableNumberValue op2)
DoubleBinding that calculates
the division of a constant value and the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding divide(ObservableNumberValue op1, float op2)
NumberBinding that calculates
the division of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding divide(float op1, ObservableNumberValue op2)
NumberBinding that calculates
the division of a constant value and the value of a
ObservableNumberValue.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding divide(ObservableNumberValue op1, long op2)
NumberBinding that calculates
the division of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding divide(long op1, ObservableNumberValue op2)
NumberBinding that calculates
the division of a constant value and the value of a
ObservableNumberValue.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding divide(ObservableNumberValue op1, int op2)
NumberBinding that calculates
the division of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding divide(int op1, ObservableNumberValue op2)
NumberBinding that calculates
the division of a constant value and the value of a
ObservableNumberValue.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(ObservableNumberValue op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the values of two instances of
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.
op1 - the first operandop2 - the second operandepsilon - the permitted toleranceBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding equal(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the values of two instances of
ObservableNumberValue are equal.
When comparing floating-point numbers it is recommended to use the
equal() method that allows a small tolerance.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding equal(ObservableNumberValue op1, double op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue 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.
op1 - the ObservableNumberValueop2 - the constant valueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(double op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue 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.
op1 - the constant valueop2 - the ObservableNumberValueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(ObservableNumberValue op1, float op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue 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.
op1 - the ObservableNumberValueop2 - the constant valueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(float op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue 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.
op1 - the constant valueop2 - the ObservableNumberValueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(ObservableNumberValue op1, long op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue 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.
op1 - the ObservableNumberValueop2 - the constant valueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(ObservableNumberValue op1, long op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value.
When comparing floating-point numbers it is recommended to use the
equal() method that
allows a small tolerance.
op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(long op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue 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.
op1 - the constant valueop2 - the ObservableNumberValueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(long op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value.
When comparing floating-point numbers it is recommended to use the
equal() method that
allows a small tolerance.
op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(ObservableNumberValue op1, int op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue 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.
op1 - the ObservableNumberValueop2 - the constant valueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(ObservableNumberValue op1, int op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value.
When comparing floating-point numbers it is recommended to use the
equal() method that
allows a small tolerance.
op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(int op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue 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.
op1 - the constant valueop2 - the ObservableNumberValueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding equal(int op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
equal to a constant value.
When comparing floating-point numbers it is recommended to use the
equal() method that
allows a small tolerance.
op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(ObservableNumberValue op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the values of two instances of
ObservableNumberValue are not 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.
op1 - the first operandop2 - the second operandepsilon - the permitted toleranceBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding notEqual(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the values of two instances of
ObservableNumberValue are not equal.
When comparing floating-point numbers it is recommended to use the
notEqual() method that allows a small tolerance.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding notEqual(ObservableNumberValue op1, double op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
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.
op1 - the ObservableNumberValueop2 - the constant valueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(double op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
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.
op1 - the constant valueop2 - the ObservableNumberValueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(ObservableNumberValue op1, float op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
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.
op1 - the ObservableNumberValueop2 - the constant valueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(float op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
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.
op1 - the constant valueop2 - the ObservableNumberValueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(ObservableNumberValue op1, long op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
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.
op1 - the ObservableNumberValueop2 - the constant valueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(ObservableNumberValue op1, long op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value.
When comparing floating-point numbers it is recommended to use the
notEqual() method
that allows a small tolerance.
op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(long op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
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.
op1 - the constant valueop2 - the ObservableNumberValueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(long op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value.
When comparing floating-point numbers it is recommended to use the
notEqual() method
that allows a small tolerance.
op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(ObservableNumberValue op1, int op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
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.
op1 - the ObservableNumberValueop2 - the constant valueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(ObservableNumberValue op1, int op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value.
When comparing floating-point numbers it is recommended to use the
notEqual() method
that allows a small tolerance.
op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(int op1, ObservableNumberValue op2, double epsilon)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
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.
op1 - the constant valueop2 - the ObservableNumberValueepsilon - the permitted toleranceBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding notEqual(int op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is not
equal to a constant value.
When comparing floating-point numbers it is recommended to use the
notEqual() method
that allows a small tolerance.
op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThan(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the value of the first
ObservableNumberValue is greater than the
value of the second.op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding greaterThan(ObservableNumberValue op1, double op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThan(double op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is greater than the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThan(ObservableNumberValue op1, float op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThan(float op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is greater than the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThan(ObservableNumberValue op1, long op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThan(long op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is greater than the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThan(ObservableNumberValue op1, int op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThan(int op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is greater than the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThan(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the value of the first
ObservableNumberValue is less than the value
of the second.op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding lessThan(ObservableNumberValue op1, double op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThan(double op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThan(ObservableNumberValue op1, float op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThan(float op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThan(ObservableNumberValue op1, long op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThan(long op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThan(ObservableNumberValue op1, int op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThan(int op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the value of the first
ObservableNumberValue is greater than or equal
to the value of the second.op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, double op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than or equal to a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThanOrEqual(double op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, float op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than or equal to a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThanOrEqual(float op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, long op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than or equal to a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThanOrEqual(long op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, int op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
greater than or equal to a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding greaterThanOrEqual(int op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding that holds true
if the value of the first
ObservableNumberValue is less than or equal to
the value of the second.op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, double op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than or equal to a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThanOrEqual(double op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, float op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than or equal to a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThanOrEqual(float op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, long op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than or equal to a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThanOrEqual(long op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, int op2)
BooleanBinding that holds true
if the value of a ObservableNumberValue is
less than or equal to a constant value.op1 - the ObservableNumberValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding lessThanOrEqual(int op1, ObservableNumberValue op2)
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableNumberValue.op1 - the constant valueop2 - the ObservableNumberValueBooleanBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding min(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding that calculates
the minimum of the values of two instances of
ObservableNumberValue.op1 - the first operandop2 - the second operandNumberBindingNullPointerException - if one of the operands is nullpublic static DoubleBinding min(ObservableNumberValue op1, double op2)
DoubleBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static DoubleBinding min(double op1, ObservableNumberValue op2)
DoubleBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding min(ObservableNumberValue op1, float op2)
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding min(float op1, ObservableNumberValue op2)
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding min(ObservableNumberValue op1, long op2)
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding min(long op1, ObservableNumberValue op2)
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding min(ObservableNumberValue op1, int op2)
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding min(int op1, ObservableNumberValue op2)
NumberBinding that calculates
the minimum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding max(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding that calculates
the maximum of the values of two instances of
ObservableNumberValue.op1 - the first operandop2 - the second operandNumberBindingNullPointerException - if one of the operands is nullpublic static DoubleBinding max(ObservableNumberValue op1, double op2)
DoubleBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static DoubleBinding max(double op1, ObservableNumberValue op2)
DoubleBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueDoubleBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding max(ObservableNumberValue op1, float op2)
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding max(float op1, ObservableNumberValue op2)
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding max(ObservableNumberValue op1, long op2)
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding max(long op1, ObservableNumberValue op2)
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding max(ObservableNumberValue op1, int op2)
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value.op1 - the ObservableNumberValueop2 - the constant valueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static NumberBinding max(int op1, ObservableNumberValue op2)
NumberBinding that calculates
the maximum of the value of a
ObservableNumberValue and a constant value.op1 - the constant valueop2 - the ObservableNumberValueNumberBindingNullPointerException - if the ObservableNumberValue is nullpublic static BooleanBinding and(ObservableBooleanValue op1, ObservableBooleanValue op2)
BooleanBinding that calculates the conditional-AND
operation on the value of two instance of
ObservableBooleanValue.op1 - first ObservableBooleanValueop2 - second ObservableBooleanValueBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding or(ObservableBooleanValue op1, ObservableBooleanValue op2)
BooleanBinding that calculates the conditional-OR
operation on the value of two instance of
ObservableBooleanValue.op1 - first ObservableBooleanValueop2 - second ObservableBooleanValueBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding not(ObservableBooleanValue op)
BooleanBinding that calculates the inverse of the value
of a ObservableBooleanValue.op - the ObservableBooleanValueBooleanBindingNullPointerException - if the operand is nullpublic static BooleanBinding equal(ObservableBooleanValue op1, ObservableBooleanValue op2)
BooleanBinding that holds true if the values of two
instances of ObservableBooleanValue are equal.op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding notEqual(ObservableBooleanValue op1, ObservableBooleanValue op2)
BooleanBinding that holds true if the values of two
instances of ObservableBooleanValue are not
equal.op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static StringExpression convert(ObservableValue<?> observableValue)
StringExpression that wraps a
ObservableValue. If the
ObservableValue is already a StringExpression, it will be
returned. Otherwise a new StringBinding is
created that holds the value of the ObservableValue converted to
a String.observableValue - The source ObservableValueStringExpression that wraps the ObservableValue
if necessaryNullPointerException - if observableValue is nullpublic static StringExpression concat(Object... args)
StringExpression that holds the
value of the concatenation of multiple Objects.
If one of the arguments implements
ObservableValue and the value of this
ObservableValue changes, the change is automatically reflected in
the StringExpression.
If null or an empty array is passed to this method, a
StringExpression that contains an empty String is
returned
args - the Objects that should be concatenatedStringExpressionpublic static StringExpression format(String format, Object... args)
StringExpression that holds the
value of multiple Objects formatted according to a format
String.
If one of the arguments implements
ObservableValue and the value of this
ObservableValue changes, the change is automatically reflected in
the StringExpression.
See java.util.Formatter for formatting rules.
format - the formatting Stringargs - the Objects that should be inserted in the formatting
StringStringExpressionpublic static StringExpression format(Locale locale, String format, Object... args)
StringExpression that holds the
value of multiple Objects formatted according to a format
String and a specified Locale
If one of the arguments implements
ObservableValue and the value of this
ObservableValue changes, the change is automatically reflected in
the StringExpression.
See java.util.Formatter for formatting rules. See
java.util.Locale for details on Locale.
locale - the Locale to use during formattingformat - the formatting Stringargs - the Objects that should be inserted in the formatting
StringStringExpressionpublic static BooleanBinding equal(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding that holds true
if the values of two instances of
ObservableStringValue are equal.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding equal(ObservableStringValue op1, String op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is
equal to a constant value.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the ObservableStringValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding equal(String op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is
equal to a constant value.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the constant valueop2 - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding notEqual(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding that holds true
if the values of two instances of
ObservableStringValue are not equal.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding notEqual(ObservableStringValue op1, String op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is not
equal to a constant value.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the ObservableStringValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding notEqual(String op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is not
equal to a constant value.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the constant valueop2 - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding equalIgnoreCase(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding that holds true
if the values of two instances of
ObservableStringValue are equal ignoring case.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding equalIgnoreCase(ObservableStringValue op1, String op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is
equal to a constant value ignoring case.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the ObservableStringValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding equalIgnoreCase(String op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is
equal to a constant value ignoring case.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the constant valueop2 - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding notEqualIgnoreCase(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding that holds true
if the values of two instances of
ObservableStringValue are not equal ignoring
case.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding notEqualIgnoreCase(ObservableStringValue op1, String op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is not
equal to a constant value ignoring case.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the ObservableStringValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding notEqualIgnoreCase(String op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is not
equal to a constant value ignoring case.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the constant valueop2 - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding greaterThan(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of the first
ObservableStringValue is greater than the
value of the second.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding greaterThan(ObservableStringValue op1, String op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is
greater than a constant value.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the ObservableStringValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding greaterThan(String op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of a constant value is greater than the value of a
ObservableStringValue.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the constant valueop2 - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding lessThan(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of the first
ObservableStringValue is less than the value
of the second.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding lessThan(ObservableStringValue op1, String op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is
less than a constant value.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the ObservableStringValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding lessThan(String op1, ObservableStringValue op2)
BooleanBinding that holds true
if a constant value is less than the value of a
ObservableStringValue.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the constant valueop2 - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding greaterThanOrEqual(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of the first
ObservableStringValue is greater than or equal
to the value of the second.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding greaterThanOrEqual(ObservableStringValue op1, String op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is
greater than or equal to a constant value.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the ObservableStringValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding greaterThanOrEqual(String op1, ObservableStringValue op2)
BooleanBinding that holds true
if a constant value is greater than or equal to the value of a
ObservableStringValue.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the constant valueop2 - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding lessThanOrEqual(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding that holds true
if the value of the first
ObservableStringValue is less than or equal to
the value of the second.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding lessThanOrEqual(ObservableStringValue op1, String op2)
BooleanBinding that holds true
if the value of a ObservableStringValue is
less than or equal to a constant value.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the ObservableStringValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding lessThanOrEqual(String op1, ObservableStringValue op2)
BooleanBinding that holds true
if a constant value is less than or equal to the value of a
ObservableStringValue.
Note: In this comparison a String that is null is
considered equal to an empty String.
op1 - the constant valueop2 - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static IntegerBinding length(ObservableStringValue op)
IntegerBinding that holds the length of a
ObservableStringValue.
Note: In this comparison a String that is null is
considered to have a length of 0.
op - the ObservableStringValueIntegerBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding isEmpty(ObservableStringValue op)
BooleanBinding that holds true
if the value of a ObservableStringValue is empty.
Note: In this comparison a String that is null is
considered to be empty.
op - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding isNotEmpty(ObservableStringValue op)
BooleanBinding that holds true
if the value of a ObservableStringValue is not empty.
Note: In this comparison a String that is null is
considered to be empty.
op - the ObservableStringValueBooleanBindingNullPointerException - if the ObservableStringValue is nullpublic static BooleanBinding equal(ObservableObjectValue<?> op1, ObservableObjectValue<?> op2)
BooleanBinding that holds true
if the values of two instances of
ObservableObjectValue are equal.op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding equal(ObservableObjectValue<?> op1, Object op2)
BooleanBinding that holds true
if the value of an ObservableObjectValue is
equal to a constant value.op1 - the ObservableCharacterValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableCharacterValue is nullpublic static BooleanBinding equal(Object op1, ObservableObjectValue<?> op2)
BooleanBinding that holds true
if the value of an ObservableObjectValue is
equal to a constant value.op1 - the constant valueop2 - the ObservableCharacterValueBooleanBindingNullPointerException - if the ObservableCharacterValue is nullpublic static BooleanBinding notEqual(ObservableObjectValue<?> op1, ObservableObjectValue<?> op2)
BooleanBinding that holds true
if the values of two instances of
ObservableObjectValue are not equal.op1 - the first operandop2 - the second operandBooleanBindingNullPointerException - if one of the operands is nullpublic static BooleanBinding notEqual(ObservableObjectValue<?> op1, Object op2)
BooleanBinding that holds true
if the value of an ObservableObjectValue is
not equal to a constant value.op1 - the ObservableObjectValueop2 - the constant valueBooleanBindingNullPointerException - if the ObservableObjectValue is nullpublic static BooleanBinding notEqual(Object op1, ObservableObjectValue<?> op2)
BooleanBinding that holds true
if the value of an ObservableObjectValue is
not equal to a constant value.op1 - the constant valueop2 - the ObservableObjectValueBooleanBindingNullPointerException - if the ObservableObjectValue is nullpublic static BooleanBinding isNull(ObservableObjectValue<?> op)
op - the ObservableObjectValueBooleanBindingNullPointerException - if the ObservableObjectValue is nullpublic static BooleanBinding isNotNull(ObservableObjectValue<?> op)
op - the ObservableObjectValueBooleanBindingNullPointerException - if the ObservableObjectValue is nullpublic static <E> IntegerBinding size(ObservableList<E> op)
IntegerBinding that contains the size
of an ObservableList.E - type of the List elementsop - the ObservableListIntegerBindingNullPointerException - if the ObservableList is nullpublic static <E> BooleanBinding isEmpty(ObservableList<E> op)
E - type of the List elementsop - the ObservableListBooleanBindingNullPointerException - if the ObservableList is nullpublic static <E> BooleanBinding isNotEmpty(ObservableList<E> op)
E - type of the List elementsop - the ObservableListBooleanBindingNullPointerException - if the ObservableList is nullpublic static <E> ObjectBinding<E> valueAt(ObservableList<E> op, int index)
ObjectBinding that contains the element
of an ObservableList at the specified position. The ObjectBinding
will contain null, if the index points behind the ObservableList.E - the type of the List elementsop - the ObservableListindex - the position in the ListObjectBindingNullPointerException - if the ObservableList is nullIllegalArgumentException - if (@code index < 0}public static <E> ObjectBinding<E> valueAt(ObservableList<E> op, ObservableIntegerValue index)
ObjectBinding that contains the element
of an ObservableList at the specified position. The ObjectBinding
will contain null, if the index is outside of the ObservableList.E - the type of the List elementsop - the ObservableListindex - the position in the ListObjectBindingNullPointerException - if the ObservableList or index is nullpublic static <E> ObjectBinding<E> valueAt(ObservableList<E> op, ObservableNumberValue index)
ObjectBinding that contains the element
of an ObservableList at the specified position. The ObjectBinding
will contain null, if the index is outside of the ObservableList.E - the type of the List elementsop - the ObservableListindex - the position in the List, converted to intObjectBindingNullPointerException - if the ObservableList or index is nullpublic static BooleanBinding booleanValueAt(ObservableList<Boolean> op, int index)
BooleanBinding that contains the element
of an ObservableList at the specified position. The BooleanBinding
will hold false, if the index points behind the ObservableList.op - the ObservableListindex - the position in the ListBooleanBindingNullPointerException - if the ObservableList is nullIllegalArgumentException - if (@code index < 0}public static BooleanBinding booleanValueAt(ObservableList<Boolean> op, ObservableIntegerValue index)
BooleanBinding that contains the element
of an ObservableList at the specified position. The BooleanBinding
will hold false, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the ListBooleanBindingNullPointerException - if the ObservableList or index is nullpublic static BooleanBinding booleanValueAt(ObservableList<Boolean> op, ObservableNumberValue index)
BooleanBinding that contains the element
of an ObservableList at the specified position. The BooleanBinding
will hold false, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the List, converted to intBooleanBindingNullPointerException - if the ObservableList or index is nullpublic static DoubleBinding doubleValueAt(ObservableList<? extends Number> op, int index)
DoubleBinding that contains the element
of an ObservableList at the specified position. The DoubleBinding
will hold 0.0, if the index points behind the ObservableList.op - the ObservableListindex - the position in the ListDoubleBindingNullPointerException - if the ObservableList is nullIllegalArgumentException - if (@code index < 0}public static DoubleBinding doubleValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
DoubleBinding that contains the element
of an ObservableList at the specified position. The DoubleBinding
will hold 0.0, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the ListDoubleBindingNullPointerException - if the ObservableList or index is nullpublic static DoubleBinding doubleValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
DoubleBinding that contains the element
of an ObservableList at the specified position. The DoubleBinding
will hold 0.0, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the List, converted to intDoubleBindingNullPointerException - if the ObservableList or index is nullpublic static FloatBinding floatValueAt(ObservableList<? extends Number> op, int index)
FloatBinding that contains the element
of an ObservableList at the specified position. The FloatBinding
will hold 0.0f, if the index points behind the ObservableList.op - the ObservableListindex - the position in the ListFloatBindingNullPointerException - if the ObservableList is nullIllegalArgumentException - if (@code index < 0}public static FloatBinding floatValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
FloatBinding that contains the element
of an ObservableList at the specified position. The FloatBinding
will hold 0.0f, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the ListFloatBindingNullPointerException - if the ObservableList or index is nullpublic static FloatBinding floatValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
FloatBinding that contains the element
of an ObservableList at the specified position. The FloatBinding
will hold 0.0f, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the List, converted to intFloatBindingNullPointerException - if the ObservableList or index is nullpublic static IntegerBinding integerValueAt(ObservableList<? extends Number> op, int index)
IntegerBinding that contains the element
of an ObservableList at the specified position. The IntegerBinding
will hold 0, if the index points behind the ObservableList.op - the ObservableListindex - the position in the ListIntegerBindingNullPointerException - if the ObservableList is nullIllegalArgumentException - if (@code index < 0}public static IntegerBinding integerValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
IntegerBinding that contains the element
of an ObservableList at the specified position. The IntegerBinding
will hold 0, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the ListIntegerBindingNullPointerException - if the ObservableList or index is nullpublic static IntegerBinding integerValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
IntegerBinding that contains the element
of an ObservableList at the specified position. The IntegerBinding
will hold 0, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the List, converted to intIntegerBindingNullPointerException - if the ObservableList or index is nullpublic static LongBinding longValueAt(ObservableList<? extends Number> op, int index)
LongBinding that contains the element
of an ObservableList at the specified position. The LongBinding
will hold 0L, if the index points behind the ObservableList.op - the ObservableListindex - the position in the ListLongBindingNullPointerException - if the ObservableList is nullIllegalArgumentException - if (@code index < 0}public static LongBinding longValueAt(ObservableList<? extends Number> op, ObservableIntegerValue index)
LongBinding that contains the element
of an ObservableList at the specified position. The LongBinding
will hold 0L, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the ListLongBindingNullPointerException - if the ObservableList or index is nullpublic static LongBinding longValueAt(ObservableList<? extends Number> op, ObservableNumberValue index)
LongBinding that contains the element
of an ObservableList at the specified position. The LongBinding
will hold 0L, if the index is outside of the ObservableList.op - the ObservableListindex - the position in the List, converted to intLongBindingNullPointerException - if the ObservableList or index is nullpublic static StringBinding stringValueAt(ObservableList<String> op, int index)
StringBinding that contains the element
of an ObservableList at the specified position. The StringBinding
will hold null, if the index points behind the ObservableList.op - the ObservableListindex - the position in the ListStringBindingNullPointerException - if the ObservableList is nullIllegalArgumentException - if (@code index < 0}public static StringBinding stringValueAt(ObservableList<String> op, ObservableIntegerValue index)
StringBinding that contains the element
of an ObservableList at the specified position. The StringBinding
will hold "", if the index is outside of the ObservableList.op - the ObservableListindex - the position in the ListStringBindingNullPointerException - if the ObservableList or index is nullpublic static StringBinding stringValueAt(ObservableList<String> op, ObservableNumberValue index)
StringBinding that contains the element
of an ObservableList at the specified position. The StringBinding
will hold "", if the index is outside of the ObservableList.op - the ObservableListindex - the position in the List, converted to intStringBindingNullPointerException - if the ObservableList or index is nullpublic static <E> IntegerBinding size(ObservableSet<E> op)
IntegerBinding that contains the size
of an ObservableSet.E - the type of the Set elementsop - the ObservableSetIntegerBindingNullPointerException - if the ObservableSet is nullpublic static <E> BooleanBinding isEmpty(ObservableSet<E> op)
E - the type of the Set elementsop - the ObservableSetBooleanBindingNullPointerException - if the ObservableSet is nullpublic static <E> BooleanBinding isNotEmpty(ObservableSet<E> op)
E - the type of the Set elementsop - the ObservableSetBooleanBindingNullPointerException - if the ObservableSet is nullpublic static IntegerBinding size(ObservableArray op)
IntegerBinding that contains the size
of an ObservableArray.op - the ObservableArrayIntegerBindingNullPointerException - if the ObservableArray is nullpublic static FloatBinding floatValueAt(ObservableFloatArray op, int index)
FloatBinding that contains the element
of an ObservableArray at the specified position. The FloatBinding
will hold 0.0f, if the index points behind the ObservableArray.op - the ObservableArrayindex - the position in the ObservableArrayFloatBindingNullPointerException - if the ObservableArray is nullIllegalArgumentException - if (@code index < 0}public static FloatBinding floatValueAt(ObservableFloatArray op, ObservableIntegerValue index)
FloatBinding that contains the element
of an ObservableArray at the specified position. The FloatBinding
will hold 0.0f, if the index is outside of the ObservableArray.op - the ObservableArrayindex - the position in the ObservableArrayFloatBindingNullPointerException - if the ObservableArray or index is nullpublic static FloatBinding floatValueAt(ObservableFloatArray op, ObservableNumberValue index)
FloatBinding that contains the element
of an ObservableArray at the specified position. The FloatBinding
will hold 0.0f, if the index is outside of the ObservableArray.op - the ObservableArrayindex - the position in the ObservableArray, converted to intFloatBindingNullPointerException - if the ObservableArray or index is nullpublic static IntegerBinding integerValueAt(ObservableIntegerArray op, int index)
IntegerBinding that contains the element
of an ObservableArray at the specified position. The IntegerBinding
will hold 0, if the index points behind the ObservableArray.op - the ObservableArrayindex - the position in the ObservableArrayIntegerBindingNullPointerException - if the ObservableArray is nullIllegalArgumentException - if (@code index < 0}public static IntegerBinding integerValueAt(ObservableIntegerArray op, ObservableIntegerValue index)
IntegerBinding that contains the element
of an ObservableArray at the specified position. The IntegerBinding
will hold 0, if the index is outside of the ObservableArray.op - the ObservableArrayindex - the position in the ObservableArrayIntegerBindingNullPointerException - if the ObservableArray or index is nullpublic static IntegerBinding integerValueAt(ObservableIntegerArray op, ObservableNumberValue index)
IntegerBinding that contains the element
of an ObservableArray at the specified position. The IntegerBinding
will hold 0, if the index is outside of the ObservableArray.op - the ObservableArrayindex - the position in the ObservableArray, converted to intIntegerBindingNullPointerException - if the ObservableArray or index is nullpublic static <K,V> IntegerBinding size(ObservableMap<K,V> op)
IntegerBinding that contains the size
of an ObservableMap.K - type of the key elements of the MapV - type of the value elements of the Mapop - the ObservableMapIntegerBindingNullPointerException - if the ObservableMap is nullpublic static <K,V> BooleanBinding isEmpty(ObservableMap<K,V> op)
K - type of the key elements of the MapV - type of the value elements of the Mapop - the ObservableMapBooleanBindingNullPointerException - if the ObservableMap is nullpublic static <K,V> BooleanBinding isNotEmpty(ObservableMap<K,V> op)
K - type of the key elements of the MapV - type of the value elements of the Mapop - the ObservableMapBooleanBindingNullPointerException - if the ObservableMap is nullpublic static <K,V> ObjectBinding<V> valueAt(ObservableMap<K,V> op, K key)
ObjectBinding that contains the mapping of a specific key
in an ObservableMap.K - type of the key elements of the MapV - type of the value elements of the Mapop - the ObservableMapkey - the key in the MapObjectBindingNullPointerException - if the ObservableMap is nullpublic static <K,V> ObjectBinding<V> valueAt(ObservableMap<K,V> op, ObservableValue<? extends K> key)
ObjectBinding that contains the mapping of a specific key
in an ObservableMap.K - type of the key elements of the MapV - type of the value elements of the Mapop - the ObservableMapkey - the key in the MapObjectBindingNullPointerException - if the ObservableMap or key is nullpublic static <K> BooleanBinding booleanValueAt(ObservableMap<K,Boolean> op, K key)
BooleanBinding that contains the mapping of a specific key
in an ObservableMap. The BooleanBinding
will hold false, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapBooleanBindingNullPointerException - if the ObservableMap is nullpublic static <K> BooleanBinding booleanValueAt(ObservableMap<K,Boolean> op, ObservableValue<? extends K> key)
BooleanBinding that contains the mapping of a specific key
in an ObservableMap. The BooleanBinding
will hold false, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapBooleanBindingNullPointerException - if the ObservableMap or key is nullpublic static <K> DoubleBinding doubleValueAt(ObservableMap<K,? extends Number> op, K key)
DoubleBinding that contains the mapping of a specific key
in an ObservableMap. The DoubleBinding
will hold 0.0, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapDoubleBindingNullPointerException - if the ObservableMap is nullpublic static <K> DoubleBinding doubleValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
DoubleBinding that contains the mapping of a specific key
in an ObservableMap. The DoubleBinding
will hold 0.0, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapDoubleBindingNullPointerException - if the ObservableMap or key is nullpublic static <K> FloatBinding floatValueAt(ObservableMap<K,? extends Number> op, K key)
FloatBinding that contains the mapping of a specific key
in an ObservableMap. The FloatBinding
will hold 0.0f, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapFloatBindingNullPointerException - if the ObservableMap is nullpublic static <K> FloatBinding floatValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
FloatBinding that contains the mapping of a specific key
in an ObservableMap. The FloatBinding
will hold 0.0f, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapFloatBindingNullPointerException - if the ObservableMap or key is nullpublic static <K> IntegerBinding integerValueAt(ObservableMap<K,? extends Number> op, K key)
IntegerBinding that contains the mapping of a specific key
in an ObservableMap. The IntegerBinding
will hold 0, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapIntegerBindingNullPointerException - if the ObservableMap is nullpublic static <K> IntegerBinding integerValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
IntegerBinding that contains the mapping of a specific key
in an ObservableMap. The IntegerBinding
will hold 0, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapIntegerBindingNullPointerException - if the ObservableMap or key is nullpublic static <K> LongBinding longValueAt(ObservableMap<K,? extends Number> op, K key)
LongBinding that contains the mapping of a specific key
in an ObservableMap. The LongBinding
will hold 0L, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapLongBindingNullPointerException - if the ObservableMap is nullpublic static <K> LongBinding longValueAt(ObservableMap<K,? extends Number> op, ObservableValue<? extends K> key)
LongBinding that contains the mapping of a specific key
in an ObservableMap. The LongBinding
will hold 0L, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapLongBindingNullPointerException - if the ObservableMap or key is nullpublic static <K> StringBinding stringValueAt(ObservableMap<K,String> op, K key)
StringBinding that contains the mapping of a specific key
in an ObservableMap. The StringBinding
will hold null, if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapStringBindingNullPointerException - if the ObservableMap is nullpublic static <K> StringBinding stringValueAt(ObservableMap<K,String> op, ObservableValue<? extends K> key)
StringBinding that contains the mapping of a specific key
in an ObservableMap. The StringBinding
will hold "", if the key cannot be found in the ObservableMap.K - type of the key elements of the Mapop - the ObservableMapkey - the key in the MapStringBindingNullPointerException - if the ObservableMap or key is nullCopyright (c) 2008, 2015, Oracle and/or its affiliates. All rights reserved.