|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.retek.commons.gui.table.RLayerTableSort
This class sorts RLayerTable based information by a specific column. This class is exclusive to the RLayerTable and will only work on data formated for a RLayerTable.
Retek Inc. Copyright (c) 2002
Constructor Summary | |
---|---|
RLayerTableSort()
Returns new REntryTableSort object. |
Method Summary | |
---|---|
int[] |
getDefaultSortColumns()
Gets the default columns to sort on. |
void |
setDefaultSortColumns(int[] defaultSortColumns)
Sets the default columns to sort on. |
void |
sortTable(java.util.ArrayList list,
int column,
boolean sortAscending)
Sorts the input ArrayList based on the column number. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RLayerTableSort()
Method Detail |
public int[] getDefaultSortColumns()
public void setDefaultSortColumns(int[] defaultSortColumns)
public void sortTable(java.util.ArrayList list, int column, boolean sortAscending) throws java.lang.ClassCastException
list
- The list of table rows to sort.column
- The table column to sort the list on.sortAscending
- If true, the sort is ascending, if false, descending.
java.lang.ClassCastException
- Thrown if the data in a table element is not valid.
|
||||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |