Copyright © 2005 Scientific Applications. All Rights Reserved.

com.sciapp.treetable
Interface TreeNodeEnumeration

All Superinterfaces:
Enumeration
All Known Implementing Classes:
DefaultTreeNodeEnumeration, LevelNodeEnumeration

public interface TreeNodeEnumeration
extends Enumeration

TreeNodeEnumeration is an enumeration for the nodes of a TreeModel that also defines a method for retrieving the level of the node being returned.


Method Summary
 int getNodeLevel()
          Returns the level of the node that has been previously returned by the nextElement method.
 
Methods inherited from interface java.util.Enumeration
hasMoreElements, nextElement
 

Method Detail

getNodeLevel

int getNodeLevel()
Returns the level of the node that has been previously returned by the nextElement method.

Returns:
the node's level

Copyright © 2005 Scientific Applications. All Rights Reserved.