public class OutlineFilterAndSorter
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static interface |
OutlineFilterAndSorter.IComparator |
static interface |
OutlineFilterAndSorter.IFilter |
Constructor and Description |
---|
OutlineFilterAndSorter() |
Modifier and Type | Method and Description |
---|---|
boolean |
addFilter(OutlineFilterAndSorter.IFilter filter) |
IOutlineNode[] |
filterAndSort(java.lang.Iterable<IOutlineNode> nodes) |
protected java.lang.Iterable<OutlineFilterAndSorter.IFilter> |
getEnabledFilters() |
protected boolean |
isSortingEnabled() |
boolean |
removeFilter(OutlineFilterAndSorter.IFilter filter) |
void |
setComparator(OutlineFilterAndSorter.IComparator comparator) |
public IOutlineNode[] filterAndSort(java.lang.Iterable<IOutlineNode> nodes)
protected boolean isSortingEnabled()
protected java.lang.Iterable<OutlineFilterAndSorter.IFilter> getEnabledFilters()
public void setComparator(OutlineFilterAndSorter.IComparator comparator)
public boolean addFilter(OutlineFilterAndSorter.IFilter filter)
public boolean removeFilter(OutlineFilterAndSorter.IFilter filter)