edu.mit.sketch.ddlcompiler
Class AlternateVisualEdgePainter

java.lang.Object
  extended by salvo.jesus.graph.visual.drawing.VisualEdgePainterImpl
      extended by edu.mit.sketch.ddlcompiler.AlternateVisualEdgePainter
All Implemented Interfaces:
java.io.Serializable, salvo.jesus.graph.visual.drawing.Painter, salvo.jesus.graph.visual.drawing.VisualEdgePainter

public class AlternateVisualEdgePainter
extends salvo.jesus.graph.visual.drawing.VisualEdgePainterImpl

An example of an alternative VisualEdgePainter that changes the color to red and doubles the width.

Author:
Jesus M. Salvo Jr.
See Also:
Serialized Form

Constructor Summary
AlternateVisualEdgePainter()
           
 
Method Summary
 void paint(salvo.jesus.graph.visual.VisualGraphComponent component, java.awt.Graphics2D g2d)
           
 
Methods inherited from class salvo.jesus.graph.visual.drawing.VisualEdgePainterImpl
paintText
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AlternateVisualEdgePainter

public AlternateVisualEdgePainter()
Method Detail

paint

public void paint(salvo.jesus.graph.visual.VisualGraphComponent component,
                  java.awt.Graphics2D g2d)
Specified by:
paint in interface salvo.jesus.graph.visual.drawing.Painter
Overrides:
paint in class salvo.jesus.graph.visual.drawing.VisualEdgePainterImpl