DOM::HTMLOptionElement Class Reference
A selectable choice. More...
#include <html_form.h>
Inheritance diagram for DOM::HTMLOptionElement:


| Public Member Functions | |
| HTMLOptionElement (const HTMLOptionElement &other) | |
| HTMLOptionElement (const Node &other) | |
| HTMLOptionElement & | operator= (const HTMLOptionElement &other) | 
| HTMLOptionElement & | operator= (const Node &other) | 
| HTMLFormElement | form () const | 
| bool | defaultSelected () const | 
| void | setDefaultSelected (bool) | 
| DOMString | text () const | 
| long | index () const | 
| void | setIndex (long) | 
| bool | disabled () const | 
| void | setDisabled (bool) | 
| DOMString | label () const | 
| void | setLabel (const DOMString &) | 
| bool | selected () const | 
| void | setSelected (bool) | 
| DOMString | value () const | 
| void | setValue (const DOMString &) | 
| Protected Member Functions | |
| HTMLOptionElement (HTMLOptionElementImpl *impl) | |
Detailed Description
A selectable choice.See the OPTION element definition in HTML 4.0.
Definition at line 1158 of file html_form.h.
Member Function Documentation
| 
 | 
| ### KDE 4.0: remove 
 Reimplemented from DOM::Element. Definition at line 1086 of file html_form.cpp. | 
| 
 | 
| 
Stores the initial value of the  
 Definition at line 1091 of file html_form.cpp. | 
| 
 | 
| see defaultSelected 
 Definition at line 1097 of file html_form.cpp. | 
| 
 | 
| The text contained within the option element. 
 Definition at line 1102 of file html_form.cpp. | 
| 
 | 
| 
The index of this  
 Reimplemented from DOM::Node. Definition at line 1108 of file html_form.cpp. | 
| 
 | 
| see index This function is obsolete - the index property is actually supposed to be read-only (http://www.w3.org/DOM/updates/REC-DOM-Level-1-19981001-errata.html) Definition at line 1114 of file html_form.cpp. | 
| 
 | 
| The control is unavailable in this context. See the disabled attribute definition in HTML 4.0. Definition at line 1119 of file html_form.cpp. | 
| 
 | 
| see disabled 
 Definition at line 1125 of file html_form.cpp. | 
| 
 | 
| Option label for use in hierarchical menus. See the label attribute definition in HTML 4.0. Definition at line 1130 of file html_form.cpp. | 
| 
 | 
| see label 
 Definition at line 1136 of file html_form.cpp. | 
| 
 | 
| Means that this option is initially selected. See the selected attribute definition in HTML 4.0. Definition at line 1141 of file html_form.cpp. | 
| 
 | 
| see selected 
 Definition at line 1147 of file html_form.cpp. | 
| 
 | 
| The current form control value. See the value attribute definition in HTML 4.0. Definition at line 1152 of file html_form.cpp. | 
| 
 | 
| see value 
 Definition at line 1158 of file html_form.cpp. References DOM::DOMString::implementation(). | 
The documentation for this class was generated from the following files:

