|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
This class is an abstract implementation of all edges which are layoutable in the classdiagram.
Field Summary | |
private org.tigris.gef.presentation.FigEdge |
currentEdge
|
private org.tigris.gef.presentation.Fig |
destFigNode
each fig has a source and a destination port |
private static int |
hGap
|
private org.tigris.gef.presentation.Fig |
sourceFigNode
|
private org.tigris.gef.presentation.FigPoly |
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(org.tigris.gef.presentation.FigEdge edge)
Constructor. |
Method Summary | |
protected org.tigris.gef.presentation.FigEdge |
getCurrentEdge()
|
(package private) org.tigris.gef.presentation.Fig |
getDestFigNode()
|
static int |
getHGap()
|
(package private) org.tigris.gef.presentation.Fig |
getSourceFigNode()
|
protected org.tigris.gef.presentation.FigPoly |
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 org.tigris.gef.presentation.FigEdge currentEdge
private org.tigris.gef.presentation.FigPoly underlyingFig
private org.tigris.gef.presentation.Fig destFigNode
private org.tigris.gef.presentation.Fig sourceFigNode
Constructor Detail |
public ClassdiagramEdge(org.tigris.gef.presentation.FigEdge edge)
edge
- the Edge to layoutMethod Detail |
public abstract void layout()
layout
in interface LayoutedEdge
LayoutedEdge.layout()
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()
org.tigris.gef.presentation.Fig getDestFigNode()
org.tigris.gef.presentation.Fig getSourceFigNode()
protected org.tigris.gef.presentation.FigEdge getCurrentEdge()
protected org.tigris.gef.presentation.FigPoly getUnderlyingFig()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML © 1996-2004 (20050222) | ArgoUML Homepage | ArgoUML Developers' page | ArgoUML Cookbook |