|
Eclipse Draw2d 3.0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.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 of this anchor relative to the reference point given in as input. |
IFigure |
getOwner()
Returns null as these anchors inherently do not depend on other figures
for their location. |
Point |
getReferencePoint()
Returns the point which is used as the reference by this connection anchor. |
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)
p - the point where this anchor will be located| Method Detail |
public Point getLocation(Point reference)
reference - The reference Point in absolute coordinates
ConnectionAnchor.getLocation(Point)public IFigure getOwner()
null as these anchors inherently do not depend on other figures
for their location.
ConnectionAnchor.getOwner()public Point getReferencePoint()
ConnectionAnchor.getReferencePoint()public void setLocation(Point p)
p - the new location of this anchorgetLocation(Point)
|
Eclipse Draw2d 3.0.1 |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||