gov.nih.nci.cagrid.graph.uml.classdiagram
Class ClassdiagramEdge
java.lang.Object
gov.nih.nci.cagrid.graph.uml.classdiagram.ClassdiagramEdge
- All Implemented Interfaces:
- LayoutedEdge, LayoutedObject
- Direct Known Subclasses:
- ClassdiagramAssociationEdge, ClassdiagramInheritanceEdge, ClassdiagramNoteEdge
public abstract class ClassdiagramEdge
- extends java.lang.Object
- implements LayoutedEdge
This class is an abstract implementation of all edges which are
layoutable in the classdiagram.
- Since:
- 0.11.1
- Author:
- Markus Klink
|
Constructor Summary |
ClassdiagramEdge(org.tigris.gef.presentation.FigEdge edge)
Constructor. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassdiagramEdge
public ClassdiagramEdge(org.tigris.gef.presentation.FigEdge edge)
- Constructor.
- Parameters:
edge - the Edge to layout
layout
public abstract void layout()
- Abstract method to layout the edge.
- Specified by:
layout in interface LayoutedEdge
- See Also:
org.argouml.uml.diagram.layout.LayoutedEdge#layout()
setHGap
public static void setHGap(int h)
- Parameters:
h - the horizontal gap
setVGap
public static void setVGap(int v)
- Parameters:
v - the vertical gap
getHGap
public static int getHGap()
- Returns:
- the horizontal gap
getVGap
public static int getVGap()
- Returns:
- the vertical gap
getCurrentEdge
protected org.tigris.gef.presentation.FigEdge getCurrentEdge()
- Returns:
- Returns the currentEdge.
getUnderlyingFig
protected org.tigris.gef.presentation.FigPoly getUnderlyingFig()
- Returns:
- Returns the underlyingFig.