|
|||||||||
| 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.DrawNetwork
public class DrawNetwork
Draw a symbol the represents a Network in
an AutoMed EditorPanel.
| Field Summary | |
|---|---|
static int |
INDENT
|
| 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 | |
|---|---|
DrawNetwork(EditorPanel ep,
Positionable p)
|
|
| Method Summary | |
|---|---|
java.awt.Rectangle |
getBounds()
Describe the rectangular area within the EditorPanel
where this Drawable vertex is to be painted. |
void |
paintSymbol(java.awt.Graphics2D g)
|
void |
paintText(java.awt.Graphics2D g)
|
| Methods inherited from class uk.ac.ic.doc.automed.editor.DrawVertex |
|---|
getCentre, getCentreOffset, getConnectionPoint, getConnectionPointMovableCentre, getConnectsTo, getPositionable, intersectLine, paintComponent, setText |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int INDENT
| Constructor Detail |
|---|
public DrawNetwork(EditorPanel ep,
Positionable p)
| Method Detail |
|---|
public java.awt.Rectangle getBounds()
DrawableVertexEditorPanel
where this Drawable vertex is to be painted.
getBounds in interface DrawableVertexgetBounds in class DrawVertexpublic void paintSymbol(java.awt.Graphics2D g)
paintSymbol in class DrawVertexpublic void paintText(java.awt.Graphics2D g)
paintText in class DrawVertex
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||