public abstract class RowSorterAbstract extends Object implements RowSorter
TreeTableModelSorted,
RowSorter| Modifier and Type | Field and Description |
|---|---|
protected String[] |
columnNames |
protected TreeTableModelSorted |
model |
protected int |
ncolumns |
protected ArrayList |
rowList |
protected int[] |
sortNext |
protected JTreeTableSorted |
table |
| Modifier | Constructor and Description |
|---|---|
protected |
RowSorterAbstract(String[] colNames) |
| Modifier and Type | Method and Description |
|---|---|
JTreeTableSorted |
getComponent() |
TreeTableModelSorted |
getModel() |
boolean |
isBreak(TableRow last,
TableRow current) |
void |
restoreState(PreferencesExt store)
Restore the state from the last saved in the PreferencesExt.
|
void |
saveState()
Save state to the PreferencesExt.
|
protected void |
setRows(ArrayList list) |
ArrayList |
sort(int sortCol,
boolean reverse,
ArrayList docs)
May make a copy of the Array, or return the original, but must not copy the
rows themselves.
|
protected String[] columnNames
protected int ncolumns
protected TreeTableModelSorted model
protected JTreeTableSorted table
protected ArrayList rowList
protected int[] sortNext
protected RowSorterAbstract(String[] colNames)
public void restoreState(PreferencesExt store)
store - ok if null or emptypublic void saveState()
public JTreeTableSorted getComponent()
public TreeTableModelSorted getModel()
protected void setRows(ArrayList list)
public ArrayList sort(int sortCol, boolean reverse, ArrayList docs)
RowSorterCopyright © 1999-2013 UCAR/Unidata. All Rights Reserved.