Package org.eclipse.draw2d
Class EllipseAnchor
java.lang.Object
org.eclipse.draw2d.ConnectionAnchorBase
org.eclipse.draw2d.AbstractConnectionAnchor
org.eclipse.draw2d.EllipseAnchor
- All Implemented Interfaces:
- AncestorListener,- ConnectionAnchor
Similar to a 
ChopboxAnchor, except this anchor is
 located on the ellipse defined by the owners bounding box.- 
Nested Class SummaryNested classes/interfaces inherited from interface org.eclipse.draw2d.AncestorListenerAncestorListener.Stub
- 
Field SummaryFields inherited from class org.eclipse.draw2d.ConnectionAnchorBaselisteners
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleanReturnstrueif the other anchor is an EllipseAnchor with the same owner.getLocation(Point reference) Returns a point on the ellipse (defined by the owner's bounding box) where the connection should be anchored.inthashCode()The owning figure's hashcode is used since equality is approximately based on the owner.Methods inherited from class org.eclipse.draw2d.AbstractConnectionAnchoraddAnchorListener, ancestorAdded, ancestorMoved, ancestorRemoved, getOwner, getReferencePoint, removeAnchorListener, setOwnerMethods inherited from class org.eclipse.draw2d.ConnectionAnchorBasefireAnchorMoved
- 
Constructor Details- 
EllipseAnchorpublic EllipseAnchor()- See Also:
 
- 
EllipseAnchor- See Also:
 
 
- 
- 
Method Details- 
getLocationReturns a point on the ellipse (defined by the owner's bounding box) where the connection should be anchored.- Parameters:
- reference- The reference Point in absolute coordinates
- Returns:
- The anchor's location
- See Also:
 
- 
equalsReturnstrueif the other anchor is an EllipseAnchor with the same owner.
- 
hashCodepublic int hashCode()The owning figure's hashcode is used since equality is approximately based on the owner.
 
-