uk.ac.ic.doc.automed.editor.drawables
Class DrawRDBPrimaryKeyArc

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

public class DrawRDBPrimaryKeyArc
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
DrawRDBPrimaryKeyArc(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

DrawRDBPrimaryKeyArc

public DrawRDBPrimaryKeyArc(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