JGraph
v5.13.0.0


org.jgraph.graph
Interface Edge.Routing

All Superinterfaces:
Serializable
All Known Implementing Classes:
DefaultEdge.DefaultRouting, DefaultEdge.LoopRouting, JGraphParallelRouter, ParallelEdgeRouter
Enclosing interface:
Edge

public static interface Edge.Routing
extends Serializable


Field Summary
static int NO_PREFERENCE
           
 
Method Summary
 int getPreferredLineStyle(EdgeView edge)
          Returns the preferred line style for this routing.
 List route(GraphLayoutCache cache, EdgeView edge)
          Returns the points to be used for the edge.
 

Field Detail

NO_PREFERENCE

static final int NO_PREFERENCE
See Also:
Constant Field Values
Method Detail

route

List route(GraphLayoutCache cache,
           EdgeView edge)
Returns the points to be used for the edge.

Parameters:
cache - TODO
edge - The edge view to route the points for.

getPreferredLineStyle

int getPreferredLineStyle(EdgeView edge)
Returns the preferred line style for this routing. A return value of NO_PREFERENCE means no preference.


JGraph
v5.13.0.0


Copyright (C) 2001-2009 JGraph Ltd. All rights reserved.