Interface PivotModelExt

All Superinterfaces:
PivotModel
All Known Implementing Classes:
TabularPivotModel

public interface PivotModelExt extends PivotModel
An extension of PivotModel which specifies control methods, used by PivotFieldControl.
Author:
simonpai
  • Method Details

    • setFieldType

      void setFieldType(PivotField field, PivotField.Type type)
      Change the type of a pivot field. The field will be at the last level of column/row in case of COLUMN or ROW, and will be the last one in display order in case of DATA.
      See Also:
    • setFieldType

      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).
      Parameters:
      index - the tree level or display position
      See Also:
    • getSupportedCalculators

      Calculator[] getSupportedCalculators()
      Return a list of supported Calculators as options of Summary and Subtotals.
    • setFieldSummary

      void setFieldSummary(PivotField field, Calculator summary)
      Set the summary on a field.
    • setFieldSubtotals

      void setFieldSubtotals(PivotField field, Calculator[] subtotals)
      Set the subtotals on a field.