|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Handles the rendering of the individual parts of a graph.
This interface separates the core functionality of graph layout algorithms from the exact visual presentation and rendering of graphs. The client implements this interface to specify the exact presentation of graphs. Among other things, this interface allows the client to:
Note: The methods implementing this interface may freely
modify the Rectangle
- and BSpline
-objects passed to the
methods.
Method Summary | |
void |
renderEdge(java.lang.Object edge,
BSpline spline)
Renders the edge according to the B-spline curve. |
void |
renderLabel(java.lang.Object label,
java.awt.Rectangle box)
Renders the label to the specified box. |
void |
renderNode(java.lang.Object node,
java.awt.Rectangle box)
Renders the node to the specified box. |
Method Detail |
public void renderNode(java.lang.Object node, java.awt.Rectangle box)
Renders the node to the specified box.
public void renderEdge(java.lang.Object edge, BSpline spline)
Renders the edge according to the B-spline curve.
public void renderLabel(java.lang.Object label, java.awt.Rectangle box)
Renders the label to the specified box.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |