edu.uci.ics.jung.visualization.renderers
Interface Renderer<V,E>
- All Known Implementing Classes:
- BasicRenderer
public interface Renderer<V,E>
The interface for drawing vertices, edges, and their labels.
Implementations of this class can set specific renderers for
each element, allowing custom control of each.
Method Summary |
Renderer.EdgeLabel<V,E> |
getEdgeLabelRenderer()
|
Renderer.Edge<V,E> |
getEdgeRenderer()
|
Renderer.VertexLabel<V,E> |
getVertexLabelRenderer()
|
Renderer.Vertex<V,E> |
getVertexRenderer()
|
void |
render(RenderContext<V,E> rc,
Layout<V,E> layout)
|
void |
renderEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e)
|
void |
renderEdgeLabel(RenderContext<V,E> rc,
Layout<V,E> layout,
E e)
|
void |
renderVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v)
|
void |
renderVertexLabel(RenderContext<V,E> rc,
Layout<V,E> layout,
V v)
|
void |
setEdgeLabelRenderer(Renderer.EdgeLabel<V,E> r)
|
void |
setEdgeRenderer(Renderer.Edge<V,E> r)
|
void |
setVertexLabelRenderer(Renderer.VertexLabel<V,E> r)
|
void |
setVertexRenderer(Renderer.Vertex<V,E> r)
|
render
void render(RenderContext<V,E> rc,
Layout<V,E> layout)
renderVertex
void renderVertex(RenderContext<V,E> rc,
Layout<V,E> layout,
V v)
renderVertexLabel
void renderVertexLabel(RenderContext<V,E> rc,
Layout<V,E> layout,
V v)
renderEdge
void renderEdge(RenderContext<V,E> rc,
Layout<V,E> layout,
E e)
renderEdgeLabel
void renderEdgeLabel(RenderContext<V,E> rc,
Layout<V,E> layout,
E e)
setVertexRenderer
void setVertexRenderer(Renderer.Vertex<V,E> r)
setEdgeRenderer
void setEdgeRenderer(Renderer.Edge<V,E> r)
setVertexLabelRenderer
void setVertexLabelRenderer(Renderer.VertexLabel<V,E> r)
setEdgeLabelRenderer
void setEdgeLabelRenderer(Renderer.EdgeLabel<V,E> r)
getVertexLabelRenderer
Renderer.VertexLabel<V,E> getVertexLabelRenderer()
getVertexRenderer
Renderer.Vertex<V,E> getVertexRenderer()
getEdgeRenderer
Renderer.Edge<V,E> getEdgeRenderer()
getEdgeLabelRenderer
Renderer.EdgeLabel<V,E> getEdgeLabelRenderer()
Copyright © 2009. All Rights Reserved.