Back to index

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

Checkbox widget. More...

#include <nsICheckButton.h>

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

List of all members.

Public Member Functions

NS_IMETHOD SetLabel (const nsString &aText)=0
 Set the button label.
NS_IMETHOD GetLabel (nsString &aBuffer)=0
 Get the button label.
NS_IMETHOD SetState (const PRBool aState)=0
 Set the check state.
NS_IMETHOD GetState (PRBool &aState)=0
 Get the check state.
NS_IMETHOD SetLabel (const nsString &aText)=0
 Set the button label.
NS_IMETHOD GetLabel (nsString &aBuffer)=0
 Get the button label.
NS_IMETHOD SetState (const PRBool aState)=0
 Set the check state.
NS_IMETHOD GetState (PRBool &aState)=0
 Get the check state.

Detailed Description

Checkbox widget.

Can show itself in a checked or unchecked state. The checkbox widget does not automatically show itself checked or unchecked when clicked on.

Definition at line 54 of file nsICheckButton.h.


Member Function Documentation

NS_IMETHOD nsICheckButton::GetLabel ( nsString aBuffer) [pure virtual]

Get the button label.

Parameters:
aBuffercontains label upon return
Returns:
set to NS_OK if method successful

Implemented in nsCheckButton, nsCheckButton, nsCheckButton, and nsCheckButton.

NS_IMETHOD nsICheckButton::GetLabel ( nsString aBuffer) [pure virtual]

Get the button label.

Parameters:
aBuffercontains label upon return
Returns:
set to NS_OK if method successful

Implemented in nsCheckButton, nsCheckButton, nsCheckButton, and nsCheckButton.

NS_IMETHOD nsICheckButton::GetState ( PRBool aState) [pure virtual]

Get the check state.

Parameters:
aStatePR_TRUE if checked. PR_FALSE if unchecked.
Returns:
set to NS_OK if method successful

Implemented in nsCheckButton, nsCheckButton, nsCheckButton, and nsCheckButton.

Here is the caller graph for this function:

NS_IMETHOD nsICheckButton::GetState ( PRBool aState) [pure virtual]

Get the check state.

Parameters:
aStatePR_TRUE if checked. PR_FALSE if unchecked.
Returns:
set to NS_OK if method successful

Implemented in nsCheckButton, nsCheckButton, nsCheckButton, and nsCheckButton.

NS_IMETHOD nsICheckButton::SetLabel ( const nsString aText) [pure virtual]

Set the button label.

Parameters:
aTextbutton label
Returns:
set to NS_OK if method successful

Implemented in nsCheckButton, nsCheckButton, nsCheckButton, and nsCheckButton.

NS_IMETHOD nsICheckButton::SetLabel ( const nsString aText) [pure virtual]

Set the button label.

Parameters:
aTextbutton label
Returns:
set to NS_OK if method successful

Implemented in nsCheckButton, nsCheckButton, nsCheckButton, and nsCheckButton.

Here is the caller graph for this function:

NS_IMETHOD nsICheckButton::SetState ( const PRBool  aState) [pure virtual]

Set the check state.

Parameters:
aStatePR_TRUE show as checked. PR_FALSE show unchecked.
Returns:
set to NS_OK if method successful

Implemented in nsCheckButton, nsCheckButton, nsCheckButton, and nsCheckButton.

NS_IMETHOD nsICheckButton::SetState ( const PRBool  aState) [pure virtual]

Set the check state.

Parameters:
aStatePR_TRUE show as checked. PR_FALSE show unchecked.
Returns:
set to NS_OK if method successful

Implemented in nsCheckButton, nsCheckButton, nsCheckButton, and nsCheckButton.

Here is the caller graph for this function:


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