| org.glasser.swing.table.ListTableModel org.glasser.swing.table.ResultSetTableModel
ResultSetTableModel | public ResultSetTableModel(String[] columnNames)(Code) | | This constructor allows an instance to be constructed before any query
results are available to display.
|
setDataList | public void setDataList(List newData)(Code) | | |
sort | public void sort(int columnIndex, boolean sortDescending)(Code) | | Sorts the model's contents on the given column.
Parameters: columnIndex - the zero-based index of the column on which the datawill be sorted. Parameters: sortDescending - if true, the data is sorted in descending order, otherwiseit will be sorted in ascending order. |
sort | public boolean sort(int columnIndex)(Code) | | Sorts the buffer on the indicated column, and returns true if the sort was in
descending order, or false if it was in ascending order. The order
will usually be ascending, unless the same column is sorted multiple times
consecutively, in which case the sort order is reversed each time.
|
|
|