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

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

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

DrawRDBForeignKeyArc

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