uk.ac.ic.doc.automed.editor
Class DefaultDrawLinkArc

java.lang.Object
  extended by uk.ac.ic.doc.automed.editor.DrawArc
      extended by uk.ac.ic.doc.automed.editor.DefaultDrawLinkArc
All Implemented Interfaces:
Drawable, DrawableArc

public class DefaultDrawLinkArc
extends DrawArc


Field Summary
 
Fields inherited from class uk.ac.ic.doc.automed.editor.DrawArc
d, dashedStroke, ep, fm, p, standardStroke, thickness, thickStroke
 
Constructor Summary
DefaultDrawLinkArc(EditorPanel ep, Positionable p, Positionable[] d)
           
 
Method Summary
 void paintComponent(java.awt.Graphics2D g)
          Modify the basic drawing of arcs to set the arc colour based on the foreground colour of the first positionable connected
 
Methods inherited from class uk.ac.ic.doc.automed.editor.DrawArc
drawArrow, getConnectsTo, getPositionable, getPositionables
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DefaultDrawLinkArc

public DefaultDrawLinkArc(EditorPanel ep,
                          Positionable p,
                          Positionable[] d)
Method Detail

paintComponent

public void paintComponent(java.awt.Graphics2D g)
Modify the basic drawing of arcs to set the arc colour based on the foreground colour of the first positionable connected

Specified by:
paintComponent in interface Drawable
Overrides:
paintComponent in class DrawArc