|
JClass DesktopViews 6.3.0 API Documentation |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
The Walkable interface should be implemented by objects that wish to traverse HiGrid's RowTree. The walk() method within RowTree class takes as arguments an initial rowNode to start walking from and a Walkable object that controls when the walking is to finish. You can use your Walkable object to store state information that you can examine after the walk has completed.
Field Summary | |
static long |
serialVersionUID
|
Method Summary | |
boolean |
done()
Return true if the walk has met its terminating condition. |
boolean |
find(com.klg.jclass.higrid.RowNode rowNode)
find() is invoked by the walk() routine to test whether the passed rowNode meets the walk termination criteria. |
boolean |
getDownward()
Return true if walking downward, false if walking upward. |
void |
next(com.klg.jclass.higrid.RowNode rowNode)
next() is invoked when the walk() routine moves to the next RowNode. |
void |
previous(com.klg.jclass.higrid.RowNode rowNode)
previous() is invoked when the walk() routine moves to the previous RowNode. |
Field Detail |
public static final long serialVersionUID
Method Detail |
public boolean getDownward()
public boolean done()
public void next(com.klg.jclass.higrid.RowNode rowNode)
rowNode
- The rowNode that the walk() routine has traversed to.public void previous(com.klg.jclass.higrid.RowNode rowNode)
rowNode
- The rowNode that the walk() routine has traversed to.public boolean find(com.klg.jclass.higrid.RowNode rowNode)
rowNode
- The rowNode that the walk() routine has traversed to
and is checking for termination.
|
Copyright © 2004 Quest Software Inc.. All rights reserved. |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |