|
JGraph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
Defines the interface that visitors use to perform operations upon the graph information during depth first search (dfs) or other tree-traversal strategies implemented by subclassers.
| Method Summary | |
void |
visit(Object parent,
Object cell,
Object previousSibling,
int layer,
int sibling)
The method within which the visitor will perform operations upon the graph model |
| Method Detail |
public void visit(Object parent,
Object cell,
Object previousSibling,
int layer,
int sibling)
parent - the parent cell the current cellcell - the current cell visitedpreviousSibling - the last neighbour cell foundlayer - the current layer of the treesibling - the number of sibling to the current cell found
|
JGraph
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||