public static class DefaultEdge.LoopRouting extends java.lang.Object implements Edge.Routing
NO_PREFERENCE| Constructor and Description |
|---|
DefaultEdge.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.
|
java.util.List |
route(GraphLayoutCache cache,
EdgeView edge)
Returns the points to be used for the edge.
|
protected java.util.List |
routeEdge(GraphLayoutCache cache,
EdgeView edge) |
protected java.util.List |
routeLoop(GraphLayoutCache cache,
EdgeView edge) |
public java.util.List route(GraphLayoutCache cache, EdgeView edge)
Edge.Routingroute in interface Edge.Routingcache - TODOedge - The edge view to route the points for.protected java.util.List routeLoop(GraphLayoutCache cache, EdgeView edge)
protected java.util.List routeEdge(GraphLayoutCache cache, EdgeView edge)
public int getPreferredLineStyle(EdgeView edge)
Edge.RoutingEdge.Routing.NO_PREFERENCE means no preference.getPreferredLineStyle in interface Edge.Routingprotected int getLoopStyle()
protected int getEdgeStyle()
Copyright (C) 2001-2008 Gaudenz Alder. All rights reserved.