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

java.lang.Object
  extended byorg.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
      extended byorg.argouml.uml.diagram.static_structure.layout.ClassdiagramNoteEdge
All Implemented Interfaces:
LayoutedEdge, LayoutedObject

public class ClassdiagramNoteEdge
extends ClassdiagramEdge

This class represents note edges to enable an appropriate positioning of notes.


Field Summary
 
Fields inherited from class org.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
 
Constructor Summary
ClassdiagramNoteEdge(org.tigris.gef.presentation.FigEdge edge)
          The constructor.
 
Method Summary
private  void addPoints(org.tigris.gef.presentation.Fig fs, org.tigris.gef.presentation.Fig fd)
          Add points to the underlying FigPoly
 void layout()
          NoteEdges are drawn directly between the linked nodes, using vertically centered points on the right- resp.
 
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

ClassdiagramNoteEdge

public ClassdiagramNoteEdge(org.tigris.gef.presentation.FigEdge edge)
The constructor.

Parameters:
edge - the fig edge
Method Detail

layout

public void layout()
NoteEdges are drawn directly between the linked nodes, using vertically centered points on the right- resp. left-hand side of the nodes.

Specified by:
layout in interface LayoutedEdge
Specified by:
layout in class ClassdiagramEdge
See Also:
ClassdiagramEdge.layout()

addPoints

private void addPoints(org.tigris.gef.presentation.Fig fs,
                       org.tigris.gef.presentation.Fig fd)
Add points to the underlying FigPoly

Parameters:
fs - - source Fig of this edge
fd - - destination Fig of this edge


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