edu.uci.ics.jung.visualization.decorators
Class EdgeShape.CubicCurve<V,E>
java.lang.Object
  
edu.uci.ics.jung.visualization.decorators.AbstractEdgeShapeTransformer<V,E>
      
edu.uci.ics.jung.visualization.decorators.EdgeShape.CubicCurve<V,E>
- All Implemented Interfaces: 
 - EdgeShape.IndexedRendering<V,E>
 
- Enclosing class:
 - EdgeShape<V,E>
 
public static class EdgeShape.CubicCurve<V,E>
- extends AbstractEdgeShapeTransformer<V,E>
- implements EdgeShape.IndexedRendering<V,E>
  
An edge shape that renders as a CubicCurve between vertex
 endpoints.  The two control points are at 
 (1/3*length, 2*controlY) and (2/3*length, controlY)
 giving a 'spiral' effect.
 
 
 
 
 
| Methods inherited from class java.lang.Object | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
parallelEdgeIndexFunction
protected EdgeIndexFunction<V,E> parallelEdgeIndexFunction
EdgeShape.CubicCurve
public EdgeShape.CubicCurve()
setEdgeIndexFunction
public void setEdgeIndexFunction(EdgeIndexFunction<V,E> parallelEdgeIndexFunction)
- Specified by:
 setEdgeIndexFunction in interface EdgeShape.IndexedRendering<V,E>
 
 
getEdgeIndexFunction
public EdgeIndexFunction<V,E> getEdgeIndexFunction()
- Specified by:
 getEdgeIndexFunction in interface EdgeShape.IndexedRendering<V,E>
 
- Returns:
 - the parallelEdgeIndexFunction
 
 
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
 Loop shared instance.
 
 
 
Copyright © 2010 null. All Rights Reserved.