JGraphLayout
v1.4.0.2


com.jgraph.layout
Interface JGraphFacade.CellVisitor

Enclosing interface:
JGraphFacade

public static interface JGraphFacade.CellVisitor

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

visit

public 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

Parameters:
parent - the parent cell the current cell
cell - the current cell visited
previousSibling - the last neighbour cell found
layer - the current layer of the tree
sibling - the number of sibling to the current cell found

JGraphLayout
v1.4.0.2


Copyright (C) 2005 JGraph.com. All rights reserved.