Uses of Interface
org.zkoss.pivot.Calculator
Packages that use Calculator
Package
Description
Major classes of ZK Pivottable.
Implementation of models.
Macro components for Pivottable control.
Pivottable related utility classes.
-
Uses of Calculator in org.zkoss.pivot
Methods in org.zkoss.pivot that return CalculatorModifier and TypeMethodDescriptionPivotHeaderContext.getCalculator()Returns the subtotal Calculator if the context represents a subtotal slot, null otherwise.PivotField.getSubtotal(int index) Returns the ith subtotal calculator on the field.PivotField.getSubtotals()Returns a set of subtotal calculator in order.PivotField.getSummary()Returns the summary calculatorPivotModelExt.getSupportedCalculators()Return a list of supported Calculators as options of Summary and Subtotals.Methods in org.zkoss.pivot with parameters of type CalculatorModifier and TypeMethodDescriptionPivotRenderer.renderSubtotalField(Object data, Pivottable table, PivotField field, Calculator calculator) Renders the label of a subtotal field.voidPivotModelExt.setFieldSubtotals(PivotField field, Calculator[] subtotals) Set the subtotals on a field.voidPivotModelExt.setFieldSummary(PivotField field, Calculator summary) Set the summary on a field.Constructors in org.zkoss.pivot with parameters of type CalculatorModifierConstructorDescriptionPivotHeaderContext(PivotHeaderNode node, Calculator calculator, int displayIndex) -
Uses of Calculator in org.zkoss.pivot.impl
Classes in org.zkoss.pivot.impl that implement CalculatorModifier and TypeClassDescriptionclassAbstractCalculator<C extends Context<C>>The skeleton to implementContextualCalculator.enumThe built-in Calculator set forTabularPivotModel.Fields in org.zkoss.pivot.impl declared as CalculatorModifier and TypeFieldDescriptionprotected Calculator[]SimplePivotField._subtotalsprotected CalculatorSimplePivotField._summaryMethods in org.zkoss.pivot.impl that return CalculatorModifier and TypeMethodDescriptionSimplePivotField.getSubtotal(int index) SimplePivotField.getSubtotals()SimplePivotField.getSummary()TabularPivotField.getSummary()TabularPivotModel.getSupportedCalculators()Methods in org.zkoss.pivot.impl with parameters of type CalculatorModifier and TypeMethodDescriptionprotected ContextualCalculator<?>TabularPivotModel.cast(Calculator calc) SimplePivotRenderer.renderSubtotalField(Object data, Pivottable table, PivotField field, Calculator calculator) voidTabularPivotModel.setFieldSubtotals(String fieldName, Calculator[] subtotals) Sets the subtotal calculators on a field, or null to show no subtotal.voidTabularPivotModel.setFieldSubtotals(PivotField field, Calculator[] subtotals) voidTabularPivotModel.setFieldSummary(String fieldName, Calculator summary) Sets the summary calculator on a field, or null to use the default one.voidTabularPivotModel.setFieldSummary(PivotField field, Calculator summary) protected voidSimplePivotField.setSubtotals(Calculator[] subtotals) protected voidSimplePivotField.setSummary(Calculator summary) -
Uses of Calculator in org.zkoss.pivot.impl.calc
Subinterfaces of Calculator in org.zkoss.pivot.impl.calcModifier and TypeInterfaceDescriptioninterfaceContextualCalculator<C extends Context<C>>The interface forCalculatorthat usesContextto compute an aggregation summary. -
Uses of Calculator in org.zkoss.pivot.ui
Fields in org.zkoss.pivot.ui with type parameters of type CalculatorModifier and TypeFieldDescriptionprotected final Map<String,Calculator> PivotFieldControl._calmapMethods in org.zkoss.pivot.ui that return CalculatorMethods in org.zkoss.pivot.ui with parameters of type CalculatorModifier and TypeMethodDescriptionvoidPivotFieldControl.setSubtotals(PivotField field, Calculator[] selected) -
Uses of Calculator in org.zkoss.pivot.util
Methods in org.zkoss.pivot.util that return CalculatorModifier and TypeMethodDescriptionPivotExportCell.getCalcuator()Returns the Calculator.static CalculatorTrees.getCalculator(PivotField field, int index) Retrieves the Calculator from a field by index.static CalculatorTrees.getCalculator(PivotHeaderNode node, int index) Retrieves the Calculator from a node by index.Constructors in org.zkoss.pivot.util with parameters of type CalculatorModifierConstructorDescriptionPivotExportCell(PivotExportCell.Type type, String label, Object key, int[] span, String fieldName, Calculator calculator)