Uses of Class
javafx.beans.binding.ObjectBinding
Package | Description |
---|---|
javafx.beans.binding |
Provides classes that create and operate on a
Binding
that calculates a value that depends on one or more sources. |
-
Uses of ObjectBinding in javafx.beans.binding
Methods in javafx.beans.binding that return ObjectBinding Modifier and Type Method Description static <T> ObjectBinding<T>
Bindings. createObjectBinding(Callable<T> func, Observable... dependencies)
Helper function to create a customObjectBinding
.ObjectBinding<T>
When.ObjectConditionBuilder. otherwise(ObservableObjectValue<T> otherwiseValue)
Defines theObservableObjectValue
which value is returned by the ternary expression if the condition isfalse
.ObjectBinding<T>
When.ObjectConditionBuilder. otherwise(T otherwiseValue)
Defines a constant value of the ternary expression, that is returned if the condition isfalse
.static <T> ObjectBinding<T>
Bindings. select(Object root, String... steps)
Creates a binding used to get a member, such asa.b.c
.static <T> ObjectBinding<T>
Bindings. select(ObservableValue<?> root, String... steps)
Creates a binding used to get a member, such asa.b.c
.static <E> ObjectBinding<E>
Bindings. valueAt(ObservableList<E> op, int index)
Creates a newObjectBinding
that contains the element of anObservableList
at the specified position.static <E> ObjectBinding<E>
Bindings. valueAt(ObservableList<E> op, ObservableIntegerValue index)
Creates a newObjectBinding
that contains the element of anObservableList
at the specified position.static <E> ObjectBinding<E>
Bindings. valueAt(ObservableList<E> op, ObservableNumberValue index)
Creates a newObjectBinding
that contains the element of anObservableList
at the specified position.static <K, V> ObjectBinding<V>
Bindings. valueAt(ObservableMap<K,V> op, ObservableValue<? extends K> key)
Creates a newObjectBinding
that contains the mapping of a specific key in anObservableMap
.static <K, V> ObjectBinding<V>
Bindings. valueAt(ObservableMap<K,V> op, K key)
Creates a newObjectBinding
that contains the mapping of a specific key in anObservableMap
.ObjectBinding<E>
ListExpression. valueAt(int index)
Creates a newObjectBinding
that contains the element at the specified position.ObjectBinding<E>
ListExpression. valueAt(ObservableIntegerValue index)
Creates a newObjectBinding
that contains the element at the specified position.ObjectBinding<V>
MapExpression. valueAt(ObservableValue<K> key)
Creates a newObjectBinding
that contains the mapping of the specified key.ObjectBinding<V>
MapExpression. valueAt(K key)
Creates a newObjectBinding
that contains the mapping of the specified key.