Advanced Features > Nested Managers and Nested Graphers > Expanding and Collapsing > Defining the Collapsed Representation

The graphic representation that defines the collapsed manager is a graphic object, an instance of ilog.views.IlvGraphic. This allows you to define any kind of collapsed representation for your manager. The default graphic object used to draw a collapsed manager is an instance of the class: ilog.views.graphic.IlvDefaultCollapsedGraphic, which represents a folder above the name of the manager. To change this default representation, you use the following methods of the class IlvManager:

void setCollapsedGraphic(IlvGraphic graphic) 
IlvGraphic getCollapsedGraphic() 

Note that the graphic object used for the collapsed representation cannot be shared by several managers.

When collapsing, the collapsed graphic will be placed at the center of the area of the manager. When expanding, the manager will move so that its center will be placed at the center of the collapsed graphic.