Class HeayweightEdgeLabelRenderer<V,E>
- java.lang.Object
-
- org.jungrapht.visualization.renderers.HeayweightEdgeLabelRenderer<V,E>
-
- Type Parameters:
V
- vertex typeE
- edge type
- All Implemented Interfaces:
Renderer.EdgeLabel<V,E>
public class HeayweightEdgeLabelRenderer<V,E> extends Object implements Renderer.EdgeLabel<V,E>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.jungrapht.visualization.renderers.Renderer.EdgeLabel
Renderer.EdgeLabel.NOOP<V,E>
-
-
Constructor Summary
Constructors Constructor Description HeayweightEdgeLabelRenderer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
labelEdge(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, E e, String label)
Component
prepareRenderer(RenderContext<V,E> renderContext, Object value, boolean isSelected, E edge)
-
-
-
Method Detail
-
prepareRenderer
public Component prepareRenderer(RenderContext<V,E> renderContext, Object value, boolean isSelected, E edge)
-
labelEdge
public void labelEdge(RenderContext<V,E> renderContext, LayoutModel<V> layoutModel, E e, String label)
- Specified by:
labelEdge
in interfaceRenderer.EdgeLabel<V,E>
-
-