Interface PivotModelExt

    • Method Detail

      • 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:
        PivotField.Type
      • 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:
        PivotField.Type
      • 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.