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

java.lang.Object
  |
  +--org.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
        |
        +--org.argouml.uml.diagram.static_structure.layout.ClassdiagramInheritanceEdge
All Implemented Interfaces:
LayoutedEdge, LayoutedObject
Direct Known Subclasses:
ClassdiagramGeneralizationEdge, ClassdiagramRealizationEdge

public abstract class ClassdiagramInheritanceEdge
extends ClassdiagramEdge


Constructor Summary
ClassdiagramInheritanceEdge(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
 

Constructor Detail

ClassdiagramInheritanceEdge

public ClassdiagramInheritanceEdge(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-2003 (20030919)ArgoUML Project HomeArgoUML Cookbook