scratch.scott
Class BasicRenderer

java.lang.Object
  extended by edu.uci.ics.jung.visualization.AbstractRenderer
      extended by scratch.scott.BasicRenderer
All Implemented Interfaces:
Renderer

public class BasicRenderer
extends AbstractRenderer

Author:
Scott White

Constructor Summary
BasicRenderer()
           
 
Method Summary
 double getNodeSizeScale()
           
 String getSizeKey()
           
 void paintEdge(Graphics g, Edge e, int x1, int y1, int x2, int y2)
           
 void paintVertex(Graphics g, Vertex v, int x, int y)
           
 void setColorKey(String colorKey)
           
 void setLabel(String label)
           
 void setNodeSizeScale(double nodeSizeScale)
           
 void setSizeKey(String decorationKey)
           
 
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

BasicRenderer

public BasicRenderer()
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

getSizeKey

public String getSizeKey()

setSizeKey

public void setSizeKey(String decorationKey)

setLabel

public void setLabel(String label)

getNodeSizeScale

public double getNodeSizeScale()

setNodeSizeScale

public void setNodeSizeScale(double nodeSizeScale)

setColorKey

public void setColorKey(String colorKey)