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

java.lang.Object
  |
  +--uk.ac.ic.doc.automed.editor.DrawArc
        |
        +--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, ep, fm, p, standardStroke, thickness
 
Constructor Summary
DefaultDrawLinkArc(EditorPanel ep, Positionable p, Positionable[] d)
           
 
Method Summary
 void paint(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 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

paint

public void paint(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:
paint in interface Drawable
Overrides:
paint in class DrawArc