public static class ConstraintDefinitionEdge.UnaryRouting
extends org.jgraph.graph.DefaultEdge.LoopRouting
Constructor and Description |
---|
UnaryRouting() |
Modifier and Type | Method and Description |
---|---|
int |
getPreferredLineStyle(org.jgraph.graph.EdgeView edge)
Returns the preferred line style for this routing.
|
protected int |
getUnaryStyle() |
protected java.util.List<java.lang.Object> |
routeLoop(org.jgraph.graph.EdgeView edge) |
protected java.util.List<java.lang.Object> routeLoop(org.jgraph.graph.EdgeView edge)
public int getPreferredLineStyle(org.jgraph.graph.EdgeView edge)
org.jgraph.graph.Edge.Routing
Edge.Routing.NO_PREFERENCE
means no preference.getPreferredLineStyle
in interface org.jgraph.graph.Edge.Routing
getPreferredLineStyle
in class org.jgraph.graph.DefaultEdge.LoopRouting
protected int getUnaryStyle()