public interface HierarchyListener extends Nameable
hierarchyWillChange() is called, notifying the object that
the hierarchy is about to change; then hierarchyChanged() is called,
notifying the object that the hierarchy has changed.
The notified object can prevent changes by throwing an exception when
the first method is called.| Modifier and Type | Method and Description |
|---|---|
void |
hierarchyChanged()
Notify this object that the containment hierarchy above it has
changed.
|
void |
hierarchyWillChange()
Notify this object that the containment hierarchy above it will be
changed.
|
description, getContainer, getDisplayName, getFullName, getName, getName, setNamevoid hierarchyChanged() throws IllegalActionException
IllegalActionException - If the change is not
acceptable.void hierarchyWillChange() throws IllegalActionException
IllegalActionException - If the change is not
acceptable.