edu.uci.ics.jung.graph.decorators
Class EdgeShape.QuadCurve

java.lang.Object
  extended by edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
      extended by 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.


Field Summary
protected  ParallelEdgeIndexFunction parallelEdgeIndexFunction
           
 
Fields inherited from class edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
control_offset_increment
 
Constructor Summary
EdgeShape.QuadCurve()
           
 
Method Summary
 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.
 void setParallelEdgeIndexFunction(ParallelEdgeIndexFunction parallelEdgeIndexFunction)
           
 
Methods inherited from class edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
setControlOffsetIncrement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

parallelEdgeIndexFunction

protected ParallelEdgeIndexFunction parallelEdgeIndexFunction
Constructor Detail

EdgeShape.QuadCurve

public EdgeShape.QuadCurve()
Method Detail

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