Package org.eclipse.draw2d
Interface AncestorListener
- All Known Implementing Classes:
- AbstractConnectionAnchor,- AncestorListener.Stub,- ChopboxAnchor,- EllipseAnchor,- LabelAnchor,- RoundedRectangleAnchor
public interface AncestorListener
Classes which implement this interface provide methods to respond to changes
 in the ancestor properties of a Figure.
 
 Instances of this class can be added as listeners to a figure using the
 addAncestorListener method and removed using the
 removeAncestoreListener method. When the parent chain of the
 figure being observed changes or moves, the listener will be notified
 appropriately.
- 
Nested Class SummaryNested ClassesModifier and TypeInterfaceDescriptionstatic classAn empty implementation of AncestorListener for convenience.
- 
Method SummaryModifier and TypeMethodDescriptionvoidancestorAdded(IFigure ancestor) Called when an ancestor has been added into the listening figure's hierarchy.voidancestorMoved(IFigure ancestor) Called when an ancestor has moved to a new location.voidancestorRemoved(IFigure ancestor) Called when an ancestor has been removed from the listening figure's hierarchy.
- 
Method Details- 
ancestorAddedCalled when an ancestor has been added into the listening figure's hierarchy.- Parameters:
- ancestor- The ancestor that was added
 
- 
ancestorMovedCalled when an ancestor has moved to a new location.- Parameters:
- ancestor- The ancestor that has moved
 
- 
ancestorRemovedCalled when an ancestor has been removed from the listening figure's hierarchy.- Parameters:
- ancestor- The ancestor that has been removed
 
 
-