Package org.jgraph.graph
Class DefaultEdge.LoopRouting
java.lang.Object
org.jgraph.graph.DefaultEdge.LoopRouting
- All Implemented Interfaces:
Serializable,Edge.Routing
- Direct Known Subclasses:
DefaultEdge.DefaultRouting,ParallelEdgeRouter
- Enclosing class:
- DefaultEdge
- See Also:
-
Field Summary
Fields inherited from interface org.jgraph.graph.Edge.Routing
NO_PREFERENCE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected intprotected intintReturns the preferred line style for this routing.route(GraphLayoutCache cache, EdgeView edge) Returns the points to be used for the edge.protected ListrouteEdge(GraphLayoutCache cache, EdgeView edge) protected ListrouteLoop(GraphLayoutCache cache, EdgeView edge)
-
Constructor Details
-
LoopRouting
public LoopRouting()
-
-
Method Details
-
route
Description copied from interface:Edge.RoutingReturns the points to be used for the edge.- Specified by:
routein interfaceEdge.Routing- Parameters:
cache- TODOedge- The edge view to route the points for.
-
routeLoop
-
routeEdge
-
getPreferredLineStyle
Description copied from interface:Edge.RoutingReturns the preferred line style for this routing. A return value ofEdge.Routing.NO_PREFERENCEmeans no preference.- Specified by:
getPreferredLineStylein interfaceEdge.Routing
-
getLoopStyle
protected int getLoopStyle() -
getEdgeStyle
protected int getEdgeStyle()
-