org.argouml.uml.diagram.static_structure.layout
Class ClassdiagramNoteEdge
java.lang.Object
org.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge
org.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.
Fields inherited from class org.argouml.uml.diagram.static_structure.layout.ClassdiagramEdge |
|
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassdiagramNoteEdge
public ClassdiagramNoteEdge(org.tigris.gef.presentation.FigEdge edge)
- The constructor.
- Parameters:
edge
- the fig edge
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 edgefd
- - destination Fig of this edge