Back to index

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

This interface is used for the text control frame to store its value away into the content. More...

#include <nsIRadioControlElement.h>

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

List of all members.

Public Member Functions

NS_IMETHOD RadioSetChecked (PRBool aNotify)=0
 Set the radio button checked, but don't do any extra checks and don't trigger "value changed".
NS_IMETHOD SetCheckedChangedInternal (PRBool aCheckedChanged)=0
 Let this radio button know that the radio group's "checked" property has been changed by JavaScript or by the user.
NS_IMETHOD SetCheckedChanged (PRBool aCheckedChanged)=0
 Let an entire radio group know that it's "checked" property has been changed by JS or by the user (calls SetCheckedChangedInternal multiple times via a visitor)
NS_IMETHOD GetCheckedChanged (PRBool *aCheckedChanged)=0
 Find out whether this radio group's "checked" property has been changed by JavaScript or by the user.
NS_IMETHOD AddedToRadioGroup (PRBool aNotify=PR_TRUE)=0
 Let this radio button know that state has been changed such that it has been added to a group.
NS_IMETHOD WillRemoveFromRadioGroup ()=0
 Let this radio button know that it is about to be removed from the radio group it is currently in (the relevant properties should not have changed yet).
virtual already_AddRefed
< nsIRadioGroupContainer
GetRadioGroupContainer ()=0
 Get the radio group container for this radio button.

Detailed Description

This interface is used for the text control frame to store its value away into the content.

Definition at line 56 of file nsIRadioControlElement.h.


Member Function Documentation

Let this radio button know that state has been changed such that it has been added to a group.

Implemented in nsHTMLInputElement.

NS_IMETHOD nsIRadioControlElement::GetCheckedChanged ( PRBool aCheckedChanged) [pure virtual]

Find out whether this radio group's "checked" property has been changed by JavaScript or by the user.

Parameters:
aCheckedChangedout param, whether the checked property has been changed.

Implemented in nsHTMLInputElement.

Get the radio group container for this radio button.

Returns:
the radio group container (or null if no container)

Implemented in nsHTMLInputElement.

Set the radio button checked, but don't do any extra checks and don't trigger "value changed".

This is for experts only. Do not try this at home. Well, OK, try it at home, but not late at night.

Implemented in nsHTMLInputElement.

NS_IMETHOD nsIRadioControlElement::SetCheckedChanged ( PRBool  aCheckedChanged) [pure virtual]

Let an entire radio group know that it's "checked" property has been changed by JS or by the user (calls SetCheckedChangedInternal multiple times via a visitor)

Parameters:
aCheckedChangedwhether the checked property has been changed.

Implemented in nsHTMLInputElement.

Let this radio button know that the radio group's "checked" property has been changed by JavaScript or by the user.

Parameters:
aCheckedChangedwhether the checked property has been changed.
aOnlyOnThisRadioButtonset to TRUE to only set the property only on the radio button in question; otherwise it will set the property on all other radio buttons in its group just to be sure they are consistent.

Implemented in nsHTMLInputElement.

Let this radio button know that it is about to be removed from the radio group it is currently in (the relevant properties should not have changed yet).

Implemented in nsHTMLInputElement.


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