Back to index

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

This interface is used to notify a SELECT when OPTION elements are added and removed from its subtree. More...

#include <nsIOptionElement.h>

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

List of all members.

Public Member Functions

NS_IMETHOD SetSelectedInternal (PRBool aValue, PRBool aNotify)=0
 Select the option element from its own point of view.

Detailed Description

This interface is used to notify a SELECT when OPTION elements are added and removed from its subtree.

Note that the nsIDOMHTMLSelectElement and nsIContent interfaces are the ones to use to access and enumerate OPTIONs within a SELECT element.

Definition at line 56 of file nsIOptionElement.h.


Member Function Documentation

NS_IMETHOD nsIOptionElement::SetSelectedInternal ( PRBool  aValue,
PRBool  aNotify 
) [pure virtual]

Select the option element from its own point of view.

This should only be used by SelectElement, really. Everyone else is safe using GetSelected() on the DOMHTMLOptionElement, which goes through the <select> to make sure everything gets updated correctly.

Implemented in nsHTMLOptionElement.


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