Package org.zkoss.pivot.impl.util
Class HeaderKeyFiller
- java.lang.Object
-
- org.zkoss.pivot.impl.util.AbstractFiller
-
- org.zkoss.pivot.impl.util.HeaderKeyFiller
-
- All Implemented Interfaces:
HeaderTraverser.Filler
public class HeaderKeyFiller extends AbstractFiller
Filler for header keys.- Author:
- simonpai
-
-
Field Summary
-
Fields inherited from class org.zkoss.pivot.impl.util.AbstractFiller
_pgInfo
-
-
Constructor Summary
Constructors Constructor Description HeaderKeyFiller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterFill()
Called after tree traversal.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.String[][]
getKeys()
void
init(HeaderTraverser context, PagingInfo pgInfo)
Called before tree traversal.
-
-
-
Method Detail
-
init
public void init(HeaderTraverser context, PagingInfo pgInfo)
Description copied from interface:HeaderTraverser.Filler
Called before tree traversal.- Specified by:
init
in interfaceHeaderTraverser.Filler
- Overrides:
init
in classAbstractFiller
-
getKeys
public String[][] getKeys()
-
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.
-
afterFill
public void afterFill()
Description copied from interface:HeaderTraverser.Filler
Called after tree traversal.- Specified by:
afterFill
in interfaceHeaderTraverser.Filler
- Overrides:
afterFill
in classAbstractFiller
-
-