|
|||||||||||
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.
Constructor Summary | |
ClassdiagramEdge(FSABendLine edge)
Constructor. |
Method Summary | |
protected void |
addPoint(int x,
int y)
Adds a bend to the line. |
protected FSABendLine |
getCurrentEdge()
|
static int |
getHGap()
|
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 |
Constructor Detail |
public ClassdiagramEdge(FSABendLine edge)
edge
- the Edge to layoutMethod Detail |
public abstract void layout()
layout
in interface LayoutedEdge
public 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()
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 |