scratch.danyel.sample
Class SimpleRenderer

java.lang.Object
  extended by edu.uci.ics.jung.visualization.AbstractRenderer
      extended by scratch.danyel.sample.SimpleRenderer
All Implemented Interfaces:
Renderer

public class SimpleRenderer
extends AbstractRenderer


Constructor Summary
SimpleRenderer(StringLabeller sl)
           
 
Method Summary
 void paintEdge(Graphics g, Edge e, int x1, int y1, int x2, int y2)
           
 void paintVertex(Graphics g, Vertex v, int x, int y)
           
 
Methods inherited from class edu.uci.ics.jung.visualization.AbstractRenderer
getPickedKey, isPicked, isPicked, setPickedKey
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SimpleRenderer

public SimpleRenderer(StringLabeller sl)
Method Detail

paintEdge

public void paintEdge(Graphics g,
                      Edge e,
                      int x1,
                      int y1,
                      int x2,
                      int y2)
Specified by:
paintEdge in interface Renderer
Specified by:
paintEdge in class AbstractRenderer

paintVertex

public void paintVertex(Graphics g,
                        Vertex v,
                        int x,
                        int y)
Specified by:
paintVertex in interface Renderer
Specified by:
paintVertex in class AbstractRenderer