public final class Bindings
extends java.lang.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
javafx.beans.value.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.
Deploying an Application as a Module
If any class used in a select-binding (see the various select*
methods) is in a named module, then it must be reflectively accessible to the
javafx.base
module.
A class is reflectively accessible if the module
opens
the containing package to at
least the javafx.base
module.
For example, if com.foo.MyClass
is in the foo.app
module,
the module-info.java
might
look like this:
module foo.app {
opens com.foo to javafx.base;
}
Alternatively, a class is reflectively accessible if the module
exports
the containing package
unconditionally.
Binding
,
NumberBinding
Modifier and Type | Class and Description |
---|---|
private static class |
Bindings.BooleanAndBinding |
private static class |
Bindings.BooleanOrBinding |
private static class |
Bindings.ShortCircuitAndInvalidator |
private static class |
Bindings.ShortCircuitOrInvalidator |
Modifier | Constructor and Description |
---|---|
private |
Bindings() |
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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
private static NumberBinding |
add(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static BooleanBinding |
and(ObservableBooleanValue op1,
ObservableBooleanValue op2)
Creates a
BooleanBinding that calculates the conditional-AND
operation on the value of two instance of
javafx.beans.value.ObservableBooleanValue . |
static <T> void |
bindBidirectional(<any> property1,
<any> property2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
javafx.beans.property.Property . |
static <T> void |
bindBidirectional(<any> stringProperty,
<any> otherProperty,
<any> converter)
Generates a bidirectional binding (or "bind with inverse") between a
String -javafx.beans.property.Property and another Property
using the specified javafx.util.StringConverter for conversion. |
static void |
bindBidirectional(<any> stringProperty,
<any> otherProperty,
java.text.Format format)
Generates a bidirectional binding (or "bind with inverse") between a
String -javafx.beans.property.Property and another Property
using the specified Format for conversion. |
static <E> void |
bindContent(java.util.List<E> list1,
<any> list2)
Generates a content binding between an
javafx.collections.ObservableList and a List . |
static <K,V> void |
bindContent(java.util.Map<K,V> map1,
<any> map2)
Generates a content binding between an
javafx.collections.ObservableMap and a Map . |
static <E> void |
bindContent(java.util.Set<E> set1,
<any> set2)
Generates a content binding between an
javafx.collections.ObservableSet and a Set . |
static <E> void |
bindContentBidirectional(<any> list1,
<any> list2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
javafx.collections.ObservableList . |
static <E> void |
bindContentBidirectional(<any> set1,
<any> set2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
javafx.collections.ObservableSet . |
static <K,V> void |
bindContentBidirectional(<any> map1,
<any> map2)
Generates a bidirectional binding (or "bind with inverse") between two
instances of
javafx.collections.ObservableMap . |
static <K> BooleanBinding |
booleanValueAt(<any> op,
<any> key)
Creates a new
BooleanBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static BooleanBinding |
booleanValueAt(<any> op,
int index)
Creates a new
BooleanBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static <K> BooleanBinding |
booleanValueAt(<any> op,
K key)
Creates a new
BooleanBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static BooleanBinding |
booleanValueAt(<any> op,
ObservableIntegerValue index)
Creates a new
BooleanBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static BooleanBinding |
booleanValueAt(<any> op,
ObservableNumberValue index)
Creates a new
BooleanBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static StringExpression |
concat(java.lang.Object... args)
Returns a
StringExpression that holds the
value of the concatenation of multiple Objects . |
static StringExpression |
convert(<any> observableValue)
Returns a
StringExpression that wraps a
javafx.beans.value.ObservableValue . |
static BooleanBinding |
createBooleanBinding(java.util.concurrent.Callable<java.lang.Boolean> func,
Observable... dependencies)
Helper function to create a custom
BooleanBinding . |
static DoubleBinding |
createDoubleBinding(java.util.concurrent.Callable<java.lang.Double> func,
Observable... dependencies)
Helper function to create a custom
DoubleBinding . |
static FloatBinding |
createFloatBinding(java.util.concurrent.Callable<java.lang.Float> func,
Observable... dependencies)
Helper function to create a custom
FloatBinding . |
static IntegerBinding |
createIntegerBinding(java.util.concurrent.Callable<java.lang.Integer> func,
Observable... dependencies)
Helper function to create a custom
IntegerBinding . |
static LongBinding |
createLongBinding(java.util.concurrent.Callable<java.lang.Long> func,
Observable... dependencies)
Helper function to create a custom
LongBinding . |
static <T> ObjectBinding<T> |
createObjectBinding(java.util.concurrent.Callable<T> func,
Observable... dependencies)
Helper function to create a custom
ObjectBinding . |
static StringBinding |
createStringBinding(java.util.concurrent.Callable<java.lang.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
static DoubleBinding |
divide(ObservableNumberValue op1,
double op2)
Creates a new
DoubleBinding that calculates
the division of the value of a
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
private static NumberBinding |
divide(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static <K> DoubleBinding |
doubleValueAt(<any> op,
<any> key)
Creates a new
DoubleBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static DoubleBinding |
doubleValueAt(<any> op,
int index)
Creates a new
DoubleBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static <K> DoubleBinding |
doubleValueAt(<any> op,
K key)
Creates a new
DoubleBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static DoubleBinding |
doubleValueAt(<any> op,
ObservableIntegerValue index)
Creates a new
DoubleBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static DoubleBinding |
doubleValueAt(<any> op,
ObservableNumberValue index)
Creates a new
DoubleBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static BooleanBinding |
equal(<any> op1,
<any> op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
javafx.beans.value.ObservableObjectValue are equal. |
private static BooleanBinding |
equal(<any> op1,
<any> op2,
Observable... dependencies) |
static BooleanBinding |
equal(<any> op1,
java.lang.Object op2)
Creates a new
BooleanBinding that holds true
if the value of an javafx.beans.value.ObservableObjectValue is
equal to a constant value. |
static BooleanBinding |
equal(double op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.ObservableNumberValue is
equal to a constant value (with a tolerance). |
static BooleanBinding |
equal(java.lang.Object op1,
<any> op2)
Creates a new
BooleanBinding that holds true
if the value of an javafx.beans.value.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 javafx.beans.value.ObservableBooleanValue are equal. |
static BooleanBinding |
equal(ObservableNumberValue op1,
double op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue are equal (with a
tolerance). |
private static BooleanBinding |
equal(ObservableNumberValue op1,
ObservableNumberValue op2,
double epsilon,
Observable... dependencies) |
static BooleanBinding |
equal(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
javafx.beans.value.ObservableStringValue are equal. |
private static BooleanBinding |
equal(ObservableStringValue op1,
ObservableStringValue op2,
Observable... dependencies) |
static BooleanBinding |
equal(ObservableStringValue op1,
java.lang.String op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is
equal to a constant value. |
static BooleanBinding |
equal(java.lang.String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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
javafx.beans.value.ObservableStringValue are equal ignoring case. |
private static BooleanBinding |
equalIgnoreCase(ObservableStringValue op1,
ObservableStringValue op2,
Observable... dependencies) |
static BooleanBinding |
equalIgnoreCase(ObservableStringValue op1,
java.lang.String op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is
equal to a constant value ignoring case. |
static BooleanBinding |
equalIgnoreCase(java.lang.String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is
equal to a constant value ignoring case. |
static <K> FloatBinding |
floatValueAt(<any> op,
<any> key)
Creates a new
FloatBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static FloatBinding |
floatValueAt(<any> op,
int index)
Creates a new
FloatBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static <K> FloatBinding |
floatValueAt(<any> op,
K key)
Creates a new
FloatBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static FloatBinding |
floatValueAt(<any> op,
ObservableIntegerValue index)
Creates a new
FloatBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static FloatBinding |
floatValueAt(<any> op,
ObservableNumberValue index)
Creates a new
FloatBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static FloatBinding |
floatValueAt(ObservableFloatArray op,
int index)
Creates a new
FloatBinding that contains the element
of an javafx.collections.ObservableArray at the specified position. |
static FloatBinding |
floatValueAt(ObservableFloatArray op,
ObservableIntegerValue index)
Creates a new
FloatBinding that contains the element
of an javafx.collections.ObservableArray at the specified position. |
static FloatBinding |
floatValueAt(ObservableFloatArray op,
ObservableNumberValue index)
Creates a new
FloatBinding that contains the element
of an javafx.collections.ObservableArray at the specified position. |
static StringExpression |
format(java.util.Locale locale,
java.lang.String format,
java.lang.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(java.lang.String format,
java.lang.Object... args)
Creates a
StringExpression that holds the
value of multiple Objects formatted according to a format
String . |
private static java.lang.String |
getStringSafe(java.lang.String value) |
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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
static BooleanBinding |
greaterThan(ObservableNumberValue op1,
double op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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
javafx.beans.value.ObservableNumberValue is greater than the
value of the second. |
private static BooleanBinding |
greaterThan(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static BooleanBinding |
greaterThan(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
javafx.beans.value.ObservableStringValue is greater than the
value of the second. |
private static BooleanBinding |
greaterThan(ObservableStringValue op1,
ObservableStringValue op2,
Observable... dependencies) |
static BooleanBinding |
greaterThan(ObservableStringValue op1,
java.lang.String op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is
greater than a constant value. |
static BooleanBinding |
greaterThan(java.lang.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
static BooleanBinding |
greaterThanOrEqual(ObservableNumberValue op1,
double op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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
javafx.beans.value.ObservableNumberValue is greater than or equal
to the value of the second. |
private static BooleanBinding |
greaterThanOrEqual(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static BooleanBinding |
greaterThanOrEqual(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
javafx.beans.value.ObservableStringValue is greater than or equal
to the value of the second. |
private static BooleanBinding |
greaterThanOrEqual(ObservableStringValue op1,
ObservableStringValue op2,
Observable... dependencies) |
static BooleanBinding |
greaterThanOrEqual(ObservableStringValue op1,
java.lang.String op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is
greater than or equal to a constant value. |
static BooleanBinding |
greaterThanOrEqual(java.lang.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
javafx.beans.value.ObservableStringValue . |
static <K> IntegerBinding |
integerValueAt(<any> op,
<any> key)
Creates a new
IntegerBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static IntegerBinding |
integerValueAt(<any> op,
int index)
Creates a new
IntegerBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static <K> IntegerBinding |
integerValueAt(<any> op,
K key)
Creates a new
IntegerBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static IntegerBinding |
integerValueAt(<any> op,
ObservableIntegerValue index)
Creates a new
IntegerBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static IntegerBinding |
integerValueAt(<any> op,
ObservableNumberValue index)
Creates a new
IntegerBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static IntegerBinding |
integerValueAt(ObservableIntegerArray op,
int index)
Creates a new
IntegerBinding that contains the element
of an javafx.collections.ObservableArray at the specified position. |
static IntegerBinding |
integerValueAt(ObservableIntegerArray op,
ObservableIntegerValue index)
Creates a new
IntegerBinding that contains the element
of an javafx.collections.ObservableArray at the specified position. |
static IntegerBinding |
integerValueAt(ObservableIntegerArray op,
ObservableNumberValue index)
Creates a new
IntegerBinding that contains the element
of an javafx.collections.ObservableArray at the specified position. |
static <E> BooleanBinding |
isEmpty(<any> op)
|
static <E> BooleanBinding |
isEmpty(<any> op)
|
static <K,V> BooleanBinding |
isEmpty(<any> op)
|
static BooleanBinding |
isEmpty(ObservableStringValue op)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is empty. |
static <E> BooleanBinding |
isNotEmpty(<any> op)
Creates a new
BooleanBinding that holds true
if a given javafx.collections.ObservableList is not empty. |
static <E> BooleanBinding |
isNotEmpty(<any> op)
Creates a new
BooleanBinding that holds true
if a given javafx.collections.ObservableSet is not empty. |
static <K,V> BooleanBinding |
isNotEmpty(<any> op)
Creates a new
BooleanBinding that holds true
if a given javafx.collections.ObservableMap is not empty. |
static BooleanBinding |
isNotEmpty(ObservableStringValue op)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is not empty. |
static BooleanBinding |
isNotNull(<any> op)
Creates a new
BooleanBinding that holds true
if the value of an javafx.beans.value.ObservableObjectValue is
not null . |
static BooleanBinding |
isNull(<any> op)
Creates a new
BooleanBinding that holds true
if the value of an javafx.beans.value.ObservableObjectValue is
null . |
static IntegerBinding |
length(ObservableStringValue op)
Creates a new
IntegerBinding that holds the length of a
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
static BooleanBinding |
lessThan(ObservableNumberValue op1,
double op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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
javafx.beans.value.ObservableNumberValue is less than the value
of the second. |
private static BooleanBinding |
lessThan(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static BooleanBinding |
lessThan(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
javafx.beans.value.ObservableStringValue is less than the value
of the second. |
private static BooleanBinding |
lessThan(ObservableStringValue op1,
ObservableStringValue op2,
Observable... dependencies) |
static BooleanBinding |
lessThan(ObservableStringValue op1,
java.lang.String op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is
less than a constant value. |
static BooleanBinding |
lessThan(java.lang.String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if a constant value is less than the value of a
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
static BooleanBinding |
lessThanOrEqual(ObservableNumberValue op1,
double op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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
javafx.beans.value.ObservableNumberValue is less than or equal to
the value of the second. |
private static BooleanBinding |
lessThanOrEqual(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static BooleanBinding |
lessThanOrEqual(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of the first
javafx.beans.value.ObservableStringValue is less than or equal to
the value of the second. |
private static BooleanBinding |
lessThanOrEqual(ObservableStringValue op1,
ObservableStringValue op2,
Observable... dependencies) |
static BooleanBinding |
lessThanOrEqual(ObservableStringValue op1,
java.lang.String op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is
less than or equal to a constant value. |
static BooleanBinding |
lessThanOrEqual(java.lang.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
javafx.beans.value.ObservableStringValue . |
static <K> LongBinding |
longValueAt(<any> op,
<any> key)
Creates a new
LongBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static LongBinding |
longValueAt(<any> op,
int index)
Creates a new
LongBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static <K> LongBinding |
longValueAt(<any> op,
K key)
Creates a new
LongBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static LongBinding |
longValueAt(<any> op,
ObservableIntegerValue index)
Creates a new
LongBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static LongBinding |
longValueAt(<any> op,
ObservableNumberValue index)
Creates a new
LongBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static DoubleBinding |
max(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the maximum of the value of a
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
private static NumberBinding |
max(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static DoubleBinding |
min(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the minimum of the value of a
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
private static NumberBinding |
min(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static DoubleBinding |
multiply(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the product of the value of a
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
private static NumberBinding |
multiply(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static NumberBinding |
negate(ObservableNumberValue value)
Creates a new
NumberBinding that calculates
the negation of a javafx.beans.value.ObservableNumberValue . |
static BooleanBinding |
not(ObservableBooleanValue op)
Creates a
BooleanBinding that calculates the inverse of the value
of a javafx.beans.value.ObservableBooleanValue . |
static BooleanBinding |
notEqual(<any> op1,
<any> op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
javafx.beans.value.ObservableObjectValue are not equal. |
private static BooleanBinding |
notEqual(<any> op1,
<any> op2,
Observable... dependencies) |
static BooleanBinding |
notEqual(<any> op1,
java.lang.Object op2)
Creates a new
BooleanBinding that holds true
if the value of an javafx.beans.value.ObservableObjectValue is
not equal to a constant value. |
static BooleanBinding |
notEqual(double op1,
ObservableNumberValue op2,
double epsilon)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.ObservableNumberValue is not
equal to a constant value (with a tolerance). |
static BooleanBinding |
notEqual(java.lang.Object op1,
<any> op2)
Creates a new
BooleanBinding that holds true
if the value of an javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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 javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue are not equal (with a
tolerance). |
private static BooleanBinding |
notEqual(ObservableNumberValue op1,
ObservableNumberValue op2,
double epsilon,
Observable... dependencies) |
static BooleanBinding |
notEqual(ObservableStringValue op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the values of two instances of
javafx.beans.value.ObservableStringValue are not equal. |
private static BooleanBinding |
notEqual(ObservableStringValue op1,
ObservableStringValue op2,
Observable... dependencies) |
static BooleanBinding |
notEqual(ObservableStringValue op1,
java.lang.String op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is not
equal to a constant value. |
static BooleanBinding |
notEqual(java.lang.String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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
javafx.beans.value.ObservableStringValue are not equal ignoring
case. |
private static BooleanBinding |
notEqualIgnoreCase(ObservableStringValue op1,
ObservableStringValue op2,
Observable... dependencies) |
static BooleanBinding |
notEqualIgnoreCase(ObservableStringValue op1,
java.lang.String op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.ObservableStringValue is not
equal to a constant value ignoring case. |
static BooleanBinding |
notEqualIgnoreCase(java.lang.String op1,
ObservableStringValue op2)
Creates a new
BooleanBinding that holds true
if the value of a javafx.beans.value.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
javafx.beans.value.ObservableBooleanValue . |
static <T> ObjectBinding<T> |
select(<any> root,
java.lang.String... steps)
Creates a binding used to get a member, such as
a.b.c . |
static BooleanBinding |
selectBoolean(<any> root,
java.lang.String... steps)
Creates a binding used to get a member, such as
a.b.c . |
static DoubleBinding |
selectDouble(<any> root,
java.lang.String... steps)
Creates a binding used to get a member, such as
a.b.c . |
static FloatBinding |
selectFloat(<any> root,
java.lang.String... steps)
Creates a binding used to get a member, such as
a.b.c . |
static IntegerBinding |
selectInteger(<any> root,
java.lang.String... steps)
Creates a binding used to get a member, such as
a.b.c . |
static LongBinding |
selectLong(<any> root,
java.lang.String... steps)
Creates a binding used to get a member, such as
a.b.c . |
static StringBinding |
selectString(<any> root,
java.lang.String... steps)
Creates a binding used to get a member, such as
a.b.c . |
static <E> IntegerBinding |
size(<any> op)
Creates a new
IntegerBinding that contains the size
of an javafx.collections.ObservableList . |
static <E> IntegerBinding |
size(<any> op)
Creates a new
IntegerBinding that contains the size
of an javafx.collections.ObservableSet . |
static <K,V> IntegerBinding |
size(<any> op)
Creates a new
IntegerBinding that contains the size
of an javafx.collections.ObservableMap . |
static IntegerBinding |
size(ObservableArray op)
Creates a new
IntegerBinding that contains the size
of an javafx.collections.ObservableArray . |
static <K> StringBinding |
stringValueAt(<any> op,
<any> key)
Creates a new
StringBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static StringBinding |
stringValueAt(<any> op,
int index)
Creates a new
StringBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static <K> StringBinding |
stringValueAt(<any> op,
K key)
Creates a new
StringBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static StringBinding |
stringValueAt(<any> op,
ObservableIntegerValue index)
Creates a new
StringBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static StringBinding |
stringValueAt(<any> op,
ObservableNumberValue index)
Creates a new
StringBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static DoubleBinding |
subtract(double op1,
ObservableNumberValue op2)
Creates a new
DoubleBinding that calculates
the difference of a constant value and the value of a
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
static DoubleBinding |
subtract(ObservableNumberValue op1,
double op2)
Creates a new
DoubleBinding that calculates
the difference of the value of a
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.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
javafx.beans.value.ObservableNumberValue . |
private static NumberBinding |
subtract(ObservableNumberValue op1,
ObservableNumberValue op2,
Observable... dependencies) |
static <T> void |
unbindBidirectional(<any> property1,
<any> property2)
Delete a bidirectional binding that was previously defined with
#bindBidirectional(Property, Property) . |
static void |
unbindBidirectional(java.lang.Object property1,
java.lang.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 void |
unbindContent(java.lang.Object obj1,
java.lang.Object obj2)
Remove a content binding.
|
static void |
unbindContentBidirectional(java.lang.Object obj1,
java.lang.Object obj2)
Remove a bidirectional content binding.
|
static <K,V> ObjectBinding<V> |
valueAt(<any> op,
<any> key)
Creates a new
ObjectBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static <E> ObjectBinding<E> |
valueAt(<any> op,
int index)
Creates a new
ObjectBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static <K,V> ObjectBinding<V> |
valueAt(<any> op,
K key)
Creates a new
ObjectBinding that contains the mapping of a specific key
in an javafx.collections.ObservableMap . |
static <E> ObjectBinding<E> |
valueAt(<any> op,
ObservableIntegerValue index)
Creates a new
ObjectBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static <E> ObjectBinding<E> |
valueAt(<any> op,
ObservableNumberValue index)
Creates a new
ObjectBinding that contains the element
of an javafx.collections.ObservableList at the specified position. |
static When |
when(ObservableBooleanValue condition)
Creates a binding that calculates the result of a ternary expression.
|
public static BooleanBinding createBooleanBinding(java.util.concurrent.Callable<java.lang.Boolean> func, Observable... dependencies)
BooleanBinding
.func
- The function that calculates the value of this bindingdependencies
- The dependencies of this bindingpublic static DoubleBinding createDoubleBinding(java.util.concurrent.Callable<java.lang.Double> func, Observable... dependencies)
DoubleBinding
.func
- The function that calculates the value of this bindingdependencies
- The dependencies of this bindingpublic static FloatBinding createFloatBinding(java.util.concurrent.Callable<java.lang.Float> func, Observable... dependencies)
FloatBinding
.func
- The function that calculates the value of this bindingdependencies
- The dependencies of this bindingpublic static IntegerBinding createIntegerBinding(java.util.concurrent.Callable<java.lang.Integer> func, Observable... dependencies)
IntegerBinding
.func
- The function that calculates the value of this bindingdependencies
- The dependencies of this bindingpublic static LongBinding createLongBinding(java.util.concurrent.Callable<java.lang.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(java.util.concurrent.Callable<T> func, Observable... dependencies)
ObjectBinding
.T
- the type of the bound Object
func
- The function that calculates the value of this bindingdependencies
- The dependencies of this bindingpublic static StringBinding createStringBinding(java.util.concurrent.Callable<java.lang.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(<any> root, java.lang.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
declared public.
Additionally, if any class is in a named module, then it must be
reflectively accessible to the javafx.base
module (see
Deploying an Application as a Module).
Note: since 8.0, JavaBeans properties are supported and might be in the chain.
T
- the type of the wrapped Object
root
- The root javafx.beans.value.ObservableValue
steps
- The property names to reach the final propertyObjectBinding
public static DoubleBinding selectDouble(<any> root, java.lang.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
declared public.
Additionally, if any class is in a named module, then it must be
reflectively accessible to the javafx.base
module (see
Deploying an Application as a Module).
Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root
- The root javafx.beans.value.ObservableValue
steps
- The property names to reach the final propertyDoubleBinding
public static FloatBinding selectFloat(<any> root, java.lang.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
declared public.
Additionally, if any class is in a named module, then it must be
reflectively accessible to the javafx.base
module (see
Deploying an Application as a Module).
Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root
- The root javafx.beans.value.ObservableValue
steps
- The property names to reach the final propertyFloatBinding
public static IntegerBinding selectInteger(<any> root, java.lang.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
declared public.
Additionally, if any class is in a named module, then it must be
reflectively accessible to the javafx.base
module (see
Deploying an Application as a Module).
Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root
- The root javafx.beans.value.ObservableValue
steps
- The property names to reach the final propertyIntegerBinding
public static LongBinding selectLong(<any> root, java.lang.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
declared public.
Additionally, if any class is in a named module, then it must be
reflectively accessible to the javafx.base
module (see
Deploying an Application as a Module).
Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root
- The root javafx.beans.value.ObservableValue
steps
- The property names to reach the final propertyLongBinding
public static BooleanBinding selectBoolean(<any> root, java.lang.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
declared public.
Additionally, if any class is in a named module, then it must be
reflectively accessible to the javafx.base
module (see
Deploying an Application as a Module).
Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root
- The root javafx.beans.value.ObservableValue
steps
- The property names to reach the final propertyObjectBinding
public static StringBinding selectString(<any> root, java.lang.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
declared public.
Additionally, if any class is in a named module, then it must be
reflectively accessible to the javafx.base
module (see
Deploying an Application as a Module).
Note: since 8.0, JavaBeans properties are supported and might be in the chain.
root
- The root javafx.beans.value.ObservableValue
steps
- The property names to reach the final propertyObjectBinding
public static When when(ObservableBooleanValue condition)
When
for details.condition
- the condition of the ternary expressionWhen
public static <T> void bindBidirectional(<any> property1, <any> property2)
javafx.beans.property.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>
java.lang.NullPointerException
- if one of the properties is null
java.lang.IllegalArgumentException
- if both properties are equalpublic static <T> void unbindBidirectional(<any> property1, <any> property2)
#bindBidirectional(Property, Property)
.T
- the types of the propertiesproperty1
- the first Property<T>
property2
- the second Property<T>
java.lang.NullPointerException
- if one of the properties is null
java.lang.IllegalArgumentException
- if both properties are equalpublic static void unbindBidirectional(java.lang.Object property1, java.lang.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>
java.lang.NullPointerException
- if one of the properties is null
java.lang.IllegalArgumentException
- if both properties are equalpublic static void bindBidirectional(<any> stringProperty, <any> otherProperty, java.text.Format format)
String
-javafx.beans.property.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
Property
otherProperty
- the other (non-String
) Property
format
- the Format
used to convert between the propertiesjava.lang.NullPointerException
- if one of the properties or the format
is null
java.lang.IllegalArgumentException
- if both properties are equalpublic static <T> void bindBidirectional(<any> stringProperty, <any> otherProperty, <any> converter)
String
-javafx.beans.property.Property
and another Property
using the specified javafx.util.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.
T
- the type of the wrapped Object
stringProperty
- the String
Property
otherProperty
- the other (non-String
) Property
converter
- the StringConverter
used to convert between the propertiesjava.lang.NullPointerException
- if one of the properties or the converter
is null
java.lang.IllegalArgumentException
- if both properties are equalpublic static <E> void bindContentBidirectional(<any> list1, <any> list2)
javafx.collections.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>
java.lang.NullPointerException
- if one of the lists is null
java.lang.IllegalArgumentException
- if list1
== list2
public static <E> void bindContentBidirectional(<any> set1, <any> set2)
javafx.collections.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>
java.lang.NullPointerException
- if one of the sets is null
java.lang.IllegalArgumentException
- if set1
== set2
public static <K,V> void bindContentBidirectional(<any> map1, <any> map2)
javafx.collections.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(java.lang.Object obj1, java.lang.Object obj2)
obj1
- the first Object
obj2
- the second Object
public static <E> void bindContent(java.util.List<E> list1, <any> list2)
javafx.collections.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 List
list2
- the ObservableList
public static <E> void bindContent(java.util.Set<E> set1, <any> set2)
javafx.collections.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 Set
set2
- the ObservableSet
java.lang.NullPointerException
- if one of the sets is null
java.lang.IllegalArgumentException
- if set1
== set2
public static <K,V> void bindContent(java.util.Map<K,V> map1, <any> map2)
javafx.collections.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 Map
V
- the type of the value elements of the Map
map1
- the Map
map2
- the ObservableMap
java.lang.NullPointerException
- if one of the maps is null
java.lang.IllegalArgumentException
- if map1
== map2
public static void unbindContent(java.lang.Object obj1, java.lang.Object obj2)
obj1
- the first Object
obj2
- the second Object
java.lang.NullPointerException
- if one of the Objects
is null
java.lang.IllegalArgumentException
- if obj1
== obj2
public static NumberBinding negate(ObservableNumberValue value)
NumberBinding
that calculates
the negation of a javafx.beans.value.ObservableNumberValue
.value
- the operandNumberBinding
java.lang.NullPointerException
- if the value is null
private static NumberBinding add(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static NumberBinding add(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding
that calculates
the sum of the values of two instances of
javafx.beans.value.ObservableNumberValue
.op1
- the first operandop2
- the second operandNumberBinding
java.lang.NullPointerException
- if one of the operands is null
public static DoubleBinding add(ObservableNumberValue op1, double op2)
DoubleBinding
that calculates
the sum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueDoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static DoubleBinding add(double op1, ObservableNumberValue op2)
DoubleBinding
that calculates
the sum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
DoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding add(ObservableNumberValue op1, float op2)
NumberBinding
that calculates
the sum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding add(float op1, ObservableNumberValue op2)
NumberBinding
that calculates
the sum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding add(ObservableNumberValue op1, long op2)
NumberBinding
that calculates
the sum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding add(long op1, ObservableNumberValue op2)
NumberBinding
that calculates
the sum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding add(ObservableNumberValue op1, int op2)
NumberBinding
that calculates
the sum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding add(int op1, ObservableNumberValue op2)
NumberBinding
that calculates
the sum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static NumberBinding subtract(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static NumberBinding subtract(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding
that calculates
the difference of the values of two instances of
javafx.beans.value.ObservableNumberValue
.op1
- the first operandop2
- the second operandNumberBinding
java.lang.NullPointerException
- if one of the operands is null
public static DoubleBinding subtract(ObservableNumberValue op1, double op2)
DoubleBinding
that calculates
the difference of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueDoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static DoubleBinding subtract(double op1, ObservableNumberValue op2)
DoubleBinding
that calculates
the difference of a constant value and the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
DoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding subtract(ObservableNumberValue op1, float op2)
NumberBinding
that calculates
the difference of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding subtract(float op1, ObservableNumberValue op2)
NumberBinding
that calculates
the difference of a constant value and the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding subtract(ObservableNumberValue op1, long op2)
NumberBinding
that calculates
the difference of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding subtract(long op1, ObservableNumberValue op2)
NumberBinding
that calculates
the difference of a constant value and the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding subtract(ObservableNumberValue op1, int op2)
NumberBinding
that calculates
the difference of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding subtract(int op1, ObservableNumberValue op2)
NumberBinding
that calculates
the difference of a constant value and the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static NumberBinding multiply(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static NumberBinding multiply(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding
that calculates
the product of the values of two instances of
javafx.beans.value.ObservableNumberValue
.op1
- the first operandop2
- the second operandNumberBinding
java.lang.NullPointerException
- if one of the operands is null
public static DoubleBinding multiply(ObservableNumberValue op1, double op2)
DoubleBinding
that calculates
the product of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueDoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static DoubleBinding multiply(double op1, ObservableNumberValue op2)
DoubleBinding
that calculates
the product of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
DoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding multiply(ObservableNumberValue op1, float op2)
NumberBinding
that calculates
the product of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding multiply(float op1, ObservableNumberValue op2)
NumberBinding
that calculates
the product of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding multiply(ObservableNumberValue op1, long op2)
NumberBinding
that calculates
the product of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding multiply(long op1, ObservableNumberValue op2)
NumberBinding
that calculates
the product of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding multiply(ObservableNumberValue op1, int op2)
NumberBinding
that calculates
the product of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding multiply(int op1, ObservableNumberValue op2)
NumberBinding
that calculates
the product of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static NumberBinding divide(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static NumberBinding divide(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding
that calculates
the division of the values of two instances of
javafx.beans.value.ObservableNumberValue
.op1
- the first operandop2
- the second operandNumberBinding
java.lang.NullPointerException
- if one of the operands is null
public static DoubleBinding divide(ObservableNumberValue op1, double op2)
DoubleBinding
that calculates
the division of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueDoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static DoubleBinding divide(double op1, ObservableNumberValue op2)
DoubleBinding
that calculates
the division of a constant value and the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
DoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding divide(ObservableNumberValue op1, float op2)
NumberBinding
that calculates
the division of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding divide(float op1, ObservableNumberValue op2)
NumberBinding
that calculates
the division of a constant value and the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding divide(ObservableNumberValue op1, long op2)
NumberBinding
that calculates
the division of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding divide(long op1, ObservableNumberValue op2)
NumberBinding
that calculates
the division of a constant value and the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding divide(ObservableNumberValue op1, int op2)
NumberBinding
that calculates
the division of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding divide(int op1, ObservableNumberValue op2)
NumberBinding
that calculates
the division of a constant value and the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static BooleanBinding equal(ObservableNumberValue op1, ObservableNumberValue op2, double epsilon, Observable... dependencies)
public static BooleanBinding equal(ObservableNumberValue op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.ObservableNumberValue
are equal (with a
tolerance).
Two operands a
and b
are considered equal if
Math.abs(a-b) <= epsilon
.
Allowing a small tolerance is recommended when comparing floating-point numbers because of rounding-errors.
op1
- the first operandop2
- the second operandepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding equal(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding equal(ObservableNumberValue op1, double op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(double op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
epsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(ObservableNumberValue op1, float op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(float op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
epsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(ObservableNumberValue op1, long op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(ObservableNumberValue op1, long op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(long op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
epsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(long op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(ObservableNumberValue op1, int op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(ObservableNumberValue op1, int op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(int op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
epsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding equal(int op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static BooleanBinding notEqual(ObservableNumberValue op1, ObservableNumberValue op2, double epsilon, Observable... dependencies)
public static BooleanBinding notEqual(ObservableNumberValue op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.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 toleranceBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding notEqual(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding notEqual(ObservableNumberValue op1, double op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(double op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
epsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(ObservableNumberValue op1, float op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(float op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
epsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(ObservableNumberValue op1, long op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(ObservableNumberValue op1, long op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(long op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
epsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(long op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(ObservableNumberValue op1, int op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueepsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(ObservableNumberValue op1, int op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(int op1, ObservableNumberValue op2, double epsilon)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
epsilon
- the permitted toleranceBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding notEqual(int op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static BooleanBinding greaterThan(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static BooleanBinding greaterThan(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the value of the first
javafx.beans.value.ObservableNumberValue
is greater than the
value of the second.op1
- the first operandop2
- the second operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding greaterThan(ObservableNumberValue op1, double op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
greater than a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThan(double op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if a constant value is greater than the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThan(ObservableNumberValue op1, float op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
greater than a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThan(float op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if a constant value is greater than the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThan(ObservableNumberValue op1, long op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
greater than a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThan(long op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if a constant value is greater than the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThan(ObservableNumberValue op1, int op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
greater than a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThan(int op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if a constant value is greater than the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static BooleanBinding lessThan(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static BooleanBinding lessThan(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the value of the first
javafx.beans.value.ObservableNumberValue
is less than the value
of the second.op1
- the first operandop2
- the second operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding lessThan(ObservableNumberValue op1, double op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
less than a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThan(double op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if a constant value is less than the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThan(ObservableNumberValue op1, float op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
less than a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThan(float op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if a constant value is less than the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThan(ObservableNumberValue op1, long op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
less than a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThan(long op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if a constant value is less than the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThan(ObservableNumberValue op1, int op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
less than a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThan(int op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if a constant value is less than the value of a
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the value of the first
javafx.beans.value.ObservableNumberValue
is greater than or equal
to the value of the second.op1
- the first operandop2
- the second operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, double op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
greater than or equal to a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public 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
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, float op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
greater than or equal to a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public 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
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, long op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
greater than or equal to a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public 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
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding greaterThanOrEqual(ObservableNumberValue op1, int op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
greater than or equal to a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public 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
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, ObservableNumberValue op2)
BooleanBinding
that holds true
if the value of the first
javafx.beans.value.ObservableNumberValue
is less than or equal to
the value of the second.op1
- the first operandop2
- the second operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, double op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
less than or equal to a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public 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
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, float op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
less than or equal to a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public 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
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, long op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
less than or equal to a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public 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
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding lessThanOrEqual(ObservableNumberValue op1, int op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableNumberValue
is
less than or equal to a constant value.op1
- the ObservableNumberValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public 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
javafx.beans.value.ObservableNumberValue
.op1
- the constant valueop2
- the ObservableNumberValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static NumberBinding min(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static NumberBinding min(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding
that calculates
the minimum of the values of two instances of
javafx.beans.value.ObservableNumberValue
.op1
- the first operandop2
- the second operandNumberBinding
java.lang.NullPointerException
- if one of the operands is null
public static DoubleBinding min(ObservableNumberValue op1, double op2)
DoubleBinding
that calculates
the minimum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueDoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static DoubleBinding min(double op1, ObservableNumberValue op2)
DoubleBinding
that calculates
the minimum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
DoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding min(ObservableNumberValue op1, float op2)
NumberBinding
that calculates
the minimum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding min(float op1, ObservableNumberValue op2)
NumberBinding
that calculates
the minimum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding min(ObservableNumberValue op1, long op2)
NumberBinding
that calculates
the minimum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding min(long op1, ObservableNumberValue op2)
NumberBinding
that calculates
the minimum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding min(ObservableNumberValue op1, int op2)
NumberBinding
that calculates
the minimum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding min(int op1, ObservableNumberValue op2)
NumberBinding
that calculates
the minimum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
private static NumberBinding max(ObservableNumberValue op1, ObservableNumberValue op2, Observable... dependencies)
public static NumberBinding max(ObservableNumberValue op1, ObservableNumberValue op2)
NumberBinding
that calculates
the maximum of the values of two instances of
javafx.beans.value.ObservableNumberValue
.op1
- the first operandop2
- the second operandNumberBinding
java.lang.NullPointerException
- if one of the operands is null
public static DoubleBinding max(ObservableNumberValue op1, double op2)
DoubleBinding
that calculates
the maximum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueDoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static DoubleBinding max(double op1, ObservableNumberValue op2)
DoubleBinding
that calculates
the maximum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
DoubleBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding max(ObservableNumberValue op1, float op2)
NumberBinding
that calculates
the maximum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding max(float op1, ObservableNumberValue op2)
NumberBinding
that calculates
the maximum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding max(ObservableNumberValue op1, long op2)
NumberBinding
that calculates
the maximum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding max(long op1, ObservableNumberValue op2)
NumberBinding
that calculates
the maximum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding max(ObservableNumberValue op1, int op2)
NumberBinding
that calculates
the maximum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the ObservableNumberValue
op2
- the constant valueNumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static NumberBinding max(int op1, ObservableNumberValue op2)
NumberBinding
that calculates
the maximum of the value of a
javafx.beans.value.ObservableNumberValue
and a constant value.op1
- the constant valueop2
- the ObservableNumberValue
NumberBinding
java.lang.NullPointerException
- if the ObservableNumberValue
is null
public static BooleanBinding and(ObservableBooleanValue op1, ObservableBooleanValue op2)
BooleanBinding
that calculates the conditional-AND
operation on the value of two instance of
javafx.beans.value.ObservableBooleanValue
.op1
- first ObservableBooleanValue
op2
- second ObservableBooleanValue
BooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding or(ObservableBooleanValue op1, ObservableBooleanValue op2)
BooleanBinding
that calculates the conditional-OR
operation on the value of two instance of
javafx.beans.value.ObservableBooleanValue
.op1
- first ObservableBooleanValue
op2
- second ObservableBooleanValue
BooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding not(ObservableBooleanValue op)
BooleanBinding
that calculates the inverse of the value
of a javafx.beans.value.ObservableBooleanValue
.op
- the ObservableBooleanValue
BooleanBinding
java.lang.NullPointerException
- if the operand is null
public static BooleanBinding equal(ObservableBooleanValue op1, ObservableBooleanValue op2)
BooleanBinding
that holds true
if the values of two
instances of javafx.beans.value.ObservableBooleanValue
are equal.op1
- the first operandop2
- the second operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding notEqual(ObservableBooleanValue op1, ObservableBooleanValue op2)
BooleanBinding
that holds true
if the values of two
instances of javafx.beans.value.ObservableBooleanValue
are not
equal.op1
- the first operandop2
- the second operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static StringExpression convert(<any> observableValue)
StringExpression
that wraps a
javafx.beans.value.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 ObservableValue
StringExpression
that wraps the ObservableValue
if necessaryjava.lang.NullPointerException
- if observableValue
is null
public static StringExpression concat(java.lang.Object... args)
StringExpression
that holds the
value of the concatenation of multiple Objects
.
If one of the arguments implements
javafx.beans.value.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 concatenatedStringExpression
public static StringExpression format(java.lang.String format, java.lang.Object... args)
StringExpression
that holds the
value of multiple Objects
formatted according to a format
String
.
If one of the arguments implements
javafx.beans.value.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 String
args
- the Objects
that should be inserted in the formatting
String
StringExpression
public static StringExpression format(java.util.Locale locale, java.lang.String format, java.lang.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
javafx.beans.value.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 String
args
- the Objects
that should be inserted in the formatting
String
StringExpression
private static java.lang.String getStringSafe(java.lang.String value)
private static BooleanBinding equal(ObservableStringValue op1, ObservableStringValue op2, Observable... dependencies)
public static BooleanBinding equal(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding equal(ObservableStringValue op1, java.lang.String op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding equal(java.lang.String op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
private static BooleanBinding notEqual(ObservableStringValue op1, ObservableStringValue op2, Observable... dependencies)
public static BooleanBinding notEqual(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding notEqual(ObservableStringValue op1, java.lang.String op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding notEqual(java.lang.String op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
private static BooleanBinding equalIgnoreCase(ObservableStringValue op1, ObservableStringValue op2, Observable... dependencies)
public static BooleanBinding equalIgnoreCase(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding equalIgnoreCase(ObservableStringValue op1, java.lang.String op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding equalIgnoreCase(java.lang.String op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
private static BooleanBinding notEqualIgnoreCase(ObservableStringValue op1, ObservableStringValue op2, Observable... dependencies)
public static BooleanBinding notEqualIgnoreCase(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding notEqualIgnoreCase(ObservableStringValue op1, java.lang.String op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding notEqualIgnoreCase(java.lang.String op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
private static BooleanBinding greaterThan(ObservableStringValue op1, ObservableStringValue op2, Observable... dependencies)
public static BooleanBinding greaterThan(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of the first
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding greaterThan(ObservableStringValue op1, java.lang.String op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding greaterThan(java.lang.String op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of a constant value is greater than the value of a
javafx.beans.value.ObservableStringValue
.
Note: In this comparison a String
that is null
is
considered equal to an empty String
.
op1
- the constant valueop2
- the ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
private static BooleanBinding lessThan(ObservableStringValue op1, ObservableStringValue op2, Observable... dependencies)
public static BooleanBinding lessThan(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of the first
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding lessThan(ObservableStringValue op1, java.lang.String op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding lessThan(java.lang.String op1, ObservableStringValue op2)
BooleanBinding
that holds true
if a constant value is less than the value of a
javafx.beans.value.ObservableStringValue
.
Note: In this comparison a String
that is null
is
considered equal to an empty String
.
op1
- the constant valueop2
- the ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
private static BooleanBinding greaterThanOrEqual(ObservableStringValue op1, ObservableStringValue op2, Observable... dependencies)
public static BooleanBinding greaterThanOrEqual(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of the first
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding greaterThanOrEqual(ObservableStringValue op1, java.lang.String op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding greaterThanOrEqual(java.lang.String op1, ObservableStringValue op2)
BooleanBinding
that holds true
if a constant value is greater than or equal to the value of a
javafx.beans.value.ObservableStringValue
.
Note: In this comparison a String
that is null
is
considered equal to an empty String
.
op1
- the constant valueop2
- the ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
private static BooleanBinding lessThanOrEqual(ObservableStringValue op1, ObservableStringValue op2, Observable... dependencies)
public static BooleanBinding lessThanOrEqual(ObservableStringValue op1, ObservableStringValue op2)
BooleanBinding
that holds true
if the value of the first
javafx.beans.value.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 operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding lessThanOrEqual(ObservableStringValue op1, java.lang.String op2)
BooleanBinding
that holds true
if the value of a javafx.beans.value.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 ObservableStringValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding lessThanOrEqual(java.lang.String op1, ObservableStringValue op2)
BooleanBinding
that holds true
if a constant value is less than or equal to the value of a
javafx.beans.value.ObservableStringValue
.
Note: In this comparison a String
that is null
is
considered equal to an empty String
.
op1
- the constant valueop2
- the ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static IntegerBinding length(ObservableStringValue op)
IntegerBinding
that holds the length of a
javafx.beans.value.ObservableStringValue
.
Note: In this comparison a String
that is null
is
considered to have a length of 0
.
op
- the ObservableStringValue
IntegerBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding isEmpty(ObservableStringValue op)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableStringValue
is empty.
Note: In this comparison a String
that is null
is
considered to be empty.
op
- the ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
public static BooleanBinding isNotEmpty(ObservableStringValue op)
BooleanBinding
that holds true
if the value of a javafx.beans.value.ObservableStringValue
is not empty.
Note: In this comparison a String
that is null
is
considered to be empty.
op
- the ObservableStringValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableStringValue
is null
private static BooleanBinding equal(<any> op1, <any> op2, Observable... dependencies)
public static BooleanBinding equal(<any> op1, <any> op2)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.ObservableObjectValue
are equal.op1
- the first operandop2
- the second operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding equal(<any> op1, java.lang.Object op2)
BooleanBinding
that holds true
if the value of an javafx.beans.value.ObservableObjectValue
is
equal to a constant value.op1
- the ObservableObjectValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableObjectValue
is null
public static BooleanBinding equal(java.lang.Object op1, <any> op2)
BooleanBinding
that holds true
if the value of an javafx.beans.value.ObservableObjectValue
is
equal to a constant value.op1
- the constant valueop2
- the ObservableObjectValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableObjectValue
is null
private static BooleanBinding notEqual(<any> op1, <any> op2, Observable... dependencies)
public static BooleanBinding notEqual(<any> op1, <any> op2)
BooleanBinding
that holds true
if the values of two instances of
javafx.beans.value.ObservableObjectValue
are not equal.op1
- the first operandop2
- the second operandBooleanBinding
java.lang.NullPointerException
- if one of the operands is null
public static BooleanBinding notEqual(<any> op1, java.lang.Object op2)
BooleanBinding
that holds true
if the value of an javafx.beans.value.ObservableObjectValue
is
not equal to a constant value.op1
- the ObservableObjectValue
op2
- the constant valueBooleanBinding
java.lang.NullPointerException
- if the ObservableObjectValue
is null
public static BooleanBinding notEqual(java.lang.Object op1, <any> op2)
BooleanBinding
that holds true
if the value of an javafx.beans.value.ObservableObjectValue
is
not equal to a constant value.op1
- the constant valueop2
- the ObservableObjectValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableObjectValue
is null
public static BooleanBinding isNull(<any> op)
BooleanBinding
that holds true
if the value of an javafx.beans.value.ObservableObjectValue
is
null
.op
- the ObservableObjectValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableObjectValue
is null
public static BooleanBinding isNotNull(<any> op)
BooleanBinding
that holds true
if the value of an javafx.beans.value.ObservableObjectValue
is
not null
.op
- the ObservableObjectValue
BooleanBinding
java.lang.NullPointerException
- if the ObservableObjectValue
is null
public static <E> IntegerBinding size(<any> op)
IntegerBinding
that contains the size
of an javafx.collections.ObservableList
.E
- type of the List
elementsop
- the ObservableList
IntegerBinding
java.lang.NullPointerException
- if the ObservableList
is null
public static <E> BooleanBinding isEmpty(<any> op)
E
- type of the List
elementsop
- the ObservableList
BooleanBinding
java.lang.NullPointerException
- if the ObservableList
is null
public static <E> BooleanBinding isNotEmpty(<any> op)
BooleanBinding
that holds true
if a given javafx.collections.ObservableList
is not empty.E
- type of the List
elementsop
- the ObservableList
BooleanBinding
java.lang.NullPointerException
- if the ObservableList
is null
public static <E> ObjectBinding<E> valueAt(<any> op, int index)
ObjectBinding
that contains the element
of an javafx.collections.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 ObservableList
index
- the position in the List
ObjectBinding
java.lang.NullPointerException
- if the ObservableList
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static <E> ObjectBinding<E> valueAt(<any> op, ObservableIntegerValue index)
ObjectBinding
that contains the element
of an javafx.collections.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 ObservableList
index
- the position in the List
ObjectBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static <E> ObjectBinding<E> valueAt(<any> op, ObservableNumberValue index)
ObjectBinding
that contains the element
of an javafx.collections.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 ObservableList
index
- the position in the List
, converted to intObjectBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static BooleanBinding booleanValueAt(<any> op, int index)
BooleanBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The BooleanBinding
will hold false
if the index
points behind the ObservableList
.op
- the ObservableList
index
- the position in the List
BooleanBinding
java.lang.NullPointerException
- if the ObservableList
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static BooleanBinding booleanValueAt(<any> op, ObservableIntegerValue index)
BooleanBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The BooleanBinding
will hold false
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
BooleanBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static BooleanBinding booleanValueAt(<any> op, ObservableNumberValue index)
BooleanBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The BooleanBinding
will hold false
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
, converted to intBooleanBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static DoubleBinding doubleValueAt(<any> op, int index)
DoubleBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The DoubleBinding
will hold 0.0
if the index
points behind the ObservableList
.op
- the ObservableList
index
- the position in the List
DoubleBinding
java.lang.NullPointerException
- if the ObservableList
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static DoubleBinding doubleValueAt(<any> op, ObservableIntegerValue index)
DoubleBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The DoubleBinding
will hold 0.0
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
DoubleBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static DoubleBinding doubleValueAt(<any> op, ObservableNumberValue index)
DoubleBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The DoubleBinding
will hold 0.0
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
, converted to intDoubleBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static FloatBinding floatValueAt(<any> op, int index)
FloatBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The FloatBinding
will hold 0.0f
if the index
points behind the ObservableList
.op
- the ObservableList
index
- the position in the List
FloatBinding
java.lang.NullPointerException
- if the ObservableList
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static FloatBinding floatValueAt(<any> op, ObservableIntegerValue index)
FloatBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The FloatBinding
will hold 0.0f
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
FloatBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static FloatBinding floatValueAt(<any> op, ObservableNumberValue index)
FloatBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The FloatBinding
will hold 0.0f
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
, converted to intFloatBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static IntegerBinding integerValueAt(<any> op, int index)
IntegerBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The IntegerBinding
will hold 0
if the index
points behind the ObservableList
.op
- the ObservableList
index
- the position in the List
IntegerBinding
java.lang.NullPointerException
- if the ObservableList
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static IntegerBinding integerValueAt(<any> op, ObservableIntegerValue index)
IntegerBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The IntegerBinding
will hold 0
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
IntegerBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static IntegerBinding integerValueAt(<any> op, ObservableNumberValue index)
IntegerBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The IntegerBinding
will hold 0
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
, converted to intIntegerBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static LongBinding longValueAt(<any> op, int index)
LongBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The LongBinding
will hold 0L
if the index
points behind the ObservableList
.op
- the ObservableList
index
- the position in the List
LongBinding
java.lang.NullPointerException
- if the ObservableList
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static LongBinding longValueAt(<any> op, ObservableIntegerValue index)
LongBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The LongBinding
will hold 0L
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
LongBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static LongBinding longValueAt(<any> op, ObservableNumberValue index)
LongBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The LongBinding
will hold 0L
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
, converted to intLongBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static StringBinding stringValueAt(<any> op, int index)
StringBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The StringBinding
will hold null
if the index
points behind the ObservableList
.op
- the ObservableList
index
- the position in the List
StringBinding
java.lang.NullPointerException
- if the ObservableList
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static StringBinding stringValueAt(<any> op, ObservableIntegerValue index)
StringBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The StringBinding
will hold ""
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
StringBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static StringBinding stringValueAt(<any> op, ObservableNumberValue index)
StringBinding
that contains the element
of an javafx.collections.ObservableList
at the specified position. The StringBinding
will hold ""
if the index
is outside of the ObservableList
.op
- the ObservableList
index
- the position in the List
, converted to intStringBinding
java.lang.NullPointerException
- if the ObservableList
or index
is null
public static <E> IntegerBinding size(<any> op)
IntegerBinding
that contains the size
of an javafx.collections.ObservableSet
.E
- the type of the Set
elementsop
- the ObservableSet
IntegerBinding
java.lang.NullPointerException
- if the ObservableSet
is null
public static <E> BooleanBinding isEmpty(<any> op)
E
- the type of the Set
elementsop
- the ObservableSet
BooleanBinding
java.lang.NullPointerException
- if the ObservableSet
is null
public static <E> BooleanBinding isNotEmpty(<any> op)
BooleanBinding
that holds true
if a given javafx.collections.ObservableSet
is not empty.E
- the type of the Set
elementsop
- the ObservableSet
BooleanBinding
java.lang.NullPointerException
- if the ObservableSet
is null
public static IntegerBinding size(ObservableArray op)
IntegerBinding
that contains the size
of an javafx.collections.ObservableArray
.op
- the ObservableArray
IntegerBinding
java.lang.NullPointerException
- if the ObservableArray
is null
public static FloatBinding floatValueAt(ObservableFloatArray op, int index)
FloatBinding
that contains the element
of an javafx.collections.ObservableArray
at the specified position. The FloatBinding
will hold 0.0f
if the index
points behind the ObservableArray
.op
- the ObservableArray
index
- the position in the ObservableArray
FloatBinding
java.lang.NullPointerException
- if the ObservableArray
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static FloatBinding floatValueAt(ObservableFloatArray op, ObservableIntegerValue index)
FloatBinding
that contains the element
of an javafx.collections.ObservableArray
at the specified position. The FloatBinding
will hold 0.0f
if the index
is outside of the ObservableArray
.op
- the ObservableArray
index
- the position in the ObservableArray
FloatBinding
java.lang.NullPointerException
- if the ObservableArray
or index
is null
public static FloatBinding floatValueAt(ObservableFloatArray op, ObservableNumberValue index)
FloatBinding
that contains the element
of an javafx.collections.ObservableArray
at the specified position. The FloatBinding
will hold 0.0f
if the index
is outside of the ObservableArray
.op
- the ObservableArray
index
- the position in the ObservableArray
, converted to intFloatBinding
java.lang.NullPointerException
- if the ObservableArray
or index
is null
public static IntegerBinding integerValueAt(ObservableIntegerArray op, int index)
IntegerBinding
that contains the element
of an javafx.collections.ObservableArray
at the specified position. The IntegerBinding
will hold 0
if the index
points behind the ObservableArray
.op
- the ObservableArray
index
- the position in the ObservableArray
IntegerBinding
java.lang.NullPointerException
- if the ObservableArray
is null
java.lang.IllegalArgumentException
- if (@code index < 0)public static IntegerBinding integerValueAt(ObservableIntegerArray op, ObservableIntegerValue index)
IntegerBinding
that contains the element
of an javafx.collections.ObservableArray
at the specified position. The IntegerBinding
will hold 0
if the index
is outside of the ObservableArray
.op
- the ObservableArray
index
- the position in the ObservableArray
IntegerBinding
java.lang.NullPointerException
- if the ObservableArray
or index
is null
public static IntegerBinding integerValueAt(ObservableIntegerArray op, ObservableNumberValue index)
IntegerBinding
that contains the element
of an javafx.collections.ObservableArray
at the specified position. The IntegerBinding
will hold 0
if the index
is outside of the ObservableArray
.op
- the ObservableArray
index
- the position in the ObservableArray
, converted to intIntegerBinding
java.lang.NullPointerException
- if the ObservableArray
or index
is null
public static <K,V> IntegerBinding size(<any> op)
IntegerBinding
that contains the size
of an javafx.collections.ObservableMap
.K
- type of the key elements of the Map
V
- type of the value elements of the Map
op
- the ObservableMap
IntegerBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K,V> BooleanBinding isEmpty(<any> op)
K
- type of the key elements of the Map
V
- type of the value elements of the Map
op
- the ObservableMap
BooleanBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K,V> BooleanBinding isNotEmpty(<any> op)
BooleanBinding
that holds true
if a given javafx.collections.ObservableMap
is not empty.K
- type of the key elements of the Map
V
- type of the value elements of the Map
op
- the ObservableMap
BooleanBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K,V> ObjectBinding<V> valueAt(<any> op, K key)
ObjectBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
.K
- type of the key elements of the Map
V
- type of the value elements of the Map
op
- the ObservableMap
key
- the key in the Map
ObjectBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K,V> ObjectBinding<V> valueAt(<any> op, <any> key)
ObjectBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
.K
- type of the key elements of the Map
V
- type of the value elements of the Map
op
- the ObservableMap
key
- the key in the Map
ObjectBinding
java.lang.NullPointerException
- if the ObservableMap
or key
is null
public static <K> BooleanBinding booleanValueAt(<any> op, K key)
BooleanBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The BooleanBinding
will hold false
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
BooleanBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K> BooleanBinding booleanValueAt(<any> op, <any> key)
BooleanBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The BooleanBinding
will hold false
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
BooleanBinding
java.lang.NullPointerException
- if the ObservableMap
or key
is null
public static <K> DoubleBinding doubleValueAt(<any> op, K key)
DoubleBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The DoubleBinding
will hold 0.0
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
DoubleBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K> DoubleBinding doubleValueAt(<any> op, <any> key)
DoubleBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The DoubleBinding
will hold 0.0
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
DoubleBinding
java.lang.NullPointerException
- if the ObservableMap
or key
is null
public static <K> FloatBinding floatValueAt(<any> op, K key)
FloatBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The FloatBinding
will hold 0.0f
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
FloatBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K> FloatBinding floatValueAt(<any> op, <any> key)
FloatBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The FloatBinding
will hold 0.0f
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
FloatBinding
java.lang.NullPointerException
- if the ObservableMap
or key
is null
public static <K> IntegerBinding integerValueAt(<any> op, K key)
IntegerBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The IntegerBinding
will hold 0
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
IntegerBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K> IntegerBinding integerValueAt(<any> op, <any> key)
IntegerBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The IntegerBinding
will hold 0
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
IntegerBinding
java.lang.NullPointerException
- if the ObservableMap
or key
is null
public static <K> LongBinding longValueAt(<any> op, K key)
LongBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The LongBinding
will hold 0L
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
LongBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K> LongBinding longValueAt(<any> op, <any> key)
LongBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The LongBinding
will hold 0L
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
LongBinding
java.lang.NullPointerException
- if the ObservableMap
or key
is null
public static <K> StringBinding stringValueAt(<any> op, K key)
StringBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The StringBinding
will hold null
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
StringBinding
java.lang.NullPointerException
- if the ObservableMap
is null
public static <K> StringBinding stringValueAt(<any> op, <any> key)
StringBinding
that contains the mapping of a specific key
in an javafx.collections.ObservableMap
. The StringBinding
will hold ""
if the key
cannot be found in the ObservableMap
.K
- type of the key elements of the Map
op
- the ObservableMap
key
- the key in the Map
StringBinding
java.lang.NullPointerException
- if the ObservableMap
or key
is null