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
 
Constructor Summary
ClassdiagramAssociationEdge(org.tigris.gef.presentation.FigEdge edge)
          The constructor.
 
Method Summary
private  Point getCenterLow(org.tigris.gef.presentation.FigNode fig)
          return a Point which is just lower than the center of the Fig.
private  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
getCurrentEdge, getDestFigNode, getHGap, getSourceFigNode, getUnderlyingFig, 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)
The constructor.

Parameters:
edge - the fig of the 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
See Also:
LayoutedEdge.layout()

getCenterRight

private Point getCenterRight(org.tigris.gef.presentation.FigNode fig)
return a point which is just right of the center.


getCenterLow

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



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