|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.tigris.gef.presentation.Fig | +--org.tigris.gef.presentation.FigCircle | +--org.argouml.uml.diagram.use_case.ui.FigUseCase.FigMyCircle
FigMyCircle is a FigCircle with corrected connectionPoint method: this methods calculates where a connected edge ends.
Field Summary | |
protected org.apache.log4j.Category |
cat
|
Fields inherited from class org.tigris.gef.presentation.FigCircle |
_isDashed, CIRCLE_ADJUST_RADIUS |
Fields inherited from class org.tigris.gef.presentation.Fig |
_allowsSaving, _context, _dashes, _displayed, _fillColor, _filled, _group, _h, _layer, _lineColor, _lineWidth, _locked, _resource, _shown, _w, _x, _y, an, annotationOwner, annotationStatus, BORDER, DASH_ARRAYS, DASHED_CHOICES, MIN_SIZE |
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 org.tigris.gef.presentation.FigCircle |
contains, paint |
Methods inherited from class org.tigris.gef.presentation.Fig |
addAnnotation, addPoint, addPropertyChangeListener, align, calcBounds, center, classNameAndBounds, cleanUp, clone, contains, contains, countCornersContained, createDrag, damage, delete, dispose, drawDashedLine, drawDashedPerimeter, endTrans, firePropChange, firePropChange, firePropChange, getAnnotationOwner, getAnnotationStrategy, getBounds, getClosestPoint, getContext, getDashed, getDashed01, getDashedString, getEnclosedFigs, getEnclosingFig, getFillColor, getFilled, getFilled01, getFirstPoint, getGravityPoints, getGroup, getHalfHeight, getHalfWidth, getHandleBox, getHeight, getId, getLastPoint, getLayer, getLineColor, getLineWidth, getLocation, getLocked, getMinimumSize, getNumPoints, getOwner, getPerimeterLength, getPoints, getPoints, getPopUpActions, getPreferedSize, getPrivateData, getResource, getSize, getTipString, getTrapRect, getUseTrapRect, getVisState, getWidth, getX, getXs, getY, getYs, hit, initAnnotations, insertPoint, intersects, isAnnotation, isDisplayed, isLowerRightResizable, isMovable, isReshapable, isResizable, isRotatable, makeSelection, OK, pointAlongPerimeter, postLoad, postSave, preSave, print, propertyChange, removeAnnotation, removeAnnotation, removePoint, removePropertyChangeListener, reorder, routingRect, savingAllowed, setAnnotationOwner, setAnnotationStatus, setAnnotationStrategy, setBounds, setBounds, setCenter, setContext, setDashed, setDashedString, setDisplayed, setEnclosingFig, setFillColor, setFilled, setGroup, setHandleBox, setHeight, setLayer, setLineColor, setLineWidth, setLocation, setLocation, setLocked, setNumPoints, setOwner, setPoints, setPoints, setPoints, setPoints, setPoints, setPrivateData, setResource, setSavingAllowed, setSize, setSize, setVisState, setWidth, setX, setXs, setY, setYs, startTrans, stuffBounds, stuffPointAlongPerimeter, translate, unsetAnnotationOwner, updateAnnotationPositions, updateVisState, within |
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected org.apache.log4j.Category cat
Constructor Detail |
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.
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.Method Detail |
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.
connectionPoint
in class org.tigris.gef.presentation.FigCircle
anotherPt
- The remote point to which an edge is drawn.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ArgoUML (c) 1996-2002 |