Package | Description |
---|---|
org.zkoss.pivot |
Major classes of ZK Pivottable.
|
org.zkoss.pivot.impl |
Implementation of models.
|
org.zkoss.pivot.impl.util |
Utilities for model implementations and Pivottable.
|
org.zkoss.pivot.util |
Pivottable related utility classes.
|
Modifier and Type | Method and Description |
---|---|
PivotHeaderNode |
PivotHeaderNode.getChild(Object key)
Find child by node key.
|
PivotHeaderNode |
PivotHeaderContext.getNode()
Returns the PivotHeaderNode corresponding to the slot.
|
PivotHeaderNode |
PivotHeaderNode.getParent()
Returns the parent of the node.
|
PivotHeaderNode |
PivotHeaderTree.getRoot()
Returns the root of the tree.
|
Modifier and Type | Method and Description |
---|---|
List<? extends PivotHeaderNode> |
PivotHeaderNode.getChildren()
Returns the children of the node.
|
Modifier and Type | Method and Description |
---|---|
Object |
PivotModel.getValue(PivotHeaderNode rowNode,
int rowCalIndex,
PivotHeaderNode colNode,
int colCalIndex,
int dataIndex)
Get the calculated data summary at specific cell position.
|
Constructor and Description |
---|
PivotHeaderContext(PivotHeaderNode node,
Calculator calculator,
int displayIndex) |
Modifier and Type | Class and Description |
---|---|
class |
SimplePivotHeaderNode
A simple implementation of PivotHeaderNode
|
Modifier and Type | Field and Description |
---|---|
protected static Comparator<PivotHeaderNode> |
TabularPivotModel.NODE_COMPARATOR |
Modifier and Type | Method and Description |
---|---|
protected SimplePivotHeaderNode |
TabularPivotModel.cast(PivotHeaderNode node) |
Number |
TabularPivotModel.getValue(PivotHeaderNode rowNode,
int rowCalIndex,
PivotHeaderNode colNode,
int colCalIndex,
int dataIndex) |
Modifier and Type | Method and Description |
---|---|
void |
SimplePivotHeaderTree.sort(Comparator<PivotHeaderNode> comparator)
Sort the tree nodes by node keys, using given comparator
|
Modifier and Type | Method and Description |
---|---|
void |
DataCellTraverser.fill(PivotHeaderNode rnode,
PivotHeaderNode cnode,
int rindex,
int cindex,
boolean isRowGT,
boolean open) |
void |
HeaderMergeFiller.forNode(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth) |
void |
ExportHeaderCellFiller.forNode(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth) |
void |
HeaderSizeFiller.forNode(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth) |
void |
HeaderTraverser.Filler.forNode(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth)
Called at each node in traversal.
|
void |
HeaderLabelFiller.forNode(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth) |
void |
HeaderKeyFiller.forNode(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth) |
void |
HeaderMergeFiller.forSubtotals(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth,
int calIndex) |
void |
ExportHeaderCellFiller.forSubtotals(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth,
int calIndex) |
void |
HeaderSizeFiller.forSubtotals(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth,
int calIndex) |
void |
HeaderTraverser.Filler.forSubtotals(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth,
int calIndex)
Called at each calculator in traversal.
|
void |
HeaderLabelFiller.forSubtotals(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth,
int calIndex) |
void |
HeaderKeyFiller.forSubtotals(PivotHeaderNode node,
Trees.TreeTravCtx ctx,
int nodeIndex,
int dispDepth,
int calIndex) |
Modifier and Type | Method and Description |
---|---|
static PivotHeaderNode |
Trees.getNode(PivotHeaderTree tree,
int[] indicies)
Seek down PivotHeaderNode by indices.
|
static PivotHeaderNode |
Trees.getNode(PivotHeaderTree tree,
Object[] keys)
Seek down PivotHeaderNode based on keys.
|
Modifier and Type | Method and Description |
---|---|
static Calculator |
Trees.getCalculator(PivotHeaderNode node,
int index)
Retrieves the Calculator from a node by index.
|
static int |
Trees.getSubtotalCount(PivotHeaderNode node)
Return the count of subtotal Calculators on a node
|
static int |
Trees.getSubtotalCount(PivotHeaderNode node,
boolean open)
Return the count of subtotal Calculators on a node
|
static boolean |
Trees.isRoot(PivotHeaderNode node)
Return true if node is root.
|
static boolean |
Trees.isTerminal(PivotHeaderNode node)
Return true if node is leaf or closed.
|
void |
Trees.NodeRunner.onNode(PivotHeaderNode node,
Trees.TreeTravCtx tctx) |
static void |
Trees.openDown(PivotHeaderNode node,
boolean open)
Recursively set open or close to a node and all its descendants.
|
Copyright © 2017. All rights reserved.