T
- Type of element in list.public class ReducedObservableList<T> extends ProxyObservableList<T>
ProxyObservableList.Exposed<T>, ProxyObservableList.Propertied<T>
modCount
Constructor and Description |
---|
ReducedObservableList(javafx.collections.ObservableList<? extends T> pDelegate,
Function<? super T,? extends javafx.beans.value.ObservableValue<?>> pKeyFunction,
Function<javafx.collections.ObservableList<T>,? extends T> pReducer,
javafx.util.Callback<T,javafx.beans.Observable[]> pExtractor) |
ReducedObservableList(javafx.collections.ObservableList<? extends T> pDelegate,
javafx.beans.value.ObservableValue<? extends Function<? super T,javafx.beans.value.ObservableValue<?>>> pObservableKeyFunction,
Function<javafx.collections.ObservableList<T>,? extends T> pReducer,
javafx.util.Callback<T,javafx.beans.Observable[]> pExtractor) |
Modifier and Type | Method and Description |
---|---|
List<List<Integer>> |
getIndices()
List of Each nested list corresponds to set of grouped mIndices from 'source' table.
|
List<List<T>> |
getValues()
List of Each nested list corresponds to set of grouped values from 'source' table.
|
add, add, addAll, addAll, addAll, clear, contains, containsAll, delegateProperty, equals, get, getDelegate, hashCode, indexOf, isEmpty, lastIndexOf, remove, remove, remove, removeAll, removeAll, replaceAll, retainAll, retainAll, set, setAll, setAll, size, toString
addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, removeListener, removeListener
iterator, listIterator, listIterator, removeRange, subList
toArray, toArray
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
iterator, listIterator, listIterator, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public ReducedObservableList(javafx.collections.ObservableList<? extends T> pDelegate, javafx.beans.value.ObservableValue<? extends Function<? super T,javafx.beans.value.ObservableValue<?>>> pObservableKeyFunction, Function<javafx.collections.ObservableList<T>,? extends T> pReducer, javafx.util.Callback<T,javafx.beans.Observable[]> pExtractor)
public ReducedObservableList(javafx.collections.ObservableList<? extends T> pDelegate, Function<? super T,? extends javafx.beans.value.ObservableValue<?>> pKeyFunction, Function<javafx.collections.ObservableList<T>,? extends T> pReducer, javafx.util.Callback<T,javafx.beans.Observable[]> pExtractor)
pDelegate
- 'Base' list.pKeyFunction
- Derives observable 'grouping' key from list item.pReducer
- Combines grouped list items into a single item.pExtractor
- Extractor used to propagate list updates (see
FXCollections.observableArrayList(Callback)).Copyright © 2023. All rights reserved.