| 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectuk.ac.ic.doc.automed.editor.DrawVertex
uk.ac.ic.doc.automed.editor.DefaultDrawConstraintVertex
public class DefaultDrawConstraintVertex
| Field Summary | 
|---|
| Fields inherited from class uk.ac.ic.doc.automed.editor.DrawVertex | 
|---|
bounds, dashedStroke, dependent, ep, fm, p, standardStroke, symbolHeight, symbolWidth, text, textHeight, textWidth, thickness, thickStroke, thinStroke, xInset, yInset, zeroOffset | 
| Constructor Summary | |
|---|---|
DefaultDrawConstraintVertex(EditorPanel ep,
                            Positionable p)
 | 
|
DefaultDrawConstraintVertex(EditorPanel ep,
                            Positionable p,
                            Positionable[] d)
 | 
|
| Method Summary | |
|---|---|
 java.awt.Rectangle | 
getBounds()
Implements getBounds() from Drawable | 
 java.awt.Point | 
getConnectionPoint(java.awt.Point other)
Calculate the Point where a DrawableArc connecting
 to this DrawableVertex should be drawn to, no | 
 void | 
paintSymbol(java.awt.Graphics2D g)
Draw a rounded box to represent a constraint  | 
| Methods inherited from class uk.ac.ic.doc.automed.editor.DrawVertex | 
|---|
getCentre, getCentreOffset, getConnectionPointMovableCentre, getConnectsTo, getPositionable, intersectLine, paintComponent, paintText, setText | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public DefaultDrawConstraintVertex(EditorPanel ep,
                                   Positionable p)
public DefaultDrawConstraintVertex(EditorPanel ep,
                                   Positionable p,
                                   Positionable[] d)
| Method Detail | 
|---|
public java.awt.Point getConnectionPoint(java.awt.Point other)
DrawableVertexPoint where a DrawableArc connecting
 to this DrawableVertex should be drawn to, no
getConnectionPoint in interface DrawableVertexgetConnectionPoint in class DrawVertexpublic java.awt.Rectangle getBounds()
DrawVertexDrawable
getBounds in interface DrawableVertexgetBounds in class DrawVertexDrawable
 takes up in the editor panelpublic void paintSymbol(java.awt.Graphics2D g)
paintSymbol in class DrawVertex
  | 
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||