SortAgent
From Documentation
Revision as of 07:14, 8 June 2012 by Hawk (talk | contribs) (moved ZATS Essentials/Mimic Library/Operation Agent/SortAgent to ZATS Essentials/Mimic Library/Operation/SortAgent)
Sorting
This agent can work on column, listheader, and treecol and mimic to sort a header with specified sorting order.
ComponentAgent sortingColumn = desktop.query("column[label='Author']");
//ascending
sortingColumn.as(SortAgent.class).sort(true);
//descending
sortingColumn.as(SortAgent.class).sort(false);
Supported Components
Column, Listheader, Treecol | 5, 6 |