Class SelectionRenderer<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.renderers.SelectionRenderer<V,E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jungrapht.visualization.renderers.Renderer
Renderer.Builder<V,E,T extends Renderer<V,E>,B extends Renderer.Builder<V,E,T,B>>, Renderer.Edge<V,E>, Renderer.EdgeLabel<V,E>, Renderer.Vertex<V,E>, Renderer.VertexLabel<V,E>
-
-
Field Summary
Fields Modifier and Type Field Description protected Renderer.Edge<V,E>
edgeRenderer
protected Renderer.Vertex<V,E>
vertexRenderer
-
Constructor Summary
Constructors Constructor Description SelectionRenderer(Renderer.Vertex<V,E> vertexRenderer)
-
Method Summary
-
-
-
Field Detail
-
vertexRenderer
protected Renderer.Vertex<V,E> vertexRenderer
-
edgeRenderer
protected Renderer.Edge<V,E> edgeRenderer
-
-
Constructor Detail
-
SelectionRenderer
public SelectionRenderer(Renderer.Vertex<V,E> vertexRenderer)
-
-
Method Detail
-
render
public void render(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, Spatial<V,V> vertexSpatial, Spatial<E,V> edgeSpatial)
-
render
public void render(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel)
-
renderVertex
public void renderVertex(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, V v)
- Specified by:
renderVertex
in interfaceRenderer<V,E>
-
renderVertexLabel
public void renderVertexLabel(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, V v)
- Specified by:
renderVertexLabel
in interfaceRenderer<V,E>
-
renderEdge
public void renderEdge(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, E e)
- Specified by:
renderEdge
in interfaceRenderer<V,E>
-
renderEdgeLabel
public void renderEdgeLabel(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, E e)
- Specified by:
renderEdgeLabel
in interfaceRenderer<V,E>
-
setVertexRenderer
public void setVertexRenderer(Renderer.Vertex<V,E> r)
- Specified by:
setVertexRenderer
in interfaceRenderer<V,E>
-
setEdgeRenderer
public void setEdgeRenderer(Renderer.Edge<V,E> r)
- Specified by:
setEdgeRenderer
in interfaceRenderer<V,E>
-
getEdgeLabelRenderer
public Renderer.EdgeLabel<V,E> getEdgeLabelRenderer()
- Specified by:
getEdgeLabelRenderer
in interfaceRenderer<V,E>
- Returns:
- the edgeLabelRenderer
-
setEdgeLabelRenderer
public void setEdgeLabelRenderer(Renderer.EdgeLabel<V,E> edgeLabelRenderer)
- Specified by:
setEdgeLabelRenderer
in interfaceRenderer<V,E>
- Parameters:
edgeLabelRenderer
- the edgeLabelRenderer to set
-
getVertexLabelRenderer
public Renderer.VertexLabel<V,E> getVertexLabelRenderer()
- Specified by:
getVertexLabelRenderer
in interfaceRenderer<V,E>
- Returns:
- the vertexLabelRenderer
-
setVertexLabelRenderer
public void setVertexLabelRenderer(Renderer.VertexLabel<V,E> vertexLabelRenderer)
- Specified by:
setVertexLabelRenderer
in interfaceRenderer<V,E>
- Parameters:
vertexLabelRenderer
- the vertexLabelRenderer to set
-
getEdgeRenderer
public Renderer.Edge<V,E> getEdgeRenderer()
- Specified by:
getEdgeRenderer
in interfaceRenderer<V,E>
- Returns:
- the edgeRenderer
-
getVertexRenderer
public Renderer.Vertex<V,E> getVertexRenderer()
- Specified by:
getVertexRenderer
in interfaceRenderer<V,E>
- Returns:
- the vertexRenderer
-
-