|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectde.uni_paderborn.fujaba.layout.classdiag.ClassdiagramEdge
This class is an abstract implementation of all edges which are layoutable in the classdiagram. The class has been taken from Argo UML source code.
| Field Summary | |
private FSABendLine |
currentEdge
No comment provided by developer, please add a comment to improve documentation. |
private FSAObject |
destFigNode
each fig has a source and a destination port |
private static int |
hGap
No comment provided by developer, please add a comment to improve documentation. |
private FSAObject |
sourceFigNode
No comment provided by developer, please add a comment to improve documentation. |
private FSAPolyLine |
underlyingFig
the underlying fig of the edge we want to layout |
private static int |
vGap
the layout is oriented on a grid. |
| Constructor Summary | |
ClassdiagramEdge(FSABendLine edge)
Constructor. |
|
| Method Summary | |
protected void |
addPoint(int x,
int y)
Adds a bend to the line. |
protected FSABendLine |
getCurrentEdge()
|
(package private) FSAObject |
getDestFigNode()
|
static int |
getHGap()
|
(package private) FSAObject |
getSourceFigNode()
|
protected FSAPolyLine |
getUnderlyingFig()
|
static int |
getVGap()
|
abstract void |
layout()
Abstract method to layout the edge. |
static void |
setHGap(int h)
|
static void |
setVGap(int v)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private static int vGap
private static int hGap
private FSABendLine currentEdge
private FSAPolyLine underlyingFig
private FSAObject destFigNode
private FSAObject sourceFigNode
| Constructor Detail |
public ClassdiagramEdge(FSABendLine edge)
edge - the Edge to layout| Method Detail |
public abstract void layout()
layout in interface LayoutedEdgepublic static void setHGap(int h)
h - the horizontal gappublic static void setVGap(int v)
v - the vertical gappublic static int getHGap()
public static int getVGap()
FSAObject getDestFigNode()
FSAObject getSourceFigNode()
protected FSABendLine getCurrentEdge()
protected FSAPolyLine getUnderlyingFig()
protected void addPoint(int x,
int y)
x - locationy -
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||