public interface SortableTableModel extends TableModel
Modifier and Type | Method and Description |
---|---|
void |
forceResort()
Updates the table model contents and sorts its contents depending on the
sort options set by the user.
|
int |
getSortColumn()
Returns the column index used to sort.
|
boolean |
isSortAscending()
Returns whether the sort is ascending or descending.
|
void |
setSortAscending(boolean sortAscending)
Sets whether to sort ascending of descending.
|
void |
setSortColumn(int sortColumn)
Sets the column index used to sort.
|
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
boolean isSortAscending()
true
if the sort is ascending and false
otherwise.void setSortAscending(boolean sortAscending)
sortAscending
- whether to sort ascending or descending.int getSortColumn()
void setSortColumn(int sortColumn)
sortColumn
- column index used to sort..void forceResort()
Copyright © 2010-2016 ForgeRock AS. All Rights Reserved.