Advanced Features > Nested Managers and Nested Graphers > Expanding and Collapsing

A nested manager can be expanded or collapsed. When collapsed, a nested manager has a different representation, as illustrated in Figure 1.6.

images/collapsemanagers.gif

Figure 1.6 Expanded and Collapsed Manager

To expand/collapse a manager, the IlvManager class provides the following methods:

void setCollapsed(boolean collapse)
boolean isCollapsed()

When a nested manager is collapsed, the contents of the manager as well as the frame are no longer drawn. The manager has a new graphic representation, as you can see in Figure 1.6.

This section is divided as follows: