Package org.zkoss.pivot.impl.util
Class HeaderMergeFiller
- java.lang.Object
-
- org.zkoss.pivot.impl.util.AbstractFiller
-
- org.zkoss.pivot.impl.util.HeaderMergeFiller
-
- All Implemented Interfaces:
HeaderTraverser.Filler
public class HeaderMergeFiller extends AbstractFiller
Filler for header colspan/rowspan information- Author:
- simonpai
-
-
Field Summary
-
Fields inherited from class org.zkoss.pivot.impl.util.AbstractFiller
_pgInfo
-
-
Constructor Summary
Constructors Constructor Description HeaderMergeFiller()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidforNode(PivotHeaderNode node, Trees.TreeTravCtx ctx, int nodeIndex, int dispDepth)Called at each node in traversal.voidforSubtotals(PivotHeaderNode node, Trees.TreeTravCtx ctx, int nodeIndex, int dispDepth, int calIndex)Called at each calculator in traversal.int[]getIconCutoffs()int[][]getSpans()voidinit(HeaderTraverser context, PagingInfo pgInfo)Called before tree traversal.-
Methods inherited from class org.zkoss.pivot.impl.util.AbstractFiller
afterFill
-
-
-
-
Method Detail
-
init
public void init(HeaderTraverser context, PagingInfo pgInfo)
Description copied from interface:HeaderTraverser.FillerCalled before tree traversal.- Specified by:
initin interfaceHeaderTraverser.Filler- Overrides:
initin classAbstractFiller
-
getSpans
public int[][] getSpans()
-
getIconCutoffs
public int[] getIconCutoffs()
-
forNode
public void forNode(PivotHeaderNode node, Trees.TreeTravCtx ctx, int nodeIndex, int dispDepth)
Description copied from interface:HeaderTraverser.FillerCalled 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.FillerCalled at each calculator in traversal.
-
-