|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SortableModel
Defines the requirements for tables that can be sorted.
TableLayout
Nested Class Summary | |
---|---|
static class |
SortableModel.Order
|
Method Summary | |
---|---|
Class |
getColumnClass(int index)
Returns the class of the data objects in column at index . |
int |
getSortedColumn()
Returns the index of the column that was sorted last. |
SortableModel.Order |
getSortOrder()
|
void |
setMaintainSortOrder(boolean maintainSortOrder)
Sets the maintain sort order flag. |
void |
setSortOrder(SortableModel.Order newValue)
|
SortableModel.Order |
sortByColumn(int column,
SortableModel.Order sortOrder,
boolean revert)
Sort the table by column . |
Method Detail |
---|
Class getColumnClass(int index)
index
.
int getSortedColumn()
SortableModel.Order getSortOrder()
void setMaintainSortOrder(boolean maintainSortOrder)
void setSortOrder(SortableModel.Order newValue)
SortableModel.Order sortByColumn(int column, SortableModel.Order sortOrder, boolean revert)
column
.
column
- the column to sortsortOrder
- the sort order to sory byrevert
- automatically revert sort order
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |