com.citra.treetable
Class LevelNodeEnumeration
java.lang.Object
com.citra.treetable.DefaultTreeNodeEnumeration
com.citra.treetable.LevelNodeEnumeration
- All Implemented Interfaces:
- TreeNodeEnumeration, Enumeration
public class LevelNodeEnumeration
- extends DefaultTreeNodeEnumeration
LevelNodeEnumeration is a TreeNodeEnumeration that returns nodes
at a designated level. This level is specified in its constructor.
Method Summary |
boolean |
hasMoreElements()
Tests if this enumeration contains more elements. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LevelNodeEnumeration
public LevelNodeEnumeration(TreeModel model,
Object rootNode,
int level)
- Constructs a LevelNodeEnumeration.
hasMoreElements
public boolean hasMoreElements()
- Tests if this enumeration contains more elements.
- Specified by:
hasMoreElements
in interface Enumeration
- Overrides:
hasMoreElements
in class DefaultTreeNodeEnumeration
- Returns:
true
if and only if this enumeration object
contains at least one more element to provide;
false
otherwise.