Advanced Features > Nested Managers and Nested Graphers > Expanding and Collapsing > Expand/Collapse Events

When the manager is expanded or collapsed, it fires an event to notify you of this change. The event is defined by the class ilog.views.event.ManagerExpansionEvent.

To listen to such events, you must create a listener that implements the ilog.views.event.ManagerExpansionListener interface, which defines the two methods:

You will then register your listener using the following method of the IlvManager class:

void addManagerExpansionListener(ManagerExpansionListener listener)