Back to index

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

nsISelectControlFrame is the interface for combo boxes and listboxes More...

#include <nsISelectControlFrame.h>

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

List of all members.

Public Member Functions

NS_IMETHOD AddOption (nsPresContext *aPresContext, PRInt32 index)=0
 Adds an option to the list at index.
NS_IMETHOD RemoveOption (nsPresContext *aPresContext, PRInt32 index)=0
 Removes the option at index.
NS_IMETHOD GetOptionSelected (PRInt32 index, PRBool *value)=0
 Sets the select state of the option at index.
NS_IMETHOD DoneAddingChildren (PRBool aIsDone)=0
 Sets whether the parser is done adding children.
NS_IMETHOD OnOptionSelected (nsPresContext *aPresContext, PRInt32 aIndex, PRBool aSelected)=0
 Notify the frame when an option is selected.
NS_IMETHOD GetDummyFrame (nsIFrame **aFrame)=0
 For the content model to tell if there's a dummy frame or not.
NS_IMETHOD SetDummyFrame (nsIFrame *aFrame)=0
NS_IMETHOD OnSetSelectedIndex (PRInt32 aOldIndex, PRInt32 aNewIndex)=0
 Notify the frame when selectedIndex was changed.

Detailed Description

nsISelectControlFrame is the interface for combo boxes and listboxes

Definition at line 55 of file nsISelectControlFrame.h.


Member Function Documentation

NS_IMETHOD nsISelectControlFrame::AddOption ( nsPresContext aPresContext,
PRInt32  index 
) [pure virtual]

Adds an option to the list at index.

Implemented in nsListControlFrame, and nsComboboxControlFrame.

Here is the caller graph for this function:

Sets whether the parser is done adding children.

Parameters:
aIsDonewhether the parser is done adding children

Implemented in nsListControlFrame, and nsComboboxControlFrame.

Here is the caller graph for this function:

For the content model to tell if there's a dummy frame or not.

Implemented in nsListControlFrame, and nsComboboxControlFrame.

Here is the caller graph for this function:

NS_IMETHOD nsISelectControlFrame::GetOptionSelected ( PRInt32  index,
PRBool value 
) [pure virtual]

Sets the select state of the option at index.

Implemented in nsListControlFrame, and nsComboboxControlFrame.

Here is the caller graph for this function:

NS_IMETHOD nsISelectControlFrame::OnOptionSelected ( nsPresContext aPresContext,
PRInt32  aIndex,
PRBool  aSelected 
) [pure virtual]

Notify the frame when an option is selected.

Implemented in nsListControlFrame, and nsComboboxControlFrame.

Here is the caller graph for this function:

NS_IMETHOD nsISelectControlFrame::OnSetSelectedIndex ( PRInt32  aOldIndex,
PRInt32  aNewIndex 
) [pure virtual]

Notify the frame when selectedIndex was changed.

Implemented in nsListControlFrame, and nsComboboxControlFrame.

Here is the caller graph for this function:

NS_IMETHOD nsISelectControlFrame::RemoveOption ( nsPresContext aPresContext,
PRInt32  index 
) [pure virtual]

Removes the option at index.

Implemented in nsListControlFrame, and nsComboboxControlFrame.

Here is the caller graph for this function:

Implemented in nsListControlFrame, and nsComboboxControlFrame.

Here is the caller graph for this function:


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