edu.uci.ics.jung.visualization.decorators
Class EdgeShape.Wedge<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.Wedge<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.Wedge<V,E>
extends AbstractEdgeShapeTransformer<V,E>

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.visualization.decorators.AbstractEdgeShapeTransformer
control_offset_increment
 
Constructor Summary
EdgeShape.Wedge(int width)
           
 
Method Summary
 Shape transform(Context<Graph<V,E>,E> context)
           
 
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.Wedge

public EdgeShape.Wedge(int width)
Method Detail

transform

public Shape transform(Context<Graph<V,E>,E> context)


Copyright © 2009. All Rights Reserved.