|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.sciapp.treetable.DefaultTreeNodeEnumeration
public class DefaultTreeNodeEnumeration
DefaultTreeNodeEnumeration is the default TreeNodeEnumeration.
| Constructor Summary | |
|---|---|
DefaultTreeNodeEnumeration(TreeModel model,
Object rootNode)
Constructs a DefaultTreeNodeEnumeration. |
|
| Method Summary | |
|---|---|
int |
getNodeLevel()
Returns the level of the node that has been previously returned by the nextElement method. |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
Object |
nextElement()
Returns the next element of this enumeration if this enumeration object has at least one more element to provide. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DefaultTreeNodeEnumeration(TreeModel model,
Object rootNode)
| Method Detail |
|---|
public int getNodeLevel()
getNodeLevel in interface TreeNodeEnumerationpublic boolean hasMoreElements()
hasMoreElements in interface Enumerationtrue if and only if this enumeration object
contains at least one more element to provide;
false otherwise.public Object nextElement()
nextElement in interface Enumeration
|
Copyright © 2005 Scientific Applications. All Rights Reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||