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

java.lang.Object
  |
  +--org.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
        |
        +--org.argouml.uml.diagram.static_structure.layout.ClassdiagramAssociationEdge
All Implemented Interfaces:
LayoutedEdge, LayoutedObject

public class ClassdiagramAssociationEdge
extends ClassdiagramEdge


Field Summary
 
Fields inherited from class org.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
_hGap, _vGap, currentEdge, destFigNode, sourceFigNode, underlyingFig
 
Constructor Summary
ClassdiagramAssociationEdge(FigEdge edge)
           
 
Method Summary
private  java.awt.Point getCenterLow(FigNode fig)
          return a Point which is just lower than the center of the Fig.
private  java.awt.Point getCenterRight(FigNode fig)
          return a point which is just right of the center.
 void layout()
          abstract method to layout the edge
 
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

ClassdiagramAssociationEdge

public ClassdiagramAssociationEdge(FigEdge edge)
Method Detail

layout

public void layout()
Description copied from class: ClassdiagramEdge
abstract method to layout the edge

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

getCenterRight

private java.awt.Point getCenterRight(FigNode fig)
return a point which is just right of the center.


getCenterLow

private java.awt.Point getCenterLow(FigNode fig)
return a Point which is just lower than the center of the Fig.



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