edu.uci.ics.jung.graph.decorators
Class EdgeShape.QuadCurve
java.lang.Object
edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
edu.uci.ics.jung.graph.decorators.EdgeShape.QuadCurve
- All Implemented Interfaces:
- EdgeShape.ParallelRendering, EdgeShapeFunction
- Enclosing class:
- EdgeShape
public static class EdgeShape.QuadCurve
- extends AbstractEdgeShapeFunction
- implements EdgeShape.ParallelRendering
An edge shape that renders as a QuadCurve between vertex
endpoints.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
parallelEdgeIndexFunction
protected ParallelEdgeIndexFunction parallelEdgeIndexFunction
EdgeShape.QuadCurve
public EdgeShape.QuadCurve()
setParallelEdgeIndexFunction
public void setParallelEdgeIndexFunction(ParallelEdgeIndexFunction parallelEdgeIndexFunction)
- Specified by:
setParallelEdgeIndexFunction
in interface EdgeShape.ParallelRendering
getShape
public Shape getShape(Edge e)
- Get the shape for this edge, returning either the
shared instance or, in the case of self-loop edges, the
Loop shared instance.
- Specified by:
getShape
in interface EdgeShapeFunction