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

java.lang.Object
  extended byorg.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
      extended byorg.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(org.tigris.gef.presentation.FigEdge edge)
           
 
Method Summary
private  java.awt.Point getCenterLow(org.tigris.gef.presentation.FigNode fig)
          return a Point which is just lower than the center of the Fig.
private  java.awt.Point getCenterRight(org.tigris.gef.presentation.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(org.tigris.gef.presentation.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(org.tigris.gef.presentation.FigNode fig)
return a point which is just right of the center.


getCenterLow

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



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