edu.uci.ics.jung.visualization.decorators
Class DirectionalEdgeArrowTransformer<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.decorators.DirectionalEdgeArrowTransformer<V,E>
- All Implemented Interfaces:
- org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape>
public class DirectionalEdgeArrowTransformer<V,E>
- extends Object
- implements org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape>
Returns wedge arrows for undirected edges and notched arrows
for directed edges, of the specified dimensions.
- Author:
- Joshua O'Madadhain
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
undirected_arrow
protected Shape undirected_arrow
directed_arrow
protected Shape directed_arrow
DirectionalEdgeArrowTransformer
public DirectionalEdgeArrowTransformer(int length,
int width,
int notch_depth)
transform
public Shape transform(Context<Graph<V,E>,E> context)
- Specified by:
transform
in interface org.apache.commons.collections15.Transformer<Context<Graph<V,E>,E>,Shape>
Copyright © 2009. All Rights Reserved.