Class HeavyweightVertexRenderer<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.renderers.AbstractVertexRenderer<V,E>
-
- org.jungrapht.visualization.renderers.HeavyweightVertexRenderer<V,E>
-
- Type Parameters:
V
- vertex typeE
- edge type
- All Implemented Interfaces:
Renderer.Vertex<V,E>
- Direct Known Subclasses:
HeavyweightVertexSelectionRenderer
public class HeavyweightVertexRenderer<V,E> extends AbstractVertexRenderer<V,E> implements Renderer.Vertex<V,E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jungrapht.visualization.renderers.Renderer.Vertex
Renderer.Vertex.NOOP<V,E>
-
-
Constructor Summary
Constructors Constructor Description HeavyweightVertexRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected Shape
getVertexShape(RenderContext<V,E> renderContext, V vertex)
LightweightVertexRenderer overrides to provide a lightweight shape HeavyweightVertexRenderer uses the configured vertexShapeFunctionprotected void
paintIconForVertex(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, V v)
Paintv
's icon ong
at(x,y)
.-
Methods inherited from class org.jungrapht.visualization.renderers.AbstractVertexRenderer
paintShapeForVertex, paintVertex, prepareFinalVertexShape
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.jungrapht.visualization.renderers.Renderer.Vertex
paintVertex
-
-
-
-
Method Detail
-
getVertexShape
protected Shape getVertexShape(RenderContext<V,E> renderContext, V vertex)
Description copied from class:AbstractVertexRenderer
LightweightVertexRenderer overrides to provide a lightweight shape HeavyweightVertexRenderer uses the configured vertexShapeFunction- Specified by:
getVertexShape
in classAbstractVertexRenderer<V,E>
- Returns:
-
paintIconForVertex
protected void paintIconForVertex(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, V v)
Paintv
's icon ong
at(x,y)
.- Specified by:
paintIconForVertex
in classAbstractVertexRenderer<V,E>
- Parameters:
v
- the vertex to be painted
-
-