Collection of Binding helpers for JavaFX(8)
CollectionBindings
concat
- concatenate two or more observable lists to a single observable listNumberBindings
asInteger
- convert from ObservableValue<Number>
to IntegerBinding
asDouble
- convert from ObservableValue<Number>
to DoubleBinding
asFloat
- convert from ObservableValue<Number>
to FloatBinding
asLong
- convert from ObservableValue<Number>
to LongBinding
SwitchBindings
switch
statementLogicBindings
or
- boolean OR binding with variable number of dependent observable boolean values.and
- boolean AND binding with variable number of dependent observable boolean values.NumberBindings
divideSafe
- divide binding that doesn't throw ArithmeticException
when division by zero occurs. Instead 0
or a user defined value is used for the binding.ObjectBindings
map
- takes a function that is applied to the value of the source observable and the result is used for the result binding. This binding is null-safe: no NullPointerException
is thrown even when the source observable contains null.CollectionBindings
sum
NumberBindings
isNaN
isInfinite
StringBindings
matches
(regexp binding)java.lang.Math