com.rapidminer.gui.graphs
Class TreeModelNodeRenderer<V,E>
java.lang.Object
com.rapidminer.gui.graphs.TreeModelNodeRenderer<V,E>
- Type Parameters:
V - E -
- All Implemented Interfaces:
- edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<V,E>
public class TreeModelNodeRenderer<V,E>
- extends java.lang.Object
- implements edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<V,E>
This class is used for rendering the nodes of a tree model.
- Author:
- Ingo Mierswa
| Nested classes/interfaces inherited from interface edu.uci.ics.jung.visualization.renderers.Renderer.Vertex |
edu.uci.ics.jung.visualization.renderers.Renderer.Vertex.NOOP |
|
Method Summary |
protected void |
paintIconForVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
V v,
edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout)
Paint v's icon on g at (x,y). |
protected void |
paintShapeForVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
V v,
java.awt.Shape shape)
|
void |
paintVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout,
V v)
|
protected boolean |
vertexHit(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
java.awt.Shape s)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TreeModelNodeRenderer
public TreeModelNodeRenderer(TreeModelGraphCreator graphCreator,
int maxLeafSize)
paintVertex
public void paintVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout,
V v)
- Specified by:
paintVertex in interface edu.uci.ics.jung.visualization.renderers.Renderer.Vertex<V,E>
paintIconForVertex
protected void paintIconForVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
V v,
edu.uci.ics.jung.algorithms.layout.Layout<V,E> layout)
- Paint
v's icon on g at (x,y).
vertexHit
protected boolean vertexHit(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
java.awt.Shape s)
paintShapeForVertex
protected void paintShapeForVertex(edu.uci.ics.jung.visualization.RenderContext<V,E> rc,
V v,
java.awt.Shape shape)
Copyright © 2001-2009 by Rapid-I