public static class DefaultEdge.LoopRouting extends Object implements Edge.Routing
NO_PREFERENCE
Constructor and Description |
---|
LoopRouting() |
Modifier and Type | Method and Description |
---|---|
protected int |
getEdgeStyle() |
protected int |
getLoopStyle() |
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.
|
protected List |
routeEdge(GraphLayoutCache cache,
EdgeView edge) |
protected List |
routeLoop(GraphLayoutCache cache,
EdgeView edge) |
public List route(GraphLayoutCache cache, EdgeView edge)
Edge.Routing
route
in interface Edge.Routing
cache
- TODOedge
- The edge view to route the points for.protected List routeLoop(GraphLayoutCache cache, EdgeView edge)
protected List routeEdge(GraphLayoutCache cache, EdgeView edge)
public int getPreferredLineStyle(EdgeView edge)
Edge.Routing
Edge.Routing.NO_PREFERENCE
means no preference.getPreferredLineStyle
in interface Edge.Routing
protected int getLoopStyle()
protected int getEdgeStyle()
Copyright (C) 2001-2006 Gaudenz Alder. All rights reserved.