|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.tum.cs.commons.treemap.NodeTextRenderer
public class NodeTextRenderer
A simple renderer that draws tree map node texts into the tree map.
| Constructor Summary | |
|---|---|
NodeTextRenderer(java.awt.Color textColor,
java.util.regex.Pattern separationPattern)
Constructor |
|
| Method Summary | ||
|---|---|---|
|
renderTreeMap(ITreeMapNode<T> node,
java.awt.Graphics2D graphics)
Renders the given tree into the graphics. |
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public NodeTextRenderer(java.awt.Color textColor,
java.util.regex.Pattern separationPattern)
| Method Detail |
|---|
public <T> void renderTreeMap(ITreeMapNode<T> node,
java.awt.Graphics2D graphics)
renderTreeMap in interface ITreeMapRenderernode - the tree to render. The tree must have been layouted and the
outermost rectangle should be completely included in the
provided graphics.graphics - the graphics used for drawing.
|
TUM CCSM Commons | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||