|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.eclipse.draw2d.ConnectionAnchorBase | +--org.eclipse.draw2d.XYAnchor
Supports an anchor in the XY layout. This anchor exists independently without an owner.
Field Summary |
Fields inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
listeners |
Constructor Summary | |
XYAnchor(Point p)
Constructs an XYAnchor at the Point p. |
Method Summary | |
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 |
setLocation(Point p)
Sets the location of this anchor, and notifies all the listeners of the update. |
Methods inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
addAnchorListener, fireAnchorMoved, removeAnchorListener |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public XYAnchor(Point p)
Method Detail |
public Point getLocation(Point reference)
ConnectionAnchor
reference
- The reference Point in absolute coordinates
public IFigure getOwner()
ConnectionAnchor
public Point getReferencePoint()
ConnectionAnchor
ChopboxAnchor
).
public void setLocation(Point p)
p
- The new location of this anchor.getLocation(Point)
|
Eclipse Draw2d 2.1 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |