|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.zkoss.pivot.impl.SimplePivotHeaderTree
public class SimplePivotHeaderTree
A simple implementation of PivotHeaderTree
| Constructor Summary | |
|---|---|
SimplePivotHeaderTree(PivotField[] fields)
Construct an empty tree |
|
| Method Summary | |
|---|---|
int |
getDepth()
Returns the depth of the tree. |
SimplePivotHeaderNode |
getRoot()
Returns the root of the tree. |
void |
sort()
Sort the tree nodes by node keys, using natural ordering. |
void |
sort(java.util.Comparator<PivotHeaderNode> comparator)
Sort the tree nodes by node keys, using given comparator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SimplePivotHeaderTree(PivotField[] fields)
fields - the fields of each level| Method Detail |
|---|
public void sort()
public void sort(java.util.Comparator<PivotHeaderNode> comparator)
public int getDepth()
PivotHeaderTree
getDepth in interface PivotHeaderTreepublic SimplePivotHeaderNode getRoot()
PivotHeaderTree
getRoot in interface PivotHeaderTreePivotHeaderNode
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||