Inheritance diagram for ComponentListener:

To monitor a component for changes, register a subclass of ComponentListener with the component using Component::addComponentListener().
Be sure to deregister listeners before you delete them!
Public Member Functions | |
| virtual | ~ComponentListener () |
| Destructor. | |
| virtual void | componentMovedOrResized (Component &component, bool wasMoved, bool wasResized) |
| Called when the component's position or size changes. | |
| virtual void | componentBroughtToFront (Component &component) |
| Called when the component is brought to the top of the z-order. | |
| virtual void | componentVisibilityChanged (Component &component) |
| Called when the component is made visible or invisible. | |
| virtual void | componentChildrenChanged (Component &component) |
| Called when the component has children added or removed. | |
| virtual void | componentParentHierarchyChanged (Component &component) |
| Called to indicate that the component's parents have changed. | |
| virtual void | componentNameChanged (Component &component) |
| Called when the component's name is changed. | |
|
|
Destructor.
|
|
||||||||||||||||
|
Called when the component's position or size changes.
Reimplemented in Label, ComponentMovementWatcher, Viewport, and DropShadower. |
|
|
Called when the component is brought to the top of the z-order.
Reimplemented in DropShadower. |
|
|
Called when the component is made visible or invisible.
Reimplemented in Label, and DropShadower. |
|
|
Called when the component has children added or removed.
Reimplemented in DropShadower. |
|
|
Called to indicate that the component's parents have changed. When a component is added or removed from its parent, all of its children will produce this notification (recursively - so all children of its children will also be called as well).
Reimplemented in Label, ComponentMovementWatcher, and DropShadower. |
|
|
Called when the component's name is changed.
Reimplemented in MultiDocumentPanel. |