Uses of Interface
org.zkoss.pivot.Calculator

Packages that use Calculator
org.zkoss.pivot Major classes of ZK Pivottable. 
org.zkoss.pivot.impl Implementation of models. 
org.zkoss.pivot.util Pivottable related utility classes. 
 

Uses of Calculator in org.zkoss.pivot
 

Fields in org.zkoss.pivot declared as Calculator
static Calculator Calculators.AVERAGE
          Calculates the arithmetic average of data.
static Calculator Calculators.COUNT
          Returns the count of data.
static Calculator Calculators.MAX
          Calculates the maximum of data.
static Calculator Calculators.MIN
          Calculates the minimum of data.
static Calculator Calculators.SUM
          Returns the arithmetic sum of data.
 

Methods in org.zkoss.pivot that return Calculator
 Calculator PivotHeaderContext.getCalculator()
          Returns the subtotal Calculator if the context represents a subtotal slot, null otherwise.
 Calculator[] PivotField.getSubtotals()
          Returns a set of subtotal calculator in order.
 Calculator PivotField.getSummary()
          Returns the summary calculator
 

Methods in org.zkoss.pivot with parameters of type Calculator
 java.lang.String PivotRenderer.renderSubtotalField(java.lang.Object data, Pivottable table, PivotField field, Calculator calculator)
          Renders the label of a subtotal field.
 

Constructors in org.zkoss.pivot with parameters of type Calculator
PivotHeaderContext(PivotHeaderNode node, Calculator calculator, int displayIndex)
           
 

Uses of Calculator in org.zkoss.pivot.impl
 

Classes in org.zkoss.pivot.impl that implement Calculator
 class AbstractCalculator
          The minimal implemenation of Calculator
 class NumericBinaryCalculator
          Abstract implementation of Calculator which performs a chain of calculation based on a binary operator.
 

Fields in org.zkoss.pivot.impl declared as Calculator
protected  Calculator SimplePivotField.DEFAULT_SUMMARY
           
 

Methods in org.zkoss.pivot.impl that return Calculator
 Calculator[] SimplePivotField.getSubtotals()
           
 Calculator SimplePivotField.getSummary()
           
 

Methods in org.zkoss.pivot.impl with parameters of type Calculator
 java.lang.String SimplePivotRenderer.renderSubtotalField(java.lang.Object data, Pivottable table, PivotField field, Calculator calculator)
           
 void SimplePivotField.setSubtotals(Calculator[] subtotals)
          Sets a set of subtotals in order.
 void SimplePivotField.setSummary(Calculator summary)
          Sets the summary calculator, null to use the default calculator.
 

Uses of Calculator in org.zkoss.pivot.util
 

Methods in org.zkoss.pivot.util that return Calculator
static Calculator Trees.getCalculator(PivotField field, int index)
          Retrieves the Calculator from a field by index.
static Calculator Trees.getCalculator(PivotHeaderNode node, int index)
          Retrieves the Calculator from a node by index.
 



Copyright © 2012. All Rights Reserved.