org.argouml.uml.diagram.static_structure.layout
Class ClassdiagramInheritanceEdge

java.lang.Object
  extended byorg.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
      extended byorg.argouml.uml.diagram.static_structure.layout.ClassdiagramInheritanceEdge
All Implemented Interfaces:
LayoutedEdge, LayoutedObject
Direct Known Subclasses:
ClassdiagramGeneralizationEdge, ClassdiagramRealizationEdge

public abstract class ClassdiagramInheritanceEdge
extends ClassdiagramEdge


Field Summary
(package private)  org.tigris.gef.presentation.Fig high
           
(package private)  org.tigris.gef.presentation.Fig low
           
 
Fields inherited from class org.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
_hGap, _vGap, currentEdge, destFigNode, sourceFigNode, underlyingFig
 
Constructor Summary
ClassdiagramInheritanceEdge(org.tigris.gef.presentation.FigEdge edge)
           
 
Method Summary
 int getCenterHigh()
           
 int getCenterLow()
           
 int getDownGap()
           
abstract  int getVerticalOffset()
           
 void layout()
          layout the edges in a way that they form a nice inheritance tree.
 
Methods inherited from class org.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
getHGap, getVGap, setHGap, setVGap
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

high

org.tigris.gef.presentation.Fig high

low

org.tigris.gef.presentation.Fig low
Constructor Detail

ClassdiagramInheritanceEdge

public ClassdiagramInheritanceEdge(org.tigris.gef.presentation.FigEdge edge)
Method Detail

getVerticalOffset

public abstract int getVerticalOffset()

getCenterHigh

public int getCenterHigh()

getCenterLow

public int getCenterLow()

getDownGap

public int getDownGap()

layout

public void layout()
layout the edges in a way that they form a nice inheritance tree. Try to implement these nice zigzag lines between classes and works well when the row difference is one.

Specified by:
layout in interface LayoutedEdge
Specified by:
layout in class ClassdiagramEdge
Since:
0.9.6


ArgoUML © 1996-2004 (20040316)ArgoUML HomepageArgoUML Developers' pageArgoUML Cookbook