public interface PivotModelExt extends PivotModel
PivotModel
which specifies control methods, used by
PivotFieldControl
.Modifier and Type | Interface and Description |
---|---|
static interface |
PivotModelExt.SortCtrl
The optional interface for sorting control.
|
Modifier and Type | Method and Description |
---|---|
Calculator[] |
getSupportedCalculators()
Return a list of supported Calculators as options of Summary and Subtotals.
|
void |
setFieldSubtotals(PivotField field,
Calculator[] subtotals)
Set the subtotals on a field.
|
void |
setFieldSummary(PivotField field,
Calculator summary)
Set the summary on a field.
|
void |
setFieldType(PivotField field,
PivotField.Type type)
Change the type of a pivot field.
|
void |
setFieldType(PivotField field,
PivotField.Type type,
int index)
Change the type of a pivot field and insert it at the given level (in
case of COLUMN or ROW) or display position (in case of DATA).
|
addPivotDataListener, getColumnHeaderTree, getFields, getFields, getRowHeaderTree, getValue, removePivotDataListener
void setFieldType(PivotField field, PivotField.Type type)
PivotField.Type
void setFieldType(PivotField field, PivotField.Type type, int index)
index
- the tree level or display positionPivotField.Type
Calculator[] getSupportedCalculators()
void setFieldSummary(PivotField field, Calculator summary)
void setFieldSubtotals(PivotField field, Calculator[] subtotals)
Copyright © 2017. All rights reserved.