Back to index
|NS_DECL_ISUPPORTS NS_IMETHOD||Visit (nsIFormControl *aRadio, PRBool *aStop)=0|
|Visit a node in the tree. |
|NS_DECL_ISUPPORTS NS_IMETHOD nsRadioVisitor::Visit||(||nsIFormControl *||aRadio,|
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.
|aRadio||the radio button in question (must be nsnull and QI'able to nsIRadioControlElement)|
|aStop||whether or not to stop iterating (out-param)|