JGraphLayout
v1.4.0.2


com.jgraph.layout.orthogonal
Class OrthogonalLinkRouter

java.lang.Object
  extended bycom.jgraph.layout.orthogonal.OrthogonalLinkRouter
All Implemented Interfaces:
JGraphLayout

public class OrthogonalLinkRouter
extends Object
implements JGraphLayout

A cache of the rectangular regions describing an orthogonal layout. This layout only applies to edges


Nested Class Summary
 
Nested classes inherited from class com.jgraph.layout.JGraphLayout
JGraphLayout.Stoppable
 
Field Summary
 
Fields inherited from interface com.jgraph.layout.JGraphLayout
VERSION
 
Constructor Summary
OrthogonalLinkRouter()
           
 
Method Summary
 int getMAXIMAL_DEPTH()
           
 void routeEdge(Object edge, JGraphFacade facade)
          Routing algorithmn for an individual edge
 void run(JGraphFacade facade)
          The API method used to exercise the layout upon the facade description and produce a separate description of the edge routing changes made.
 void setMAXIMAL_DEPTH(int maximal_depth)
           
 String toString()
          Returns Orthogonal Edges, the name of this algorithm.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

OrthogonalLinkRouter

public OrthogonalLinkRouter()
Method Detail

run

public void run(JGraphFacade facade)
The API method used to exercise the layout upon the facade description and produce a separate description of the edge routing changes made. It runs each stage of the layout that has been created.

Specified by:
run in interface JGraphLayout
Parameters:
facade - the facade object that describes and filters the graph to be acted upon

routeEdge

public void routeEdge(Object edge,
                      JGraphFacade facade)
Routing algorithmn for an individual edge

Parameters:
edge - the edge to be routed
facade - the facade to act upon

toString

public String toString()
Returns Orthogonal Edges, the name of this algorithm.


getMAXIMAL_DEPTH

public int getMAXIMAL_DEPTH()
Returns:
Returns the mAXIMAL_DEPTH.

setMAXIMAL_DEPTH

public void setMAXIMAL_DEPTH(int maximal_depth)
Parameters:
maximal_depth - The mAXIMAL_DEPTH to set.

JGraphLayout
v1.4.0.2


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