edu.uci.ics.jung.visualization.renderers
Class BasicVertexRenderer<V,E>
java.lang.Object
edu.uci.ics.jung.visualization.renderers.BasicVertexRenderer<V,E>
- All Implemented Interfaces:
- Renderer.Vertex<V,E>
- Direct Known Subclasses:
- TransformingImageVertexIconRenderer
public class BasicVertexRenderer<V,E>
- extends Object
- implements Renderer.Vertex<V,E>
Method Summary |
protected void |
paintIconForVertex(RenderContext<V,E> rc,
V v,
Layout<V,E> layout)
Paint v 's icon on g at (x,y) . |
protected void |
paintShapeForVertex(RenderContext<V,E> rc,
V v,
Shape shape)
|
void |
paintVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v)
|
protected boolean |
vertexHit(RenderContext<V,E> rc,
Shape s)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
BasicVertexRenderer
public BasicVertexRenderer()
paintVertex
public void paintVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v)
- Specified by:
paintVertex
in interface Renderer.Vertex<V,E>
paintIconForVertex
protected void paintIconForVertex(RenderContext<V,E> rc,
V v,
Layout<V,E> layout)
- Paint
v
's icon on g
at (x,y)
.
vertexHit
protected boolean vertexHit(RenderContext<V,E> rc,
Shape s)
paintShapeForVertex
protected void paintShapeForVertex(RenderContext<V,E> rc,
V v,
Shape shape)
Copyright © 2009. All Rights Reserved.