edu.uci.ics.jung.graph.decorators
Class DirectionalEdgeArrowFunction
java.lang.Object
edu.uci.ics.jung.graph.decorators.DirectionalEdgeArrowFunction
- All Implemented Interfaces:
- EdgeArrowFunction
public class DirectionalEdgeArrowFunction
- extends Object
- implements EdgeArrowFunction
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
DirectionalEdgeArrowFunction
public DirectionalEdgeArrowFunction(int length,
int width,
int notch_depth)
getArrow
public Shape getArrow(Edge e)
- Specified by:
getArrow
in interface EdgeArrowFunction
- See Also:
EdgeArrowFunction.getArrow(edu.uci.ics.jung.graph.Edge)