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