Class actuate.xtabanalyzer.Dimension
Description
The Dimension class specifies a cross tab dimension object.
Constructor
Syntax
The Dimension class is used to specify a dimension object.
Function summary
Table 5-4 lists actuate.xtabanalyzer.Dimension functions.
Table 5-4 actuate.xtabanalyzer.Dimension functionsactuate.xtabanalyzer.Dimension.addLevel
Syntax
Adds a level to the dimension.
Parameters
actuate.xtabanalyzer.Level object. An instance of a level object to add to the dimension.
Example
This example adds a level to a dimension.
actuate.xtabanalyzer.Dimension.getAxisType
Syntax
Retrieves the axis type for the dimension.
Returns
String containing the axis type. The axis type can be one of the following values:
n actuate.xtabanalyzer.Dimension.COLUMN_AXIS_TYPE
n actuate.xtabanalyzer.Dimension.ROW_AXIS_TYPEExample
This example retrieves and sets the axis type.
actuate.xtabanalyzer.Dimension.getDimensionName
Syntax
Retrieves the name of the dimension.
Returns
String containing the dimension name.
Example
This example retrieves the dimension name.
actuate.xtabanalyzer.Dimension.getIndex
Syntax
Retrieves the dimension index.
Returns
Integer containing the dimension index.
Example
This example retrieves and increments the index.
actuate.xtabanalyzer.Dimension.getLevels
Syntax
Retrieves the dimension levels.
Returns
String containing the dimension levels.
Example
This example retrieves the dimension name.
actuate.xtabanalyzer.Dimension.getNewAxisType
Syntax
Returns
Integer containing the new axis type.
Example
This example retrieves the new axis type.
actuate.xtabanalyzer.Dimension.getNewIndex
Syntax
Returns
Integer containing the new index.
Example
This example retrieves the new index.
actuate.xtabanalyzer.Dimension.setAxisType
Syntax
Sets the axis type when creating a new dimension. Use setNewAxisType( ) to change a dimension that already exists.
Parameters
The axis type for the dimension. The axis type has the following legal values:
n actuate.xtabanalyzer.Dimension.COLUMN_AXIS_TYPE
n actuate.xtabanalyzer.Dimension.ROW_AXIS_TYPEExample
This example sets the axis type for a new dimension.
actuate.xtabanalyzer.Dimension.setDimensionName
Syntax
Sets the name for a dimension during its creation.
Parameters
String. The name of the dimension.
Example
This example sets the dimension name to a value taken from a page element.
actuate.xtabanalyzer.Dimension.setIndex
Syntax
Sets the index for the dimension
Parameters
Example
This example sets the dimension index to a value taken from a page element.
actuate.xtabanalyzer.Dimension.setLevels
Syntax
Parameters
Array of xtabanalyzer.Level objects representing the levels for the dimension.
Example
This example sets the dimension levels.
actuate.xtabanalyzer.Dimension.setNewAxisType
Syntax
Parameters
Example
This example retrieves and changes the axis type.
actuate.xtabanalyzer.Dimension.setNewIndex
Syntax
Parameters
Example
(c) Copyright Actuate Corporation 2011 |
![]() |