de.uni_paderborn.fujaba.layout.classdiag
Class ClassdiagramAssociationEdge

java.lang.Object
  extended byde.uni_paderborn.fujaba.layout.classdiag.ClassdiagramEdge
      extended byde.uni_paderborn.fujaba.layout.classdiag.ClassdiagramAssociationEdge
All Implemented Interfaces:
LayoutedEdge, LayoutedObject

public class ClassdiagramAssociationEdge
extends ClassdiagramEdge

The class has been taken from Argo UML source code.

Version:
$Revision: 1.2 $ $Date: 2005/01/28 11:36:28 $
Author:
$Author: lowende $

Field Summary
 
Fields inherited from class de.uni_paderborn.fujaba.layout.classdiag.ClassdiagramEdge
 
Constructor Summary
ClassdiagramAssociationEdge(FSABendLine edge)
          The constructor.
 
Method Summary
private  java.awt.Point getCenter(FSAObject fig)
          return the center point of the object
private  java.awt.Point getCenterLow(FSAObject fig)
          return a Point which is just lower than the center of the Fig.
private  java.awt.Point getCenterRight(FSAObject fig)
          return a point which is just right of the center.
 void layout()
          No comment provided by developer, please add a comment to improve documentation.
 
Methods inherited from class de.uni_paderborn.fujaba.layout.classdiag.ClassdiagramEdge
addPoint, 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(FSABendLine edge)
The constructor.

Parameters:
edge - the fig of the edge
Method Detail

layout

public void layout()
No comment provided by developer, please add a comment to improve documentation.

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

getCenterRight

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

Parameters:
fig - No description provided
Returns:
The centerRight value

getCenterLow

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

Parameters:
fig - No description provided
Returns:
The centerLow value

getCenter

private java.awt.Point getCenter(FSAObject fig)
return the center point of the object

Parameters:
fig - No description provided
Returns:
The center value