|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NodeStyler
Interface for classes that can style a node.
Method Summary | |
---|---|
edu.umd.cs.piccolo.nodes.PPath |
createNode(TermNode tNode,
java.awt.geom.Point2D location)
Creates a PPath to represent the specified TermNode. |
java.awt.Paint |
getPaint(TermNode node)
Gets the paint appropriate for the specified term node. |
float |
getSize(TermNode node)
Gets the size appropriate for the specified term node. |
Method Detail |
---|
edu.umd.cs.piccolo.nodes.PPath createNode(TermNode tNode, java.awt.geom.Point2D location)
tNode
- the term node to reprsent.location
- the location of the
java.awt.Paint getPaint(TermNode node)
node
- the term node we want the paint for
float getSize(TermNode node)
node
- the node to get the size for
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |