Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsIListControlFrame Class Reference

nsIListControlFrame is the interface for frame-based listboxes. More...

#include <nsIListControlFrame.h>

Inheritance diagram for nsIListControlFrame:
Inheritance graph
[legend]
Collaboration diagram for nsIListControlFrame:
Collaboration graph
[legend]

List of all members.

Public Member Functions

NS_IMETHOD SetComboboxFrame (nsIFrame *aComboboxFrame)=0
 Sets the ComboBoxFrame.
NS_IMETHOD GetOptionText (PRInt32 aIndex, nsAString &aStr)=0
 Get the display string for an item.
NS_IMETHOD GetSelectedIndex (PRInt32 *aIndex)=0
 Get the Selected Item's index.
NS_IMETHOD CaptureMouseEvents (nsPresContext *aPresContext, PRBool aGrabMouseEvents)=0
 Initiates mouse capture for the listbox.
NS_IMETHOD GetMaximumSize (nsSize &aSize)=0
 Returns the maximum width and height of an item in the listbox.
NS_IMETHOD GetNumberOfOptions (PRInt32 *aNumOptions)=0
 Returns the number of options in the listbox.
NS_IMETHOD SyncViewWithFrame ()=0
NS_IMETHOD AboutToDropDown ()=0
 Called by combobox when it's about to drop down.
NS_IMETHOD AboutToRollup ()=0
 Called by combobox when it's about to roll up.
NS_IMETHOD FireOnChange ()=0
 Fire on change (used by combobox)
NS_IMETHOD SetOverrideReflowOptimization (PRBool aValue)=0
NS_IMETHOD GetOptionsContainer (nsPresContext *aPresContext, nsIFrame **aFrame)=0
 Return the the frame that the options will be inserted into.
NS_IMETHOD ComboboxFinish (PRInt32 aIndex)=0
 Tell the selected list to roll up and ensure that the proper index is selected, possibly firing onChange if the index has changed.

Detailed Description

nsIListControlFrame is the interface for frame-based listboxes.

Definition at line 55 of file nsIListControlFrame.h.


Member Function Documentation

Called by combobox when it's about to drop down.

Implemented in nsListControlFrame.

Here is the caller graph for this function:

Called by combobox when it's about to roll up.

Implemented in nsListControlFrame.

Here is the caller graph for this function:

NS_IMETHOD nsIListControlFrame::CaptureMouseEvents ( nsPresContext aPresContext,
PRBool  aGrabMouseEvents 
) [pure virtual]

Initiates mouse capture for the listbox.

Implemented in nsListControlFrame.

Here is the caller graph for this function:

Tell the selected list to roll up and ensure that the proper index is selected, possibly firing onChange if the index has changed.

Parameters:
aIndexthe index to actually select

Implemented in nsListControlFrame.

Here is the caller graph for this function:

Fire on change (used by combobox)

Implemented in nsListControlFrame.

Here is the caller graph for this function:

Returns the maximum width and height of an item in the listbox.

Implemented in nsListControlFrame.

Here is the caller graph for this function:

NS_IMETHOD nsIListControlFrame::GetNumberOfOptions ( PRInt32 aNumOptions) [pure virtual]

Returns the number of options in the listbox.

Implemented in nsListControlFrame.

Here is the caller graph for this function:

NS_IMETHOD nsIListControlFrame::GetOptionsContainer ( nsPresContext aPresContext,
nsIFrame **  aFrame 
) [pure virtual]

Return the the frame that the options will be inserted into.

Implemented in nsListControlFrame.

NS_IMETHOD nsIListControlFrame::GetOptionText ( PRInt32  aIndex,
nsAString &  aStr 
) [pure virtual]

Get the display string for an item.

Implemented in nsListControlFrame.

Here is the caller graph for this function:

Get the Selected Item's index.

Implemented in nsListControlFrame.

Here is the caller graph for this function:

NS_IMETHOD nsIListControlFrame::SetComboboxFrame ( nsIFrame aComboboxFrame) [pure virtual]

Sets the ComboBoxFrame.

Implemented in nsListControlFrame.

Here is the caller graph for this function:

Implemented in nsListControlFrame.

Here is the caller graph for this function:

Implemented in nsListControlFrame.

Here is the caller graph for this function:


The documentation for this class was generated from the following file: