be.lassi.ui.util.table
Interface SortableTableModel
- All Known Implementing Classes:
- PatchChannelTableModel, PatchDetailTableModel
public interface SortableTableModel
Adds some methods to TableModel to make it sortable.
Method Summary |
java.lang.Object |
getObject(int row)
|
int |
getSortColumn()
Gets the index of the column on which the table is sorted. |
void |
setSortColumn(int column)
Sets the index of the column on which the table is sorted. |
getObject
java.lang.Object getObject(int row)
getSortColumn
int getSortColumn()
- Gets the index of the column on which the table is sorted.
- Returns:
- the sort column index
setSortColumn
void setSortColumn(int column)
- Sets the index of the column on which the table is sorted.
- Parameters:
column
- the sort column index