|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.tonbeller.wcf.tree.NodeIterator
flat view of a tree model in pre- or postorder
| Constructor Summary | |
NodeIterator(TreeModel tm,
boolean preorder)
traverses the whole tree |
|
NodeIterator(TreeModel tm,
java.lang.Object root,
boolean preorder)
traverses the subtree containing node and all children of node |
|
| Method Summary | |
boolean |
hasNext()
|
java.lang.Object |
next()
|
void |
remove()
|
void |
rewind()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public NodeIterator(TreeModel tm,
boolean preorder)
tm - preorder -
public NodeIterator(TreeModel tm,
java.lang.Object root,
boolean preorder)
tm - preorder - root - | Method Detail |
public boolean hasNext()
hasNext in interface java.util.Iteratorpublic java.lang.Object next()
next in interface java.util.Iteratorpublic void remove()
remove in interface java.util.Iteratorpublic void rewind()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||