The graphic representation that defines the collapsed
manager is a graphic object, an instance of
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:
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 the manager is collapsing, the collapsed graphic
will be placed at the center of the area of the manager. When the
manager is expanding, it will move so that its center will be placed
at the center of the collapsed graphic.