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

java.lang.Object
  extended by edu.uci.ics.jung.visualization.decorators.AbstractEdgeShapeTransformer<V,E>
      extended by edu.uci.ics.jung.visualization.decorators.EdgeShape.Line<V,E>
All Implemented Interfaces:
org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape>
Enclosing class:
EdgeShape<V,E>

public static class EdgeShape.Line<V,E>
extends AbstractEdgeShapeTransformer<V,E>

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


Field Summary
 
Fields inherited from class edu.uci.ics.jung.visualization.decorators.AbstractEdgeShapeTransformer
control_offset_increment
 
Constructor Summary
EdgeShape.Line()
           
 
Method Summary
 Shape transform(Context<Graph<V,E>,E> context)
          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.visualization.decorators.AbstractEdgeShapeTransformer
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

transform

public Shape transform(Context<Graph<V,E>,E> context)
Get the shape for this edge, returning either the shared instance or, in the case of self-loop edges, the SimpleLoop shared instance.



Copyright © 2009. All Rights Reserved.