|
Eclipse Draw2d 3.8.0.201206011245 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ConnectionAnchor
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 |
---|
void addAnchorListener(AnchorListener listener)
listener
- The AnchorListener to be addedPoint getLocation(Point reference)
reference
- The reference Point in absolute coordinates
IFigure getOwner()
Point getReferencePoint()
ChopboxAnchor
).
void removeAnchorListener(AnchorListener listener)
listener
- The AnchorListener to be removed
|
Eclipse Draw2d 3.8.0.201206011245 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |