ca.sqlpower.architect.swingui
Class DBTreeNode.TreeNodeEnumeration

java.lang.Object
  extended by ca.sqlpower.architect.swingui.DBTreeNode.TreeNodeEnumeration
All Implemented Interfaces:
java.util.Enumeration
Enclosing class:
DBTreeNode

public class DBTreeNode.TreeNodeEnumeration
extends java.lang.Object
implements java.util.Enumeration

Enumerates the DBTreeNode objects associated with the given SQLObjects by using the userObjectToTreeNodeMap.


Field Summary
protected  java.util.Iterator children
           
 
Constructor Summary
DBTreeNode.TreeNodeEnumeration(SQLObject parent)
           
 
Method Summary
 boolean hasMoreElements()
           
 java.lang.Object nextElement()
          Returns the DBTreeNode associated with the next SQLObject child of the parent given in the constructor.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

children

protected java.util.Iterator children
Constructor Detail

DBTreeNode.TreeNodeEnumeration

public DBTreeNode.TreeNodeEnumeration(SQLObject parent)
Method Detail

hasMoreElements

public boolean hasMoreElements()
Specified by:
hasMoreElements in interface java.util.Enumeration

nextElement

public java.lang.Object nextElement()
Returns the DBTreeNode associated with the next SQLObject child of the parent given in the constructor.

Specified by:
nextElement in interface java.util.Enumeration


Copyright © 2003-2007 SQL Power Group Inc. www.sqlpower.ca