This class allows the creation of a structure "cross-fields". It is possible to create the structure with the methods below, add data and format.

setName(<Value>)
Name of the total.

setLabel(<Value>)

It is the label to be displayed when the user refers to the total.

getSchema ()
getSchema exposes methods for creating the structure. Using the method
addRow (<RowName>) is added a line identified with <RowName>, while with addColumn (<ColName>) is added a column identified <ColName>.

setValue (<row>, <col>, <Value>)
Sets the value <Value> defining the index row <row> and column <col>.

setValue (<RowName>, <ColName>, <Value>)
Set the value <Value> defining the name of row <RowName> and column name <ColName>.

getValue (<row>, <col>)

Returns the current value that defines the row index <row> and column <col>.

getValue (<RowName>, <ColName>)
Returns the current value defining the index row name <RowName> and of column <ColName>.

Last updatedMonday, 29 November 2010 00:25