|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PivotModelExt
An extension of PivotModel
which specifies control methods, used by
PivotFieldControl
.
Nested Class Summary | |
---|---|
static interface |
PivotModelExt.SortCtrl
The optional interface for sorting control. |
Method Summary | |
---|---|
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). |
Methods inherited from interface org.zkoss.pivot.PivotModel |
---|
addPivotDataListener, getColumnHeaderTree, getFields, getFields, getRowHeaderTree, getValue, removePivotDataListener |
Method Detail |
---|
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)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |