AbstractNestedListBinding that computes its value using
a function that directly applies to the source list of lists. This class maintains the nested list
structure in its computation.
| Modifier and Type | Field and Description |
|---|---|
| private final Function |
| Access | Constructor and Description |
|---|---|
| public | TransformedNestedListBinding(ObservableList<ObservableList<T>>
The observable list of observable lists that serves as the source for this binding. source, Function<ObservableList<ObservableList<T>>, U> A function that transforms the source into a computed value of type U. transformer)Constructs a NestedListBinding with a source and a transformer function. |
| Modifier and Type | Method and Description |
|---|---|
| protected U | Returns: The computed value, as transformed from the nested list structure.Implements abstract javafx. Computes the value of the binding by applying the transformer function to the source. |
| transformer | back to summary |
|---|---|
| private final Function<ObservableList<ObservableList<T>>, U> transformer | |
| TransformedNestedListBinding | back to summary |
|---|---|
| public TransformedNestedListBinding(ObservableList<ObservableList<T>> source, Function<ObservableList<ObservableList<T>>, U> transformer) Constructs a NestedListBinding with a source and a transformer function. The transformer function is applied directly to the nested list structure to compute the value.
| |
| computeValue | back to summary |
|---|---|
| protected U computeValue() Implements abstract javafx. Computes the value of the binding by applying the transformer function to the source. This method directly reflects changes in the nested list structure in the computed value.
| |