org.argouml.uml.diagram.use_case.ui
Class FigUseCase.FigMyCircle
java.lang.Object
|
+--FigCircle
|
+--org.argouml.uml.diagram.use_case.ui.FigUseCase.FigMyCircle
- Enclosing class:
- FigUseCase
- public class FigUseCase.FigMyCircle
- extends FigCircle
FigMyCircle is a FigCircle with corrected connectionPoint method:
this methods calculates where a connected edge ends.
- See Also:
- Serialized Form
Field Summary |
protected Category |
cat
|
Constructor Summary |
FigUseCase.FigMyCircle(int x,
int y,
int w,
int h,
java.awt.Color lColor,
java.awt.Color fColor)
Constructor just invokes the parent constructor. |
Method Summary |
java.awt.Point |
connectionPoint(java.awt.Point anotherPt)
Compute the border point of the elipse that is on the edge
between the stored upper left corner and the given parameter. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
cat
protected Category cat
FigUseCase.FigMyCircle
public FigUseCase.FigMyCircle(int x,
int y,
int w,
int h,
java.awt.Color lColor,
java.awt.Color fColor)
Constructor just invokes the parent constructor.
- Parameters:
x
- X coordinate of the upper left corner of the bounding
box.y
- Y coordinate of the upper left corner of the bounding
box.w
- Width of the bounding box.h
- Height of the bounding box.lColor
- Line colour of the fig.fColor
- Fill colour of the fig.
connectionPoint
public java.awt.Point connectionPoint(java.awt.Point anotherPt)
Compute the border point of the elipse that is on the edge
between the stored upper left corner and the given parameter.
- Parameters:
anotherPt
- The remote point to which an edge is drawn.
- Returns:
- The connection point on the boundary of the
elipse.