public class ShuttleSorter extends Sorter
adapter, fromPrevious, pipeline| Constructor and Description |
|---|
ShuttleSorter() |
ShuttleSorter(int col,
boolean ascending) |
ShuttleSorter(int col,
boolean ascending,
java.util.Comparator comparator) |
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
canFilter()
This is a quickfix for #55-swingx: NPE if sorter is in pipeline.
|
protected void |
filter()
Performs the sort.
|
int |
getSize()
Returns the number of records that remain in this filter's output ("view")
after the input records have been filtered.
|
protected void |
init()
Provides filter-specific initialization.
|
protected int |
mapTowardModel(int row)
PRE: 0 <= row <
getSize(); |
protected void |
reset()
Resets the internal row mappings from this filter to the previous filter.
|
protected void |
sort(int[] from,
int[] to,
int low,
int high) |
compare, getCollator, getComparator, getSortKey, getSortOrder, isAscending, refresh, refreshCollator, setAscending, setComparator, setSortKey, toggleassign, convertRowIndexToModel, convertRowIndexToView, fireFilterChanged, getColumnIndex, getColumnName, getInputSize, getInputString, getInputValue, getMappingFilter, getPipeline, getStringAt, getValueAt, isCellEditable, mapTowardView, refresh, setColumnIndex, setValueAtpublic ShuttleSorter()
public ShuttleSorter(int col,
boolean ascending)
public ShuttleSorter(int col,
boolean ascending,
java.util.Comparator comparator)
protected void init()
FilterFilter
constructor.protected void reset()
protected void filter()
filter in class FiltercanFilter()protected boolean canFilter()
PENDING: should be done higher up?
public int getSize()
Filterprotected int mapTowardModel(int row)
FiltergetSize();mapTowardModel in class Filterprotected void sort(int[] from,
int[] to,
int low,
int high)