|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface EdgeStyler
Interface for classes that style edges.
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. |
java.awt.Paint |
getPaint(CGEdge edge)
Gets the paint appropriate for the specified edge. |
void |
update(java.util.Collection<CGEdge> edges)
Updates the styler with new edge info. |
Method Detail |
---|
edu.umd.cs.piccolo.nodes.PPath createEdge(CGEdge edge, java.awt.geom.Point2D pt1, java.awt.geom.Point2D pt2)
edge
- the edge to reprsent.pt1
- the first end point of the edgept2
- the second end point of the edge
void update(java.util.Collection<CGEdge> edges)
edges
- java.awt.Paint getPaint(CGEdge edge)
edge
- the edge we want the paint for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |