|
Draw2d 3.9.0.201308190730 |
|||||||||
| 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.AbstractConnectionAnchor
org.eclipse.draw2d.EllipseAnchor
public class EllipseAnchor
Similar to a ChopboxAnchor, except this anchor is
located on the ellipse defined by the owners bounding box.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from interface org.eclipse.draw2d.AncestorListener |
|---|
AncestorListener.Stub |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
|---|
listeners |
| Constructor Summary | |
|---|---|
EllipseAnchor()
|
|
EllipseAnchor(IFigure owner)
|
|
| Method Summary | |
|---|---|
boolean |
equals(java.lang.Object o)
Returns true if the other anchor is an EllipseAnchor with
the same owner. |
Point |
getLocation(Point reference)
Returns a point on the ellipse (defined by the owner's bounding box) where the connection should be anchored. |
int |
hashCode()
The owning figure's hashcode is used since equality is approximately based on the owner. |
| Methods inherited from class org.eclipse.draw2d.AbstractConnectionAnchor |
|---|
addAnchorListener, ancestorAdded, ancestorMoved, ancestorRemoved, getOwner, getReferencePoint, removeAnchorListener, setOwner |
| Methods inherited from class org.eclipse.draw2d.ConnectionAnchorBase |
|---|
fireAnchorMoved |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public EllipseAnchor()
AbstractConnectionAnchor.AbstractConnectionAnchor()public EllipseAnchor(IFigure owner)
AbstractConnectionAnchor.AbstractConnectionAnchor(IFigure)| Method Detail |
|---|
public Point getLocation(Point reference)
reference - The reference Point in absolute coordinates
ConnectionAnchor.getLocation(Point)public boolean equals(java.lang.Object o)
true if the other anchor is an EllipseAnchor with
the same owner.
equals in class java.lang.Objecto - the other anchor
true if equalpublic int hashCode()
hashCode in class java.lang.Object
|
Draw2d 3.9.0.201308190730 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||