edu.uci.ics.jung.graph.decorators
Class AbstractEdgeShapeFunction

java.lang.Object
  extended by edu.uci.ics.jung.graph.decorators.AbstractEdgeShapeFunction
All Implemented Interfaces:
EdgeShapeFunction
Direct Known Subclasses:
EdgeShape.BentLine, EdgeShape.CubicCurve, EdgeShape.Line, EdgeShape.Loop, EdgeShape.QuadCurve, EdgeShape.SimpleLoop, EdgeShape.Wedge

public abstract class AbstractEdgeShapeFunction
extends Object
implements EdgeShapeFunction

An interface for decorators that return a Shape for a specified edge.

Author:
Tom Nelson

Field Summary
protected  float control_offset_increment
          Specifies how far apart to place the control points for edges being drawn in parallel.
 
Constructor Summary
AbstractEdgeShapeFunction()
           
 
Method Summary
 void setControlOffsetIncrement(float y)
          Sets the value of control_offset_increment.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface edu.uci.ics.jung.graph.decorators.EdgeShapeFunction
getShape
 

Field Detail

control_offset_increment

protected float control_offset_increment
Specifies how far apart to place the control points for edges being drawn in parallel.

Constructor Detail

AbstractEdgeShapeFunction

public AbstractEdgeShapeFunction()
Method Detail

setControlOffsetIncrement

public void setControlOffsetIncrement(float y)
Sets the value of control_offset_increment.