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

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

public static class EdgeShape.Wedge
extends AbstractEdgeShapeFunction

An edge shape that renders as an isosceles triangle whose apex is at the destination vertex for directed edges, and as a "bowtie" shape for undirected edges.

Author:
Joshua O'Madadhain

Field Summary
 
Fields inherited from class edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
control_offset_increment
 
Constructor Summary
EdgeShape.Wedge(int width)
           
 
Method Summary
 Shape getShape(Edge e)
          Returns the Shape associated with e.
 
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.Wedge

public EdgeShape.Wedge(int width)
Method Detail

getShape

public Shape getShape(Edge e)
Description copied from interface: EdgeShapeFunction
Returns the Shape associated with e.