|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TableHeaderDelegate
The TableHeaderDelegate is specified as an attribute of a a TableHeaderRow tag. It is consulted when the user clicks on a column to do sorting, or clicks the select all checkbox. The delegate is expected to carry out whatever is needed such that rendering the table will reflect the appropriate change (e.g. the data is sorted appropriately or all rows have their columns checked).
Method Summary | |
---|---|
void |
selectAll(boolean flag)
This method is called when the user clicks the select all checkbox in the header. |
void |
sort(java.lang.Object key,
boolean ascending)
This method is called when the user clicks the label for a sortable column. |
Method Detail |
---|
void sort(java.lang.Object key, boolean ascending)
key
- The unique key identifying the selected column
as specified when the column was constructed.ascending
- True if the data should be sorted in ascending order.void selectAll(boolean flag)
flag
- true if the selet all checkbox was checked on.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |