public interface AQPivotDataSet
AQDataSet
in a pivot table.
Sorting is supported and can be applied to the following areas:
When rendering in HTML, custom hyperlinks can be defined and attached to the most
of cells contained in the pivot table. Trend charts can also be generated
for values contained in each row. Please see AQDataSetSettings
for more information.
An instance of the object that implements the AQPivotDataSet interface
can be instantiated via aqua.data.newPivotDataSet()
alias.
Modifier and Type | Method and Description |
---|---|
void |
addColumnField(java.lang.String fieldName)
Adds a column field to the pivot table.
|
void |
addColumnFieldSubtotalCount(java.lang.String fieldName)
Includes showing subtotal as the number of records stored in the database for the specified field when it is defined as a column field.
|
void |
addColumnFieldSubtotalMax(java.lang.String fieldName)
Includes showing subtotal as the maximum value among all pivot values for the specified field when it is defined as a column field.
|
void |
addColumnFieldSubtotalMean(java.lang.String fieldName)
Includes showing subtotal as the average of all pivot values for the specified field when it is defined as a column field.
|
void |
addColumnFieldSubtotalMin(java.lang.String fieldName)
Includes showing subtotal as the minimum value among all pivot values for the specified field when it is defined as a column field.
|
void |
addColumnFieldSubtotalStdDev(java.lang.String fieldName)
Includes showing subtotal as the standard deviation of all pivot values for the specified field when it is defined as a column field.
|
void |
addColumnFieldSubtotalSum(java.lang.String fieldName)
Includes showing subtotal as the sum of all pivot values for the specified field when it is defined as a column field.
|
void |
addColumnFieldSubtotalVar(java.lang.String fieldName)
Includes showing subtotal as the variance of all pivot values for the specified field when it is defined as a column field.
|
void |
addDataField(java.lang.String fieldName)
Adds a data field to the pivot table.
|
void |
addFieldSubtotalCount(java.lang.String fieldName)
Includes showing subtotal as the number of records stored in the database for the specified field when it is defined as either a row field or a column
field.
|
void |
addFieldSubtotalMax(java.lang.String fieldName)
Includes showing subtotal as the maximum value among all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
addFieldSubtotalMean(java.lang.String fieldName)
Includes showing subtotal as the average of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
addFieldSubtotalMin(java.lang.String fieldName)
Includes showing subtotal as the minimum value among all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
addFieldSubtotalStdDev(java.lang.String fieldName)
Includes showing subtotal as the standard deviation of all pivot values for the specified field when it is defined as either a row field or a column
field.
|
void |
addFieldSubtotalSum(java.lang.String fieldName)
Includes showing subtotal as the sum of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
addFieldSubtotalVar(java.lang.String fieldName)
Includes showing subtotal as the variance of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
addRowField(java.lang.String fieldName)
Adds a row field to the pivot table.
|
void |
addRowFieldSubtotalCount(java.lang.String fieldName)
Includes showing subtotal as the number of records stored in the database for the specified field when it is defined as a row field.
|
void |
addRowFieldSubtotalMax(java.lang.String fieldName)
Includes showing subtotal as the maximum value among all pivot values for the specified field when it is defined as a row field.
|
void |
addRowFieldSubtotalMean(java.lang.String fieldName)
Includes showing subtotal as the average of all pivot values for the specified field when it is defined as a row field.
|
void |
addRowFieldSubtotalMin(java.lang.String fieldName)
Includes showing subtotal as the minimum value among all pivot values for the specified field when it is defined as a row field.
|
void |
addRowFieldSubtotalStdDev(java.lang.String fieldName)
Includes showing subtotal as the standard deviation of all pivot values for the specified field when it is defined as a row field.
|
void |
addRowFieldSubtotalSum(java.lang.String fieldName)
Includes showing subtotal as the sum of all pivot values for the specified field when it is defined as a row field.
|
void |
addRowFieldSubtotalVar(java.lang.String fieldName)
Includes showing subtotal as the variance of all pivot values for the specified field when it is defined as a row field.
|
void |
calculateGrid()
Calculates the pivot data.
|
void |
clearColumnFields()
Removes all of the column fields from the pivot table.
|
void |
clearColumnFieldSortOrderSettings()
Removes sorting related settings for all of the column fields.
|
void |
clearDataColumnSortSettings()
Removes sorting related settings for all data columns.
|
void |
clearDataFields()
Removes all of the data fields from the pivot table.
|
void |
clearDataFieldSummaryTypeSettings()
Removes summary type related settings for all data fields.
|
void |
clearGrandTotalColumnSortSettings()
Removes all sorting related settings on the grand total column.
|
void |
clearRowFields()
Removes all row fields from the pivot table.
|
void |
clearRowFieldSortOrderSettings()
Removes sorting related settings for all row fields.
|
byte[] |
getAsExcel2003()
Returns the pivot data as a byte array representing an Excel 2003 file.
|
byte[] |
getAsExcel2003(AQDataSetSettings settings,
AQChart chart)
Returns the pivot data, with chart enabled, as a byte array representing an Excel 2003 file.
|
byte[] |
getAsExcel2007()
Returns the pivot data as a byte array representing an Excel 2007 file.
|
byte[] |
getAsExcel2007(AQDataSetSettings settings,
AQChart chart)
Returns the pivot data, with chart enabled, as a byte array representing an Excel 2007 file.
|
java.lang.String[] |
getColumnFields()
Returns column field names as an array.
|
java.lang.String[] |
getDataFields()
Returns data field names as an array.
|
AQDataSet |
getDataSet()
Returns the application data used to create this pivot table.
|
java.lang.String |
getGrandTotalColumnSortName()
Returns the data field name used to sort the grand total column.
|
java.lang.String[] |
getRowFields()
Returns row field names as an array.
|
int |
getSortDataColumnIndex()
Returns the column index that is used for sorting on data column.
|
boolean |
isCalculated()
Returns true if the pivot data has been successfully calculated.
|
boolean |
isColumnFieldSortAscending(java.lang.String fieldName)
Returns true if the specified column field is sorted in ascending order.
|
boolean |
isColumnFieldSortDescending(java.lang.String fieldName)
Returns true if the specified column field is sorted in descending order.
|
boolean |
isColumnFieldSortNone(java.lang.String fieldName)
Returns true if the values that correspond to the specified column field are present in the order defined in the application data.
|
boolean |
isDataFieldSummaryCount(java.lang.String fieldName)
Returns true if the summary type of the specified data field is count which would show pivot grand total value
as the number of records stored in the application data.
|
boolean |
isDataFieldSummaryCountD(java.lang.String fieldName) |
boolean |
isDataFieldSummaryMax(java.lang.String fieldName)
Returns true if the summary type of the specified data field is maximum which would show pivot grand total value
as the maximum value amongst all pivot values.
|
boolean |
isDataFieldSummaryMean(java.lang.String fieldName)
Returns true if the summary type of the specified data field is mean which would show pivot grand total value
as the average of all pivot values.
|
boolean |
isDataFieldSummaryMin(java.lang.String fieldName)
Returns true if the summary type of the specified data field is minimum which would show pivot grand total value
as the minimum value amongst all pivot values.
|
boolean |
isDataFieldSummaryStdDev(java.lang.String fieldName)
Returns true if the summary type of the specified data field is standard deviation which would show pivot grand total value
as the standard deviation of all pivot values.
|
boolean |
isDataFieldSummarySum(java.lang.String fieldName)
Returns true if the summary type of the specified data field is sum which would show pivot grand total value
as the sum of all pivot values.
|
boolean |
isDataFieldSummaryVar(java.lang.String fieldName)
Returns true if the summary type of the specified data field is variance which would show pivot grand total value
as the variance of all pivot values.
|
boolean |
isRowFieldSortAscending(java.lang.String fieldName)
Returns true if the specified row field is sorted in ascending order.
|
boolean |
isRowFieldSortDescending(java.lang.String fieldName)
Returns true if the specified row field is sorted in descending order.
|
boolean |
isRowFieldSortNone(java.lang.String fieldName)
Returns true if the values that correspond to the specified row field are present in the order defined in the application data.
|
boolean |
isShowGrandTotalForColumn()
Returns true if grand totals for columns will be displayed upon rendering.
|
boolean |
isShowGrandTotalForRow()
Returns true if grand totals for rows will be displayed upon rendering.
|
boolean |
isShowSubtotalForLastColumn()
Returns true if subtotal for the last column will be shown.
|
boolean |
isShowSubtotalForLastRow()
Returns true if subtotal for the last row will be shown.
|
boolean |
isShowSubtotalUsingSystemDefault()
Returns true if subtotals for rows and columns will be calculated using system default method.
|
boolean |
isSortByDataColumn()
Returns true if sorting on data column is defined.
|
boolean |
isSortByGrandTotalColumn()
Returns true if sorting on the grand total column is defined.
|
boolean |
isSortDataColumnAscending()
Returns true if sorting on data column is defined and is in ascending order.
|
boolean |
isSortDataColumnDescending()
Returns true if sorting on data column is defined and is in descending order.
|
boolean |
isSortGrandTotalColumnAscending()
Returns true if sorting on the grand total column is defined and is in ascending order.
|
boolean |
isSortGrandTotalColumnDescending()
Returns true if sorting on the grand total column is defined and is in descending order.
|
void |
removeColumnField(java.lang.String fieldName)
Removes a column field from the pivot table.
|
void |
removeColumnFieldSubtotalCount(java.lang.String fieldName)
Excludes showing subtotal as the number of records stored in the database for the specified field when it is defined as a column field.
|
void |
removeColumnFieldSubtotalMax(java.lang.String fieldName)
Excludes showing subtotal as the maximum value among all pivot values for the specified field when it is defined as a column field.
|
void |
removeColumnFieldSubtotalMean(java.lang.String fieldName)
Excludes showing subtotal as the average of all pivot values for the specified field when it is defined as a column field.
|
void |
removeColumnFieldSubtotalMin(java.lang.String fieldName)
Excludes showing subtotal as the minimum value among all pivot values for the specified field when it is defined as a column field.
|
void |
removeColumnFieldSubtotalStdDev(java.lang.String fieldName)
Excludes showing subtotal as the standard deviation of all pivot values for the specified field when it is defined as a column field.
|
void |
removeColumnFieldSubtotalSum(java.lang.String fieldName)
Excludes showing subtotal as the sum of all pivot values for the specified field when it is defined as a column field.
|
void |
removeColumnFieldSubtotalVar(java.lang.String fieldName)
Excludes showing subtotal as the variance of all pivot values for the specified field when it is defined as a column field.
|
void |
removeDataField(java.lang.String fieldName)
Removes a data field from the pivot table.
|
void |
removeFieldSubtotalCount(java.lang.String fieldName)
Excludes showing subtotal as the number of records stored in the database for the specified field when it is defined as either a row field or a column
field.
|
void |
removeFieldSubtotalMax(java.lang.String fieldName)
Excludes showing subtotal as the maximum value among all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
removeFieldSubtotalMean(java.lang.String fieldName)
Excludes showing subtotal as the average of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
removeFieldSubtotalMin(java.lang.String fieldName)
Excludes showing subtotal as the minimum value among all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
removeFieldSubtotalStdDev(java.lang.String fieldName)
Excludes showing subtotal as the standard deviation of all pivot values for the specified field when it is defined as either a row field or a column
field.
|
void |
removeFieldSubtotalSum(java.lang.String fieldName)
Excludes showing subtotal as the sum of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
removeFieldSubtotalVar(java.lang.String fieldName)
Excludes showing subtotal as the variance of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
removeRowField(java.lang.String fieldName)
Removes a row field from the pivot table.
|
void |
removeRowFieldSubtotalCount(java.lang.String fieldName)
Excludes showing subtotal as the number of records stored in the database for the specified field when it is defined as a row field.
|
void |
removeRowFieldSubtotalMax(java.lang.String fieldName)
Excludes showing subtotal as the maximum value among all pivot values for the specified field when it is defined as a row field.
|
void |
removeRowFieldSubtotalMean(java.lang.String fieldName)
Excludes showing subtotal as the average of all pivot values for the specified field when it is defined as a row field.
|
void |
removeRowFieldSubtotalMin(java.lang.String fieldName)
Excludes showing subtotal as the minimum value among all pivot values for the specified field when it is defined as a row field.
|
void |
removeRowFieldSubtotalStdDev(java.lang.String fieldName)
Excludes showing subtotal as the standard deviation of all pivot values for the specified field when it is defined as a row field.
|
void |
removeRowFieldSubtotalSum(java.lang.String fieldName)
Excludes showing subtotal as the sum of all pivot values for the specified field when it is defined as a row field.
|
void |
removeRowFieldSubtotalVar(java.lang.String fieldName)
Excludes showing subtotal as the variance of all pivot values for the specified field when it is defined as a row field.
|
java.lang.String |
renderHtml()
Converts the pivot data to a HTML document using the default grid
settings . |
java.lang.String |
renderHtml(AQDataSetSettings settings)
Converts the pivot data to a HTML document using the specified grid
settings . |
java.lang.String |
renderHtml(AQDataSetSettings settings,
AQChart chart)
Converts the pivot data to a HTML document, with chart enabled, using the specified grid
settings . |
java.lang.String |
renderText()
Converts the pivot data to a formatted plain text grid using the default
grid settings . |
java.lang.String |
renderText(AQDataSetSettings settings)
Converts the pivot data to a formatted plain text grid using the specified grid
settings . |
java.lang.String |
renderText(int lineCount)
Converts the pivot data, up to
lineCount rows, to a formatted plain text grid using the default
grid settings . |
void |
saveAsExcel2003(java.lang.String fileName)
Saves the pivot data as an Excel 2003 file.
|
void |
saveAsExcel2003(java.lang.String fileName,
AQDataSetSettings settings,
AQChart chart)
Saves the pivot data, with chart enabled, as an Excel 2003 file.
|
void |
saveAsExcel2007(java.lang.String fileName)
Saves the pivot data as an Excel 2007 file.
|
void |
saveAsExcel2007(java.lang.String fileName,
AQDataSetSettings settings,
AQChart chart)
Saves the pivot data, with chart enabled, as an Excel 2007 file.
|
void |
setColumnFieldSortAscending(java.lang.String fieldName)
Sorts a column field in ascending order.
|
void |
setColumnFieldSortDescending(java.lang.String fieldName)
Sorts a column field in descending order.
|
void |
setColumnFieldSortNone(java.lang.String fieldName)
Sorts the values that correspond to a column field in the order defined in the application data.
|
void |
setColumnFieldSubtotalCount(java.lang.String fieldName)
Shows subtotal as the number of records stored in the database for the specified field when it is defined as a column field.
|
void |
setColumnFieldSubtotalDefault(java.lang.String fieldName)
Shows subtotal using system default calculation method for the specified field when it is defined as a column field.
|
void |
setColumnFieldSubtotalMax(java.lang.String fieldName)
Shows subtotal as the maximum value among all pivot values for the specified field when it is defined as a column field.
|
void |
setColumnFieldSubtotalMean(java.lang.String fieldName)
Shows subtotal as the average of all pivot values for the specified field when it is defined as a column field.
|
void |
setColumnFieldSubtotalMin(java.lang.String fieldName)
Shows subtotal as the minimum value among all pivot values for the specified field when it is defined as a column field.
|
void |
setColumnFieldSubtotalNone(java.lang.String fieldName)
Hides subtotal for the specified field when it is defined as a column field.
|
void |
setColumnFieldSubtotalStdDev(java.lang.String fieldName)
Shows subtotal as the standard deviation of all pivot values for the specified field when it is defined as a column field.
|
void |
setColumnFieldSubtotalSum(java.lang.String fieldName)
Shows subtotal as the sum of all pivot values for the specified field when it is defined as a column field.
|
void |
setColumnFieldSubtotalVar(java.lang.String fieldName)
Shows subtotal as the variance of all pivot values for the specified field when it is defined as a column field.
|
void |
setDataFieldSummaryCount(java.lang.String fieldName)
Sets the summary type for a data field to count which would show pivot grand total value
as the number of records stored in the application data.
|
void |
setDataFieldSummaryMax(java.lang.String fieldName)
Sets the summary type for a data field to maximum which would show pivot grand total value
as the maximum value amongst all pivot values.
|
void |
setDataFieldSummaryMean(java.lang.String fieldName)
Sets the summary type for a data field to mean which would show pivot grand total value
as the average of all pivot values.
|
void |
setDataFieldSummaryMedian(java.lang.String fieldName)
Sets the summary type for a data field to median which would show pivot grand total value
as the sum of all pivot values.
|
void |
setDataFieldSummaryMin(java.lang.String fieldName)
Sets the summary type for a data field to minimum which would show pivot grand total value
as the minimum value amongst all pivot values.
|
void |
setDataFieldSummaryStdDev(java.lang.String fieldName)
Sets the summary type for a data field to standard deviation which would show pivot grand total value
as the standard deviation of all pivot values.
|
void |
setDataFieldSummarySum(java.lang.String fieldName)
Sets the summary type for a data field to sum which would show pivot grand total value
as the sum of all pivot values.
|
void |
setDataFieldSummaryVar(java.lang.String fieldName)
Sets the summary type for a data field to variance which would show pivot grand total value
as the variance of all pivot values.
|
void |
setDataSet(AQDataSet dataSet)
Sets the application data to be presented in the pivot table.
|
void |
setFieldSubtotalCount(java.lang.String fieldName)
Shows subtotal as the number of records stored in the database for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalDefault(java.lang.String fieldName)
Shows subtotal using system default calculation method for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalMax(java.lang.String fieldName)
Shows subtotal as the maximum value among all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalMean(java.lang.String fieldName)
Shows subtotal as the average of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalMedian(java.lang.String fieldName)
Shows subtotal as the median value among all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalMin(java.lang.String fieldName)
Shows subtotal as the minimum value among all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalNone(java.lang.String fieldName)
Hides subtotal for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalStdDev(java.lang.String fieldName)
Shows subtotal as the standard deviation of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalSum(java.lang.String fieldName)
Shows subtotal as the sum of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
setFieldSubtotalVar(java.lang.String fieldName)
Shows subtotal as the variance of all pivot values for the specified field when it is defined as either a row field or a column field.
|
void |
setRowFieldSortAscending(java.lang.String fieldName)
Sorts a row field in ascending order.
|
void |
setRowFieldSortDescending(java.lang.String fieldName)
Sorts a row field in descending order.
|
void |
setRowFieldSortNone(java.lang.String fieldName)
Sorts the values that correspond to a row field in the order defined in the application data.
|
void |
setRowFieldSubtotalCount(java.lang.String fieldName)
Shows subtotal as the number of records stored in the database for the specified field when it is defined as a row field.
|
void |
setRowFieldSubtotalDefault(java.lang.String fieldName)
Shows subtotal using system default calculation method for the specified field when it is defined as a row field.
|
void |
setRowFieldSubtotalMax(java.lang.String fieldName)
Shows subtotal as the maximum value among all pivot values for the specified field when it is defined as a row field.
|
void |
setRowFieldSubtotalMean(java.lang.String fieldName)
Shows subtotal as the average of all pivot values for the specified field when it is defined as a row field.
|
void |
setRowFieldSubtotalMin(java.lang.String fieldName)
Shows subtotal as the minimum value among all pivot values for the specified field when it is defined as a row field.
|
void |
setRowFieldSubtotalNone(java.lang.String fieldName)
Hides subtotal for the specified field when it is defined as a row field.
|
void |
setRowFieldSubtotalStdDev(java.lang.String fieldName)
Shows subtotal as the standard deviation of all pivot values for the specified field when it is defined as a row field.
|
void |
setRowFieldSubtotalSum(java.lang.String fieldName)
Shows subtotal as the sum of all pivot values for the specified field when it is defined as a row field.
|
void |
setRowFieldSubtotalVar(java.lang.String fieldName)
Shows subtotal as the variance of all pivot values for the specified field when it is defined as a row field.
|
void |
setShowSubtotal(boolean flag)
Shows subtotals for rows and columns using system default calculation method, or clears previous subtotal settings for all of rows and columns.
|
void |
setShowSubtotalForLastColumn(boolean flag)
Shows or hides the subtotal for the last column.
|
void |
setShowSubtotalForLastRow(boolean flag)
Shows or hides the subtotal for the last row.
|
void |
setShowSubtotalForLastRowAndColumn(boolean flag)
Shows or hides subtotals for the last row and the last column.
|
void |
sortDataColumnAscending(int columnIndex)
Sorts pivot values belong to the specified column in ascending order.
|
void |
sortDataColumnDescending(int columnIndex)
Sorts pivot values belong to the specified column in descending order.
|
void |
sortGrandTotalColumnAscending(java.lang.String dataFieldName)
Sorts values belong to the grand total column associated with the specified data field in ascending order.
|
void |
sortGrandTotalColumnDescending(java.lang.String dataFieldName)
Sorts values belong to the grand total column associated with the specified data field in descending order.
|
void |
unsetColumnFieldSortOrder(java.lang.String fieldName)
Unsets the sorting order corresponding to the specified column field.
|
void |
unsetDataFieldSummaryType(java.lang.String fieldName)
Unsets the summary type corresponding to the specified data field.
|
void |
unsetRowFieldSortOrder(java.lang.String fieldName)
Unsets the sorting order corresponding to the specified row field.
|
void setDataSet(AQDataSet dataSet)
dataSet
- the application dataAQDataSet getDataSet()
boolean isShowGrandTotalForRow()
boolean isShowGrandTotalForColumn()
void addRowField(java.lang.String fieldName)
fieldName
- the name of the row field to be addedvoid removeRowField(java.lang.String fieldName)
fieldName
- the name of the row field to be removedjava.lang.String[] getRowFields()
void clearRowFields()
void addColumnField(java.lang.String fieldName)
fieldName
- the name of the column field to be addedvoid removeColumnField(java.lang.String fieldName)
fieldName
- the name of the column field to be removedjava.lang.String[] getColumnFields()
void clearColumnFields()
void addDataField(java.lang.String fieldName)
fieldName
- the name of the data field to be addedvoid removeDataField(java.lang.String fieldName)
fieldName
- the name of the data field to be removedjava.lang.String[] getDataFields()
void clearDataFields()
void setRowFieldSortAscending(java.lang.String fieldName)
fieldName
- the name of the row field to which sorting order to be setvoid setRowFieldSortDescending(java.lang.String fieldName)
fieldName
- the name of the row field to which sorting order to be setvoid setRowFieldSortNone(java.lang.String fieldName)
fieldName
- the name of the row field to which sorting order to be setboolean isRowFieldSortAscending(java.lang.String fieldName)
fieldName
- the name of the row fieldboolean isRowFieldSortDescending(java.lang.String fieldName)
fieldName
- the name of the row fieldboolean isRowFieldSortNone(java.lang.String fieldName)
fieldName
- the name of the row fieldvoid unsetRowFieldSortOrder(java.lang.String fieldName)
fieldName
- the name of the row field from which sorting order to be unsetvoid clearRowFieldSortOrderSettings()
void setColumnFieldSortAscending(java.lang.String fieldName)
fieldName
- the name of the column field to which sorting order to be setvoid setColumnFieldSortDescending(java.lang.String fieldName)
fieldName
- the name of the column field to which sorting order to be setvoid setColumnFieldSortNone(java.lang.String fieldName)
fieldName
- the name of the column field to which sorting order to be setboolean isColumnFieldSortAscending(java.lang.String fieldName)
fieldName
- the name of the column fieldboolean isColumnFieldSortDescending(java.lang.String fieldName)
fieldName
- the name of the column fieldboolean isColumnFieldSortNone(java.lang.String fieldName)
fieldName
- the name of the column fieldvoid unsetColumnFieldSortOrder(java.lang.String fieldName)
fieldName
- the name of the column field from which sorting order to be unsetvoid clearColumnFieldSortOrderSettings()
void sortGrandTotalColumnAscending(java.lang.String dataFieldName)
dataFieldName
is an empty string, i.e. a string with length equals zero,
then all of values contained in the grand total column will be sorted in ascending order if there are no data fields defined.
This method will override the column sorting setting defined by data column and
disable the sorting on the last row field.dataFieldName
- the data field namevoid sortGrandTotalColumnDescending(java.lang.String dataFieldName)
dataFieldName
is an empty string, i.e. a string with length equals zero,
then all of values contained in the grand total column will be sorted in descending order if there are no data fields defined.
This method will override the column sorting setting defined by data column and
disable the sorting on the last row field.dataFieldName
- the data field nameboolean isSortByGrandTotalColumn()
boolean isSortGrandTotalColumnAscending()
boolean isSortGrandTotalColumnDescending()
java.lang.String getGrandTotalColumnSortName()
void clearGrandTotalColumnSortSettings()
void setShowSubtotal(boolean flag)
flag
- the boolean value that determines whether to show or clear subtotalsboolean isShowSubtotalUsingSystemDefault()
void setShowSubtotalForLastRowAndColumn(boolean flag)
flag
- the boolean value that determines whether to show or hide subtotals for the last row and the last columnvoid setShowSubtotalForLastRow(boolean flag)
flag
- the boolean value that determines whether to show or hide the subtotal for the last rowvoid setShowSubtotalForLastColumn(boolean flag)
flag
- the boolean value that determines whether to show or hide the subtotal for the last columnboolean isShowSubtotalForLastRow()
boolean isShowSubtotalForLastColumn()
void setFieldSubtotalNone(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalDefault(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalMedian(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid setFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid addFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid addFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid addFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid addFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid addFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid addFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid addFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid removeFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid removeFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid removeFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid removeFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid removeFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid removeFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid removeFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalNone(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalDefault(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid setRowFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid addRowFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid addRowFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid addRowFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid addRowFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid addRowFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid addRowFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid addRowFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid removeRowFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid removeRowFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid removeRowFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid removeRowFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid removeRowFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid removeRowFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid removeRowFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalNone(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalDefault(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid setColumnFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid addColumnFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid addColumnFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid addColumnFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid addColumnFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid addColumnFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid addColumnFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid addColumnFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid removeColumnFieldSubtotalSum(java.lang.String fieldName)
fieldName
- the field namevoid removeColumnFieldSubtotalMax(java.lang.String fieldName)
fieldName
- the field namevoid removeColumnFieldSubtotalMin(java.lang.String fieldName)
fieldName
- the field namevoid removeColumnFieldSubtotalMean(java.lang.String fieldName)
fieldName
- the field namevoid removeColumnFieldSubtotalVar(java.lang.String fieldName)
fieldName
- the field namevoid removeColumnFieldSubtotalStdDev(java.lang.String fieldName)
fieldName
- the field namevoid removeColumnFieldSubtotalCount(java.lang.String fieldName)
fieldName
- the field namevoid sortDataColumnAscending(int columnIndex)
columnIndex
- the column index where sorting to be applied; index is zero-basedvoid sortDataColumnDescending(int columnIndex)
columnIndex
- the column index where sorting to be applied; index is zero-basedint getSortDataColumnIndex()
boolean isSortByDataColumn()
boolean isSortDataColumnAscending()
boolean isSortDataColumnDescending()
void clearDataColumnSortSettings()
void setDataFieldSummarySum(java.lang.String fieldName)
fieldName
- the name of the data field to which summary type to be setvoid setDataFieldSummaryMedian(java.lang.String fieldName)
fieldName
- the name of the data field to which summary type to be setvoid setDataFieldSummaryMax(java.lang.String fieldName)
fieldName
- the name of the data field to which summary type to be setvoid setDataFieldSummaryMin(java.lang.String fieldName)
fieldName
- the name of the data field to which summary type to be setvoid setDataFieldSummaryMean(java.lang.String fieldName)
fieldName
- the name of the data field to which summary type to be setvoid setDataFieldSummaryVar(java.lang.String fieldName)
fieldName
- the name of the data field to which summary type to be setvoid setDataFieldSummaryStdDev(java.lang.String fieldName)
fieldName
- the name of the data field to which summary type to be setvoid setDataFieldSummaryCount(java.lang.String fieldName)
fieldName
- the name of the data field to which summary type to be setboolean isDataFieldSummarySum(java.lang.String fieldName)
fieldName
- the name of the data fieldboolean isDataFieldSummaryMax(java.lang.String fieldName)
fieldName
- the name of the data fieldboolean isDataFieldSummaryMin(java.lang.String fieldName)
fieldName
- the name of the data fieldboolean isDataFieldSummaryMean(java.lang.String fieldName)
fieldName
- the name of the data fieldboolean isDataFieldSummaryVar(java.lang.String fieldName)
fieldName
- the name of the data fieldboolean isDataFieldSummaryStdDev(java.lang.String fieldName)
fieldName
- the name of the data fieldboolean isDataFieldSummaryCount(java.lang.String fieldName)
fieldName
- the name of the data fieldboolean isDataFieldSummaryCountD(java.lang.String fieldName)
void unsetDataFieldSummaryType(java.lang.String fieldName)
setDataFieldSummarySum(String fieldName)
for more information.fieldName
- the name of the data field from which summary type to be unsetvoid clearDataFieldSummaryTypeSettings()
void calculateGrid() throws java.lang.Exception
java.lang.Exception
- if pivot data cannot be calculated due to incorrect settingsboolean isCalculated()
java.lang.String renderText() throws java.lang.Exception
grid settings
.java.lang.Exception
- if the pivot data has not been calculatedjava.lang.String renderText(int lineCount) throws java.lang.Exception
lineCount
rows, to a formatted plain text grid using the default
grid settings
.lineCount
- the maximum number of rows to displayjava.lang.Exception
- if the pivot data has not been calculatedjava.lang.String renderText(AQDataSetSettings settings) throws java.lang.Exception
settings
.settings
- a grid settingsjava.lang.Exception
- if the pivot data has not been calculatedjava.lang.String renderHtml(AQDataSetSettings settings) throws java.lang.Exception
settings
.settings
- a grid settingsjava.lang.Exception
- if the pivot data has not been calculatedjava.lang.String renderHtml(AQDataSetSettings settings, AQChart chart) throws java.lang.Exception
settings
.settings
- a grid settingschart
- an object that describes how chart to be presented; ignored if nulljava.lang.Exception
- if the pivot data has not been calculatedjava.lang.String renderHtml() throws java.lang.Exception
settings
.java.lang.Exception
- if the pivot data has not been calculatedvoid saveAsExcel2003(java.lang.String fileName) throws java.lang.Exception
fileName
- the name of the file where the pivot data to be savedjava.lang.Exception
- On errorvoid saveAsExcel2003(java.lang.String fileName, AQDataSetSettings settings, AQChart chart) throws java.lang.Exception
fileName
- the name of the file where the pivot data to be savedsettings
- a data set settings, default settings are used if nullchart
- an object that describes how chart to be presented; ignored if nulljava.lang.Exception
- On errorbyte[] getAsExcel2003() throws java.lang.Exception
java.lang.Exception
- On errorbyte[] getAsExcel2003(AQDataSetSettings settings, AQChart chart) throws java.lang.Exception
settings
- a data set settings, default settings are used if nullchart
- an object that describes how chart to be presented; ignored if nulljava.lang.Exception
- On errorvoid saveAsExcel2007(java.lang.String fileName) throws java.lang.Exception
fileName
- the name of the file where the pivot data to be savedjava.lang.Exception
- On errorvoid saveAsExcel2007(java.lang.String fileName, AQDataSetSettings settings, AQChart chart) throws java.lang.Exception
fileName
- the name of the file where the pivot data to be savedsettings
- a data set settings, default settings are used if nullchart
- an object that describes how chart to be presented; ignored if nulljava.lang.Exception
- On errorbyte[] getAsExcel2007() throws java.lang.Exception
java.lang.Exception
- On errorbyte[] getAsExcel2007(AQDataSetSettings settings, AQChart chart) throws java.lang.Exception
settings
- a data set settings, default settings are used if nullchart
- an object that describes how chart to be presented; ignored if nulljava.lang.Exception
- On error
Copyright © 2019 AquaFold, Inc. All Rights Reserved. Use is subject to license terms.