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

java.lang.Object
  extended by edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
      extended by edu.uci.ics.jung.graph.decorators.EdgeShape.Line
All Implemented Interfaces:
EdgeShapeFunction
Enclosing class:
EdgeShape

public static class EdgeShape.Line
extends AbstractEdgeShapeFunction

An edge shape that renders as a straight line between the vertex endpoints.


Field Summary
 
Fields inherited from class edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
control_offset_increment
 
Constructor Summary
EdgeShape.Line()
           
 
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 SimpleLoop shared instance.
 
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
 

Constructor Detail

EdgeShape.Line

public EdgeShape.Line()
Method Detail

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 SimpleLoop shared instance.