|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.sptci.echo2.table.SortListener
public class SortListener
The action listener used to sort the contents of a SortableTable.
© Copyright 2007 Sans Pareil Technologies, Inc.
| Constructor Summary | |
|---|---|
SortListener(Table table,
int column)
Create a new instance of the listener for the specified values. |
|
| Method Summary | |
|---|---|
void |
actionPerformed(ActionEvent event)
The action listener implementation. |
protected void |
updateNavigation()
Update the TableNavigation component associated with the table, since a sort operation involves resetting the page number. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortListener(Table table,
int column)
table - The table to be sorted.column - The column by which to sort.
IllegalArgumentException - If the table specified
is not an instance of SortableTable.| Method Detail |
|---|
public void actionPerformed(ActionEvent event)
SortableTableModel.sort( int ) method.
actionPerformed in interface ActionListenerevent - The action event that was triggered.updateNavigation()protected void updateNavigation()
TableNavigation component associated with the table, since a sort operation involves resetting the page number. Sets
the selected page to PageableTableModel.getPage().
|
SPT Core API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||