Advanced Features > Nested Managers and Nested Graphers > Manager Frame > Defining the Frame

The frame around a nested manager is defined by the interface ilog.views.IlvManagerFrame. A default frame is provided when creating a nested manager; the default frame is defined by the class ilog.views.IlvDefaultManagerFrame.

images/defaultmanagerframe.gif

Figure 1.4 Default Manager Frame

This IlvManagerFrame interface defines the margin that will be added around the manager. It defines how the frame is drawn and how hit testing on the frame is performed.

To specify the frame that must be drawn around the manager, you use the following methods of the IlvManager class:

void setFrame(IlvManagerFrame frame)
IlvManagerFrame getFrame()

Note that you can remove the frame from the manager using the setFrame method with a null parameter.