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.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
 Calculator PivotHeaderContext.getCalculator()
          Returns the subtotal Calculator if the context represents a subtotal slot, null otherwise.
 Calculator PivotField.getSubtotal(int index)
          Returns the ith subtotal calculator on the field.
 Calculator[] PivotField.getSubtotals()
          Returns a set of subtotal calculator in order.
 Calculator PivotField.getSummary()
          Returns the summary calculator
 Calculator[] PivotModelExt.getSupportedCalculators()
          Return a list of supported Calculators as options of Summary and Subtotals.
 

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.
 void PivotModelExt.setFieldSubtotals(PivotField field, Calculator[] subtotals)
          Set the subtotals on a field.
 void PivotModelExt.setFieldSummary(PivotField field, Calculator summary)
          Set the summary on a 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<C extends Context<C>>
          The skeleton to implement ContextualCalculator.
 class StandardCalculator
          The built-in Calculator set for TabularPivotModel.
 

Fields in org.zkoss.pivot.impl declared as Calculator
protected  Calculator[] SimplePivotField._subtotals
           
protected  Calculator SimplePivotField._summary
           
 

Methods in org.zkoss.pivot.impl that return Calculator
 Calculator SimplePivotField.getSubtotal(int index)
           
 Calculator[] SimplePivotField.getSubtotals()
           
 Calculator TabularPivotField.getSummary()
           
 Calculator SimplePivotField.getSummary()
           
 Calculator[] TabularPivotModel.getSupportedCalculators()
           
 

Methods in org.zkoss.pivot.impl with parameters of type Calculator
protected  ContextualCalculator<?> TabularPivotModel.cast(Calculator calc)
           
 java.lang.String SimplePivotRenderer.renderSubtotalField(java.lang.Object data, Pivottable table, PivotField field, Calculator calculator)
           
 void TabularPivotModel.setFieldSubtotals(PivotField field, Calculator[] subtotals)
           
 void TabularPivotModel.setFieldSubtotals(java.lang.String fieldName, Calculator[] subtotals)
          Sets the subtotal calculators on a field, or null to show no subtotal.
 void TabularPivotModel.setFieldSummary(PivotField field, Calculator summary)
           
 void TabularPivotModel.setFieldSummary(java.lang.String fieldName, Calculator summary)
          Sets the summary calculator on a field, or null to use the default one.
protected  void SimplePivotField.setSubtotals(Calculator[] subtotals)
           
protected  void SimplePivotField.setSummary(Calculator summary)
           
 

Uses of Calculator in org.zkoss.pivot.impl.calc
 

Subinterfaces of Calculator in org.zkoss.pivot.impl.calc
 interface ContextualCalculator<C extends Context<C>>
          The interface for Calculator that uses Context to compute an aggregation summary.
 

Uses of Calculator in org.zkoss.pivot.ui
 

Fields in org.zkoss.pivot.ui with type parameters of type Calculator
protected  java.util.Map<java.lang.String,Calculator> PivotFieldControl._calmap
           
 

Methods in org.zkoss.pivot.ui that return Calculator
 Calculator[] PivotFieldControl.getSubtotals(PivotField field)
           
 

Methods in org.zkoss.pivot.ui with parameters of type Calculator
 void PivotFieldControl.setSubtotals(PivotField field, Calculator[] selected)
           
 

Uses of Calculator in org.zkoss.pivot.util
 

Methods in org.zkoss.pivot.util that return Calculator
 Calculator Exports.PivotExportCell.getCalcuator()
          Returns the 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.
 

Constructors in org.zkoss.pivot.util with parameters of type Calculator
Exports.PivotExportCell(Exports.PivotExportCell.Type type, java.lang.String label, java.lang.Object key, int[] span, java.lang.String fieldName, Calculator calculator)
           
 



Copyright © 2012. All Rights Reserved.