Class actuate.xtabanalyzer.Sorter
Description
An object that represents a sort definition.
Constructor
Syntax
Constructs a new Sorter object.
Function summary
Table 5-17 lists actuate.xtabanalyzer.Sorter functions.
Table 5-17 actuate.xtabanalyzer.Sorter functions getKey( ) setKey( )actuate.xtabanalyzer.Sorter.getKey
Syntax
Returns
Example
This example retrieves the sort key.
actuate.xtabanalyzer.Sorter.getLevelName
Syntax
Returns
Example
This example retrieves the level name associated with the sorter.
actuate.xtabanalyzer.Sorter.getMember
Syntax
Returns
Example
This example retrieves the sort member.
actuate.xtabanalyzer.Sorter.isAscending
Syntax
Returns
True when the sorter is ascending and false in all other cases.
Example
This example retrieves the level name that is associated with the sorter.
actuate.xtabanalyzer.Sorter.setAscending
Syntax
Sets the sorter to be ascending or descending.
Parameters
Boolean. Set to true for ascending, set to false for descending.
Example
This example swaps the sort direction.
actuate.xtabanalyzer.Sorter.setKey
Syntax
Parameters
Example
This example sets the sort key.
actuate.xtabanalyzer.Sorter.setLevelName
Syntax
Parameters
String. The level name to sort.
Example
This example sets the level name to sort.
actuate.xtabanalyzer.Sorter.setMember
Syntax
Parameters
Example
(c) Copyright Actuate Corporation 2011 |
![]() |