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

java.lang.Object
  extended by edu.uci.ics.jung.visualization.decorators.DirectionalEdgeArrowTransformer<V,E>

public class DirectionalEdgeArrowTransformer<V,E>
extends Object

Returns wedge arrows for undirected edges and notched arrows for directed edges, of the specified dimensions.

Author:
Joshua O'Madadhain

Field Summary
protected  Shape directed_arrow
           
protected  Shape undirected_arrow
           
 
Constructor Summary
DirectionalEdgeArrowTransformer(int length, int width, int notch_depth)
           
 
Method Summary
 Shape transform(Context<Graph<V,E>,E> context)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

undirected_arrow

protected Shape undirected_arrow

directed_arrow

protected Shape directed_arrow
Constructor Detail

DirectionalEdgeArrowTransformer

public DirectionalEdgeArrowTransformer(int length,
                                       int width,
                                       int notch_depth)
Method Detail

transform

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


Copyright © 2010 null. All Rights Reserved.