|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
public interface SortableTableModel
A TableModel representing Sortable data.
| Method Summary | |
|---|---|
int |
getCurrentSortColumn()
Returns the currently sorted column number. |
boolean |
isCurrentSortAscending()
Returns true if this model is currently being sorted ascending |
void |
sortByColumn(int column,
boolean ascending)
Sorts the data backing this model based on the given column and ascending flag. |
| Methods inherited from interface nextapp.echo2.app.table.TableModel |
|---|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, removeTableModelListener |
| Method Detail |
|---|
void sortByColumn(int column,
boolean ascending)
column - the column to sort byascending - sort the column ascending or notint getCurrentSortColumn()
boolean isCurrentSortAscending()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||