Interface ModalRenderer<V,E>
-
- Type Parameters:
V
- vertex typeE
- edge type
- All Superinterfaces:
Renderer<V,E>
- All Known Implementing Classes:
BiModalRenderer
,BiModalSelectionRenderer
,DefaultModalRenderer
public interface ModalRenderer<V,E> extends Renderer<V,E>
Interface for Modality in Renderers. Properties may be set and fetched based on a {#code Mode} parameter
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static class
ModalRenderer.Mode
the Modes for rendering-
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>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Renderer.EdgeLabel<V,E>
getEdgeLabelRenderer(ModalRenderer.Mode mode)
Renderer.Edge<V,E>
getEdgeRenderer(ModalRenderer.Mode mode)
Renderer<V,E>
getRenderer(ModalRenderer.Mode mode)
Renderer.VertexLabel<V,E>
getVertexLabelRenderer(ModalRenderer.Mode mode)
Renderer.Vertex<V,E>
getVertexRenderer(ModalRenderer.Mode mode)
void
setEdgeLabelRenderer(ModalRenderer.Mode mode, Renderer.EdgeLabel<V,E> r)
void
setEdgeRenderer(ModalRenderer.Mode mode, Renderer.Edge<V,E> r)
void
setMode(ModalRenderer.Mode mode)
void
setRenderer(ModalRenderer.Mode mode, Renderer<V,E> renderer)
void
setVertexLabelRenderer(ModalRenderer.Mode mode, Renderer.VertexLabel<V,E> r)
void
setVertexRenderer(ModalRenderer.Mode mode, Renderer.Vertex<V,E> r)
-
Methods inherited from interface org.jungrapht.visualization.renderers.Renderer
getEdgeLabelRenderer, getEdgeRenderer, getVertexLabelRenderer, getVertexRenderer, render, render, renderEdge, renderEdgeLabel, renderVertex, renderVertexLabel, setEdgeLabelRenderer, setEdgeRenderer, setVertexLabelRenderer, setVertexRenderer
-
-
-
-
Method Detail
-
setMode
void setMode(ModalRenderer.Mode mode)
-
setVertexRenderer
void setVertexRenderer(ModalRenderer.Mode mode, Renderer.Vertex<V,E> r)
-
setEdgeRenderer
void setEdgeRenderer(ModalRenderer.Mode mode, Renderer.Edge<V,E> r)
-
setVertexLabelRenderer
void setVertexLabelRenderer(ModalRenderer.Mode mode, Renderer.VertexLabel<V,E> r)
-
setEdgeLabelRenderer
void setEdgeLabelRenderer(ModalRenderer.Mode mode, Renderer.EdgeLabel<V,E> r)
-
getVertexLabelRenderer
Renderer.VertexLabel<V,E> getVertexLabelRenderer(ModalRenderer.Mode mode)
-
getVertexRenderer
Renderer.Vertex<V,E> getVertexRenderer(ModalRenderer.Mode mode)
-
getEdgeRenderer
Renderer.Edge<V,E> getEdgeRenderer(ModalRenderer.Mode mode)
-
getEdgeLabelRenderer
Renderer.EdgeLabel<V,E> getEdgeLabelRenderer(ModalRenderer.Mode mode)
-
setRenderer
void setRenderer(ModalRenderer.Mode mode, Renderer<V,E> renderer)
-
getRenderer
Renderer<V,E> getRenderer(ModalRenderer.Mode mode)
-
-