org.zkoss.pivot.impl.util
Class HeaderLabelFiller

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

public class HeaderLabelFiller
extends AbstractFiller

Filler for header labels.

Author:
simonpai

Field Summary
 
Fields inherited from class org.zkoss.pivot.impl.util.AbstractFiller
_pgInfo
 
Constructor Summary
HeaderLabelFiller(Pivottable table, PivotRenderer renderer)
           
 
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.
 int[][] getLabelIDs()
           
 java.util.List<java.lang.String> getLabelList()
           
 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

HeaderLabelFiller

public HeaderLabelFiller(Pivottable table,
                         PivotRenderer renderer)
Method Detail

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

getLabelIDs

public int[][] getLabelIDs()

getLabelList

public java.util.List<java.lang.String> getLabelList()

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 © 2013. All Rights Reserved.