# Uses of Interface
org.eclipse.draw2d.AncestorListener

Packages that use AncestorListener
Package
Description
org.eclipse.draw2d
Primary package containing general interfaces and implementation classes.

## Uses of AncestorListener in org.eclipse.draw2d

Classes in org.eclipse.draw2d that implement AncestorListener
Modifier and Type
Class
Description
`class`
`AbstractConnectionAnchor`
Provides support for anchors which depend on a figure for thier location.
`static class`
`AncestorListener.Stub`
An empty implementation of AncestorListener for convenience.
`class`
`ChopboxAnchor`
The ChopboxAnchor's location is found by calculating the intersection of a line drawn from the center point of its owner's box to a reference point on that box.
`class`
`EllipseAnchor`
Similar to a `ChopboxAnchor`, except this anchor is located on the ellipse defined by the owners bounding box.
`class`
`LabelAnchor`
LabelAnchors must have an owner of type `Label`.
`class`
`RoundedRectangleAnchor`
Anchor for rounded rectangles which is always on a line between the center and the reference point.
Methods in org.eclipse.draw2d with parameters of type AncestorListener
Modifier and Type
Method
Description
`void`
Figure.`addAncestorListener(AncestorListener ancestorListener)`
`void`
IFigure.`addAncestorListener(AncestorListener listener)`
Registers the given listener as an AncestorListener of this figure.
`void`
Figure.`removeAncestorListener(AncestorListener listener)`
`void`
IFigure.`removeAncestorListener(AncestorListener listener)`
Unregisters the given listener, so that it will no longer receive notification of ancestor events.