LFocusBox is a PowerPlant class that is used for outlining a pane to indicate that the pane is the current focus for keystrokes.
Methods :
The methods in this class are:
Data Members:
There are no data members in this class.
Operation:
This class is used internally by PowerPlant in conjunction with LListBox to highlight entries in the list.
Source files:
Ancestors:
Purpose:
The constructors create objects from the passed-in parameters.
Access:
Prototype:
LFocusBox();
LFocusBox( const LFocusBox &inOriginal );
LFocusBox( LStream *inStream );Parameters:
The parameters for these constructors are:
Purpose:
Associate a host Pane with a FocusBox, sizing and positioning the FocusBox so that it fits around the Pane.
Access:
Prototype:
virtual void AttachPane(Parameters:
LPane *inPane,
Boolean inSameBindings );
The parameters for this method are:
Return:
:
Purpose:
Validate the area occupied by a FocusBox so it won't redraw during the next Update event. This is an override of DontRefresh() in LView.
Purpose:
Draw a FocusBox. This is an override of DrawSelf() in LPane.
Purpose:
Pass back a region defining a FocusBox. A FocusBox is a hollow rectangular region. Clip the region so that it is within the revealed rect. This method creates a new region which the caller must dispose of.
Access:
Prototype:
virtual RgnHandle GetBoxRegion(Parameters:
const Rect &inFrame,
const Rect &inRevealed ) const;
The parameters for this method are:
Return:
A handle to the region defining the FocusBox.
Purpose:
A FocusBox is being hidden. This is an override of HideSelf() in LPane.
Purpose:
Invalidate the area occupied by a FocusBox so it will redraw during the next Update event. This is an override of Refresh() in LPane.
Purpose:
A FocusBox is being shown. This is an override of ShowSelf() in LPane.