Interface Renderer<V,E>
-
- Type Parameters:
V
- vertex typeE
- edge type
- All Known Subinterfaces:
ModalRenderer<V,E>
- All Known Implementing Classes:
BiModalRenderer
,BiModalSelectionRenderer
,DefaultModalRenderer
,LightweightRenderer
,SelectionRenderer
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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
Renderer.Builder<V,E,T extends Renderer<V,E>,B extends Renderer.Builder<V,E,T,B>>
static interface
Renderer.Edge<V,E>
static interface
Renderer.EdgeLabel<V,E>
static interface
Renderer.Vertex<V,E>
static interface
Renderer.VertexLabel<V,E>
-
Method Summary
-
-
-
Method Detail
-
builder
static <V,E> Renderer.Builder<V,E,?,?> builder()
-
render
void render(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, Spatial<V,V> vertexSpatial, Spatial<E,V> edgeSpatial)
-
render
void render(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel)
-
renderVertex
void renderVertex(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, V v)
-
renderVertexLabel
void renderVertexLabel(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, V v)
-
renderEdge
void renderEdge(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, E e)
-
renderEdgeLabel
void renderEdgeLabel(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, 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()
-
-