|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.klg.jclass.datasource.TreeIterator
Iterates over the siblings of a tree; extends TreeIteratorModel.
Field Summary | |
protected Vector |
children
|
protected int |
currentNode
|
protected int |
firstNode
|
Fields inherited from interface com.klg.jclass.datasource.TreeIteratorModel |
serialVersionUID |
Constructor Summary | |
TreeIterator(com.klg.jclass.datasource.DataSourceTreeNode startNode)
|
Method Summary | |
void |
advance()
Move to the next element in this iterator's list. |
void |
advance(int offset)
Move ahead a specified number of elements in this iterator's list. |
boolean |
atBegin()
Returns boolean: true if iterator is positioned at the beginning of list, false otherwise. |
boolean |
atEnd()
Returns boolean: true if iterator is positioned at the end of list, false otherwise. |
Object |
clone()
Return a copy of the current node.* |
Object |
get()
Return the current node. |
boolean |
hasMoreElements()
Returns boolean: true if this node has more children, false otherwise. |
Object |
nextElement()
Return the next child of this node. |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int firstNode
protected int currentNode
protected Vector children
Constructor Detail |
public TreeIterator(com.klg.jclass.datasource.DataSourceTreeNode startNode)
Method Detail |
public Object nextElement()
TreeIteratorModel
nextElement
in interface TreeIteratorModel
public boolean hasMoreElements()
TreeIteratorModel
hasMoreElements
in interface TreeIteratorModel
public boolean atBegin()
TreeIteratorModel
atBegin
in interface TreeIteratorModel
public Object get()
TreeIteratorModel
get
in interface TreeIteratorModel
public void advance(int offset)
TreeIteratorModel
advance
in interface TreeIteratorModel
public Object clone()
TreeIteratorModel
clone
in interface TreeIteratorModel
clone
in class Object
public boolean atEnd()
TreeIteratorModel
atEnd
in interface TreeIteratorModel
public void advance()
TreeIteratorModel
advance
in interface TreeIteratorModel
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |