Uses of Interface
org.zkoss.pivot.Calculator
-
Packages that use Calculator Package Description org.zkoss.pivot Major classes of ZK Pivottable.org.zkoss.pivot.impl Implementation of models.org.zkoss.pivot.impl.calc org.zkoss.pivot.ui Macro components for Pivottable control.org.zkoss.pivot.util Pivottable related utility classes. -
-
Uses of Calculator in org.zkoss.pivot
Methods in org.zkoss.pivot that return Calculator Modifier and Type Method Description CalculatorPivotHeaderContext. getCalculator()Returns the subtotal Calculator if the context represents a subtotal slot, null otherwise.CalculatorPivotField. getSubtotal(int index)Returns the ith subtotal calculator on the field.Calculator[]PivotField. getSubtotals()Returns a set of subtotal calculator in order.CalculatorPivotField. getSummary()Returns the summary calculatorCalculator[]PivotModelExt. getSupportedCalculators()Return a list of supported Calculators as options of Summary and Subtotals.Methods in org.zkoss.pivot with parameters of type Calculator Modifier and Type Method Description StringPivotRenderer. 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 Calculator Constructor Description PivotHeaderContext(PivotHeaderNode node, Calculator calculator, int displayIndex) -
Uses of Calculator in org.zkoss.pivot.impl
Classes in org.zkoss.pivot.impl that implement Calculator Modifier and Type Class Description classAbstractCalculator<C extends Context<C>>The skeleton to implementContextualCalculator.classStandardCalculatorThe built-in Calculator set forTabularPivotModel.Fields in org.zkoss.pivot.impl declared as Calculator Modifier and Type Field Description protected Calculator[]SimplePivotField. _subtotalsprotected CalculatorSimplePivotField. _summaryMethods in org.zkoss.pivot.impl that return Calculator Modifier and Type Method Description CalculatorSimplePivotField. getSubtotal(int index)Calculator[]SimplePivotField. getSubtotals()CalculatorSimplePivotField. getSummary()CalculatorTabularPivotField. getSummary()Calculator[]TabularPivotModel. getSupportedCalculators()Methods in org.zkoss.pivot.impl with parameters of type Calculator Modifier and Type Method Description protected ContextualCalculator<?>TabularPivotModel. cast(Calculator calc)StringSimplePivotRenderer. 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.calc Modifier and Type Interface Description interfaceContextualCalculator<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 Calculator Modifier and Type Field Description protected Map<String,Calculator>PivotFieldControl. _calmapMethods in org.zkoss.pivot.ui that return Calculator Modifier and Type Method Description Calculator[]PivotFieldControl. getSubtotals(PivotField field)Methods in org.zkoss.pivot.ui with parameters of type Calculator Modifier and Type Method Description voidPivotFieldControl. setSubtotals(PivotField field, Calculator[] selected) -
Uses of Calculator in org.zkoss.pivot.util
Methods in org.zkoss.pivot.util that return Calculator Modifier and Type Method Description CalculatorPivotExportCell. 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 Calculator Constructor Description PivotExportCell(PivotExportCell.Type type, String label, Object key, int[] span, String fieldName, Calculator calculator)
-