anl.aida.viz
Class AbstractEdgeStyler

java.lang.Object
  extended by anl.aida.viz.AbstractEdgeStyler
All Implemented Interfaces:
EdgeStyler
Direct Known Subclasses:
GrayScaleEdgeStyler

public abstract class AbstractEdgeStyler
extends java.lang.Object
implements EdgeStyler

Abstract edge styler that handles the creation of the edge. The edge paint is delegated to a subclass.


Constructor Summary
AbstractEdgeStyler()
           
 
Method Summary
 edu.umd.cs.piccolo.nodes.PPath createEdge(CGEdge edge, java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
          Creates a PPath to represent the specified edge.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface anl.aida.viz.EdgeStyler
getPaint, update
 

Constructor Detail

AbstractEdgeStyler

public AbstractEdgeStyler()
Method Detail

createEdge

public edu.umd.cs.piccolo.nodes.PPath createEdge(CGEdge edge,
                                                 java.awt.geom.Point2D pt1,
                                                 java.awt.geom.Point2D pt2)
Description copied from interface: EdgeStyler
Creates a PPath to represent the specified edge.

Specified by:
createEdge in interface EdgeStyler
Parameters:
edge - the edge to reprsent.
pt1 - the first end point of the edge
pt2 - the second end point of the edge
Returns:
a PPath representing the specified edge.