|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.pivot.impl.util.HeaderTraverser
public class HeaderTraverser
An engine that traverses through a PivotHeaderTree and calls Fillers. Also provides extra information of the tree.
| Nested Class Summary | |
|---|---|
static interface |
HeaderTraverser.Filler
The interface called by HeaderTraverser. |
| Constructor Summary | |
|---|---|
HeaderTraverser(PivotHeaderTree tree,
PagingInfo pgInfo,
boolean open)
|
|
| Method Summary | |
|---|---|
int |
getDepth()
Return the depth of tree minus 1. |
int |
getRealSize()
Return the size capped by paging limitation. |
int |
getSize()
Return the total size of the tree. |
void |
run(HeaderTraverser.Filler[] fillers)
Traverse the tree and call each Filler at each node and calculator. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeaderTraverser(PivotHeaderTree tree,
PagingInfo pgInfo,
boolean open)
| Method Detail |
|---|
public int getSize()
public int getRealSize()
public int getDepth()
public void run(HeaderTraverser.Filler[] fillers)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||