public interface AncestorListener
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.
Modifier and Type | Interface and Description |
---|---|
static class |
AncestorListener.Stub
An empty implementation of AncestorListener for convenience.
|
Modifier and Type | Method and Description |
---|---|
void |
ancestorAdded(IFigure ancestor)
Called when an ancestor has been added into the listening figure's
hierarchy.
|
void |
ancestorMoved(IFigure ancestor)
Called when an ancestor has moved to a new location.
|
void |
ancestorRemoved(IFigure ancestor)
Called when an ancestor has been removed from the listening figure's
hierarchy.
|
void ancestorAdded(IFigure ancestor)
ancestor
- The ancestor that was addedvoid ancestorMoved(IFigure ancestor)
ancestor
- The ancestor that has movedvoid ancestorRemoved(IFigure ancestor)
ancestor
- The ancestor that has been removedCopyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.