multivalent.std
public class TableSort extends Behavior
To do: generalize to range of lines, as tables aren't used for tabular information much, as least in HTML.
Version: $Revision: 1.3 $ $Date: 2003/06/02 06:00:49 $
Field Summary | |
---|---|
static String | MSG_ASCENDING
Sort table in ascending order.
|
static String | MSG_DESCENDING
Sort table in descending order.
|
static String | MSG_SORT
Sort table in ascending order, or reverse order if already sorted in ascending order.
|
Method Summary | |
---|---|
boolean | semanticEventAfter(SemanticEvent se, String msg) |
boolean | semanticEventBefore(SemanticEvent se, String msg) Since not all man page references are recognizable as such, have docpopup choice to treat current word as man page ref. |
void | sortTable(Object colin, int direction) |
"tableSortAscending": arg= Node column-to-sort
"tableSortDescending": arg= Node column-to-sort
"tableSort": arg= Node column-to-sort
Parameters: colin some node within column to sort direction: -1=descending order, 1=ascending order, 0=ascending but descending if already in ascending.