|
||||||||
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.drawables.DrawERGeneralisationVertex
public class DrawERGeneralisationVertex
Field Summary | |
---|---|
(package private) java.awt.Polygon |
hexbox
|
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 | |
---|---|
DrawERGeneralisationVertex(EditorPanel ep,
Positionable schemaObject,
Positionable[] d)
|
Method Summary | |
---|---|
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)
Replace the paintSymbol with one that draws an irregular hexagon |
Methods inherited from class uk.ac.ic.doc.automed.editor.DrawVertex |
---|
getBounds, 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 |
Field Detail |
---|
java.awt.Polygon hexbox
Constructor Detail |
---|
public DrawERGeneralisationVertex(EditorPanel ep, Positionable schemaObject, Positionable[] d)
Method Detail |
---|
public void paintSymbol(java.awt.Graphics2D g)
paintSymbol
in class DrawVertex
public java.awt.Point getConnectionPoint(java.awt.Point other)
DrawableVertex
Point
where a DrawableArc
connecting
to this DrawableVertex
should be drawn to, no
getConnectionPoint
in interface DrawableVertex
getConnectionPoint
in class DrawVertex
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |