Back to index

lightning-sunbird  0.9+nobinonly
Public Member Functions
nsRadioVisitor Class Reference
Inheritance diagram for nsRadioVisitor:
Inheritance graph
Collaboration diagram for nsRadioVisitor:
Collaboration graph

List of all members.

Public Member Functions

 nsRadioVisitor ()
virtual ~nsRadioVisitor ()
NS_DECL_ISUPPORTS NS_IMETHOD Visit (nsIFormControl *aRadio, PRBool *aStop)=0
 Visit a node in the tree.

Detailed Description

Definition at line 2984 of file nsHTMLInputElement.cpp.

Constructor & Destructor Documentation

Definition at line 2986 of file nsHTMLInputElement.cpp.

{ }
virtual nsRadioVisitor::~nsRadioVisitor ( ) [inline, virtual]

Definition at line 2987 of file nsHTMLInputElement.cpp.

{ };

Member Function Documentation

NS_DECL_ISUPPORTS NS_IMETHOD nsRadioVisitor::Visit ( nsIFormControl aRadio,
PRBool aStop 
) [pure virtual]

Visit a node in the tree.

This is meant to be called on all radios in a group, sequentially. (Each radio group implementor may define sequentially in their own way, it just has to be the same every time.) Currently all radio groups are ordered in the order they appear in the document. Radio group implementors should honor the aStop parameter and stop iterating over form controls when Visit() returns true there.

aRadiothe radio button in question (must be nsnull and QI'able to nsIRadioControlElement)
aStopwhether or not to stop iterating (out-param)

Implements nsIRadioVisitor.

Implemented in nsRadioGetCheckedChangedVisitor, and nsRadioSetCheckedChangedVisitor.

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