edu.uci.ics.jung.visualization.decorators
Class AbstractEdgeShapeTransformer<V,E>

java.lang.Object
  extended by edu.uci.ics.jung.visualization.decorators.AbstractEdgeShapeTransformer<V,E>
All Implemented Interfaces:
org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape>
Direct Known Subclasses:
EdgeShape.BentLine, EdgeShape.Box, EdgeShape.CubicCurve, EdgeShape.Line, EdgeShape.Loop, EdgeShape.Orthogonal, EdgeShape.QuadCurve, EdgeShape.SimpleLoop, EdgeShape.Wedge

public abstract class AbstractEdgeShapeTransformer<V,E>
extends Object
implements org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape>

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
AbstractEdgeShapeTransformer()
           
 
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 org.apache.commons.collections15.Transformer
transform
 

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

AbstractEdgeShapeTransformer

public AbstractEdgeShapeTransformer()
Method Detail

setControlOffsetIncrement

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



Copyright © 2009. All Rights Reserved.