Class actuate.xtabanalyzer.SubTotal
Description
Constructor
Syntax
Constructs a new SubTotal object.
Function summary
Table 5-18 lists actuate.xtabanalyzer.SubTotal functions.
Table 5-18 actuate.xtabanalyzer.SubTotal functionsactuate.xtabanalyzer.SubTotal.addTotal
Syntax
Parameters
actuate.xtabanalyzer.Total. The total object being added.
Example
This example uses addTotal( ) to create a subtotal.
actuate.xtabanalyzer.SubTotal.getLevelName
Syntax
Returns
String. The level name for the subtotal.
Example
This example retrieves the level name from the subtotal.
actuate.xtabanalyzer.SubTotal.getLocation
Syntax
Returns
Example
This example retrieves the level name from the subtotal.
actuate.xtabanalyzer.SubTotal.getTotals
Syntax
Returns an array containing the subtotals.
Returns
Example
This example retrieves totals from a SubTotal object.
actuate.xtabanalyzer.SubTotal.setLevelName
Syntax
Sets the level name for the subtotal.
Parameters
Example
This example sets the level name for a subtotal.
actuate.xtabanalyzer.SubTotal.setLocation
Syntax
Sets the location for the subtotal.
Parameters
String. The location. Value can be either before or after.
Example
This example sets the location for a subtotal.
actuate.xtabanalyzer.SubTotal.setTotals
Syntax
Parameters
Array of actuate.xtabanalyzer.Total objects to add to the subtotal.
Example
This example uses setTotals( ) to create a subtotal.
(c) Copyright Actuate Corporation 2011 |
![]() |