public abstract class HeaderSizeFiller extends AbstractFiller
_pgInfo
Constructor and Description |
---|
HeaderSizeFiller(PivotField[] dataFields,
boolean hasDataFields,
int headerDispOffset,
PivotHeaderTree tree) |
Modifier and Type | Method and Description |
---|---|
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.
|
protected abstract PivotField |
getOffsetField(int index) |
protected abstract int |
getRenderSize(PivotHeaderContext headerCtx,
PivotField field) |
int[] |
getSizes() |
void |
init(HeaderTraverser context,
PagingInfo pgInfo)
Called before tree traversal.
|
afterFill
public HeaderSizeFiller(PivotField[] dataFields, boolean hasDataFields, int headerDispOffset, PivotHeaderTree tree)
public void init(HeaderTraverser context, PagingInfo pgInfo)
HeaderTraverser.Filler
init
in interface HeaderTraverser.Filler
init
in class AbstractFiller
public int[] getSizes()
public void forNode(PivotHeaderNode node, Trees.TreeTravCtx ctx, int nodeIndex, int dispDepth)
HeaderTraverser.Filler
public void forSubtotals(PivotHeaderNode node, Trees.TreeTravCtx ctx, int nodeIndex, int dispDepth, int calIndex)
HeaderTraverser.Filler
protected abstract int getRenderSize(PivotHeaderContext headerCtx, PivotField field)
protected abstract PivotField getOffsetField(int index)
Copyright © 2017. All rights reserved.