org.jdesktop.swingx.tree
Class TreeUtilities.PostorderModelEnumeration

java.lang.Object
  extended by org.jdesktop.swingx.tree.TreeUtilities.PostorderModelEnumeration
All Implemented Interfaces:
Enumeration
Enclosing class:
TreeUtilities

public static class TreeUtilities.PostorderModelEnumeration
extends Object
implements Enumeration

Implementation of a postorder traversal of a subtree in a TreeModel.


Field Summary
protected  Enumeration children
           
protected  TreeModel model
           
protected  Object root
           
protected  Enumeration subtree
           
 
Constructor Summary
TreeUtilities.PostorderModelEnumeration(TreeModel model)
           
TreeUtilities.PostorderModelEnumeration(TreeModel model, Object node)
           
 
Method Summary
 boolean hasMoreElements()
           
 Object nextElement()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

model

protected TreeModel model

root

protected Object root

children

protected Enumeration children

subtree

protected Enumeration subtree
Constructor Detail

TreeUtilities.PostorderModelEnumeration

public TreeUtilities.PostorderModelEnumeration(TreeModel model)

TreeUtilities.PostorderModelEnumeration

public TreeUtilities.PostorderModelEnumeration(TreeModel model,
                                               Object node)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface Enumeration

nextElement

public Object nextElement()
Specified by:
nextElement in interface Enumeration


Copyright © 2012. All Rights Reserved.