Back to index

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

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

#include <nsIRadioVisitor.h>

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

List of all members.

Public Member Functions

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

Detailed Description

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

Definition at line 54 of file nsIRadioVisitor.h.


Member Function Documentation

NS_IMETHOD nsIRadioVisitor::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.

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

Implemented in nsRadioGetCheckedChangedVisitor, nsRadioSetCheckedChangedVisitor, and nsRadioVisitor.

Here is the caller graph for this function:


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