com.sas.util
Class PreorderTreeModelIterator

com.sas.util.PreorderTreeModelIterator
All Implemented Interfaces:
java.util.Iterator

public class PreorderTreeModelIterator
implements java.util.Iterator

An iterator for walking the nodes of a tree model.


Constructor Summary
PreorderTreeModelIterator(javax.swing.tree.TreeModel model)
           
 
Method Summary
 java.lang.Object[] getParentStack()
           
 boolean hasNext()
           
 java.lang.Object next()
           
 void remove()
           
 

Constructor Detail

PreorderTreeModelIterator

public PreorderTreeModelIterator(javax.swing.tree.TreeModel model)
Method Detail

hasNext

public boolean hasNext()
Specified by:
hasNext in interface java.util.Iterator

next

public java.lang.Object next()
Specified by:
next in interface java.util.Iterator

getParentStack

public java.lang.Object[] getParentStack()

remove

public void remove()
Specified by:
remove in interface java.util.Iterator



Copyright © 2009 SAS Institute Inc. All Rights Reserved.