org.zkoss.pivot.impl.util
Class ExportHeaderCellFiller

java.lang.Object
  extended by org.zkoss.pivot.impl.util.AbstractFiller
      extended by org.zkoss.pivot.impl.util.ExportHeaderCellFiller
All Implemented Interfaces:
HeaderTraverser.Filler

public class ExportHeaderCellFiller
extends AbstractFiller

Filler for header node information, used by exporting utilities.

Author:
simonpai

Field Summary
 
Fields inherited from class org.zkoss.pivot.impl.util.AbstractFiller
_pgInfo
 
Constructor Summary
ExportHeaderCellFiller(Pivottable table, PivotRenderer renderer, boolean isColumn, int dataFieldSize)
           
 
Method Summary
 void forNode(PivotHeaderNode node, Trees.TreeTravCtx ctx, int nodeIndex, int dispDepth)
          Called at each node in traversal.
 void forSubtotals(PivotHeaderNode node, Trees.TreeTravCtx ctx, int nodeIndex, int dispDepth, int calIndex)
          Called at each calculator in traversal.
 Exports.PivotExportCell[][] getExportCells()
           
 void init(HeaderTraverser context, PagingInfo pgInfo)
          Called before tree traversal.
 
Methods inherited from class org.zkoss.pivot.impl.util.AbstractFiller
afterFill
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExportHeaderCellFiller

public ExportHeaderCellFiller(Pivottable table,
                              PivotRenderer renderer,
                              boolean isColumn,
                              int dataFieldSize)
Method Detail

getExportCells

public Exports.PivotExportCell[][] getExportCells()

init

public void init(HeaderTraverser context,
                 PagingInfo pgInfo)
Description copied from interface: HeaderTraverser.Filler
Called before tree traversal.

Specified by:
init in interface HeaderTraverser.Filler
Overrides:
init in class AbstractFiller

forNode

public void forNode(PivotHeaderNode node,
                    Trees.TreeTravCtx ctx,
                    int nodeIndex,
                    int dispDepth)
Description copied from interface: HeaderTraverser.Filler
Called at each node in traversal.


forSubtotals

public void forSubtotals(PivotHeaderNode node,
                         Trees.TreeTravCtx ctx,
                         int nodeIndex,
                         int dispDepth,
                         int calIndex)
Description copied from interface: HeaderTraverser.Filler
Called at each calculator in traversal.



Copyright © 2012. All Rights Reserved.