T
- Type of element in list.public class CategorizingObservableList<T>
extends javafx.collections.ObservableListBase<javafx.collections.ObservableList<T>>
modCount
Constructor and Description |
---|
CategorizingObservableList() |
CategorizingObservableList(javafx.collections.ObservableList<? extends T> pSourceList) |
Modifier and Type | Method and Description |
---|---|
javafx.beans.property.ObjectProperty<Function<T,?>> |
categorizerProperty()
Assigns items to specific 'category' lists.
|
javafx.collections.ObservableList<T> |
get(int pIdx) |
Function<T,?> |
getCategorizer() |
Object |
getCategory(javafx.collections.ObservableList<T> pSrcList)
Retrieve category associated with list.
|
javafx.collections.ObservableList<T> |
getList(Object pCategory)
Retrieve list associated with category.
|
javafx.collections.ObservableList<? extends T> |
getSourceList() |
void |
setCategorizer(Function<T,?> pCategorizer) |
void |
setSourceList(javafx.collections.ObservableList<T> pSourceList) |
int |
size() |
javafx.beans.property.ObjectProperty<javafx.collections.ObservableList<T>> |
sourceListProperty() |
addAll, addListener, addListener, beginChange, endChange, fireChange, hasListeners, nextAdd, nextPermutation, nextRemove, nextRemove, nextReplace, nextSet, nextUpdate, remove, removeAll, removeListener, removeListener, retainAll, setAll, setAll
add, add, addAll, clear, equals, hashCode, indexOf, iterator, lastIndexOf, listIterator, listIterator, remove, removeRange, set, subList
addAll, contains, containsAll, isEmpty, remove, removeAll, retainAll, toArray, toArray, toString
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
add, add, addAll, addAll, clear, contains, containsAll, equals, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, replaceAll, retainAll, set, sort, spliterator, subList, toArray, toArray
parallelStream, removeIf, stream
public CategorizingObservableList()
public CategorizingObservableList(javafx.collections.ObservableList<? extends T> pSourceList)
public javafx.beans.property.ObjectProperty<Function<T,?>> categorizerProperty()
public javafx.collections.ObservableList<T> get(int pIdx)
public int size()
size
in interface Collection<javafx.collections.ObservableList<T>>
size
in interface List<javafx.collections.ObservableList<T>>
size
in class AbstractCollection<javafx.collections.ObservableList<T>>
public javafx.beans.property.ObjectProperty<javafx.collections.ObservableList<T>> sourceListProperty()
public javafx.collections.ObservableList<? extends T> getSourceList()
public void setSourceList(javafx.collections.ObservableList<T> pSourceList)
public Object getCategory(javafx.collections.ObservableList<T> pSrcList)
Copyright © 2023. All rights reserved.