public abstract class RowSorterAbstract extends java.lang.Object implements RowSorter
TreeTableModelSorted
,
RowSorter
Modifier and Type | Field and Description |
---|---|
protected java.lang.String[] |
columnNames |
protected TreeTableModelSorted |
model |
protected int |
ncolumns |
protected java.util.ArrayList |
rowList |
protected int[] |
sortNext |
protected JTreeTableSorted |
table |
Modifier | Constructor and Description |
---|---|
protected |
RowSorterAbstract(java.lang.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(java.util.ArrayList list) |
java.util.ArrayList |
sort(int sortCol,
boolean reverse,
java.util.ArrayList docs)
May make a copy of the Array, or return the original, but must not copy the
rows themselves.
|
protected java.lang.String[] columnNames
protected int ncolumns
protected TreeTableModelSorted model
protected JTreeTableSorted table
protected java.util.ArrayList rowList
protected int[] sortNext
public void restoreState(PreferencesExt store)
store
- ok if null or emptypublic void saveState()
public JTreeTableSorted getComponent()
public TreeTableModelSorted getModel()
protected void setRows(java.util.ArrayList list)
public java.util.ArrayList sort(int sortCol, boolean reverse, java.util.ArrayList docs)
RowSorter