|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object to which a Connection
will be anchored. If the ConnectionAnchor
moves, the Connection should move with it.
Method Summary | |
void |
addAnchorListener(AnchorListener listener)
Adds a listener interested in the movement of this ConnectionAnchor. |
Point |
getLocation(Point reference)
Returns the location where the Connection should be anchored in absolute coordinates. |
IFigure |
getOwner()
Returns the IFigure that contains this ConnectionAnchor. |
Point |
getReferencePoint()
Returns the reference point for this anchor in absolute coordinates. |
void |
removeAnchorListener(AnchorListener listener)
Removes the listener. |
Method Detail |
public void addAnchorListener(AnchorListener listener)
listener
- The AnchorListener to be addedpublic Point getLocation(Point reference)
reference
- The reference Point in absolute coordinates
public IFigure getOwner()
public Point getReferencePoint()
ChopboxAnchor
).
public void removeAnchorListener(AnchorListener listener)
listener
- The AnchorListener to be removed
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |