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

The IlvManagerFrame interface defines a method to draw the frame:

void draw(IlvManager manager, IlvRect bbox, Graphics g, IlvTransformer t) 

This method already provides the manager, with its bounding box in the view coordinate system that already takes the margins into account. The IlvDefaultManagerFrame fills the background and draws a border around the manager. It also draws a title at the top of the manager that corresponds to the name of the manager, as you can see in the picture above (Figure 1.5).

If the frame implementation fills the background of the manager, the frame is an opaque frame and the following method must return true:

boolean isOpaque(IlvManager manager) 

The IlvDefaultManagerFrame object can be optionally opaque.