edu.uci.ics.jung.visualization.renderers
Class BasicEdgeLabelRenderer<V,E>

java.lang.Object
  extended by edu.uci.ics.jung.visualization.renderers.BasicEdgeLabelRenderer<V,E>
All Implemented Interfaces:
Renderer.EdgeLabel<V,E>

public class BasicEdgeLabelRenderer<V,E>
extends Object
implements Renderer.EdgeLabel<V,E>


Nested Class Summary
 
Nested classes/interfaces inherited from interface edu.uci.ics.jung.visualization.renderers.Renderer.EdgeLabel
Renderer.EdgeLabel.NOOP
 
Constructor Summary
BasicEdgeLabelRenderer()
           
 
Method Summary
 void labelEdge(RenderContext<V,E> rc, Layout<V,E> layout, E e, String label)
           
 Component prepareRenderer(RenderContext<V,E> rc, EdgeLabelRenderer graphLabelRenderer, Object value, boolean isSelected, E edge)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BasicEdgeLabelRenderer

public BasicEdgeLabelRenderer()
Method Detail

prepareRenderer

public Component prepareRenderer(RenderContext<V,E> rc,
                                 EdgeLabelRenderer graphLabelRenderer,
                                 Object value,
                                 boolean isSelected,
                                 E edge)

labelEdge

public void labelEdge(RenderContext<V,E> rc,
                      Layout<V,E> layout,
                      E e,
                      String label)
Specified by:
labelEdge in interface Renderer.EdgeLabel<V,E>


Copyright © 2009. All Rights Reserved.