DOM::HTMLOptionElement Class Reference
#include <html_form.h>
Inheritance diagram for DOM::HTMLOptionElement:

Detailed Description
A selectable choice.See the OPTION element definition in HTML 4.0.
Definition at line 1269 of file html_form.h.
Public Member Functions | |
| HTMLOptionElement () | |
| HTMLOptionElement (const HTMLOptionElement &other) | |
| HTMLOptionElement (const Node &other) | |
| HTMLOptionElement & | operator= (const HTMLOptionElement &other) |
| HTMLOptionElement & | operator= (const Node &other) |
| ~HTMLOptionElement () | |
| 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) | |
Member Function Documentation
| HTMLFormElement HTMLOptionElement::form | ( | ) | const |
| bool HTMLOptionElement::defaultSelected | ( | ) | const |
| void HTMLOptionElement::setDefaultSelected | ( | bool | ) |
| DOMString HTMLOptionElement::text | ( | ) | const |
| long HTMLOptionElement::index | ( | ) | const |
The index of this OPTION in its parent SELECT .
Reimplemented from DOM::Node.
Definition at line 1203 of file html_form.cpp.
| void HTMLOptionElement::setIndex | ( | long | ) |
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 1209 of file html_form.cpp.
| bool HTMLOptionElement::disabled | ( | ) | const |
The control is unavailable in this context.
See the disabled attribute definition in HTML 4.0.
Definition at line 1214 of file html_form.cpp.
| void HTMLOptionElement::setDisabled | ( | bool | ) |
| DOMString HTMLOptionElement::label | ( | ) | const |
Option label for use in hierarchical menus.
See the label attribute definition in HTML 4.0.
Definition at line 1225 of file html_form.cpp.
| void HTMLOptionElement::setLabel | ( | const DOMString & | ) |
| bool HTMLOptionElement::selected | ( | ) | const |
Means that this option is initially selected.
See the selected attribute definition in HTML 4.0.
Definition at line 1236 of file html_form.cpp.
| void HTMLOptionElement::setSelected | ( | bool | ) |
| DOMString HTMLOptionElement::value | ( | ) | const |
The current form control value.
See the value attribute definition in HTML 4.0.
Definition at line 1247 of file html_form.cpp.
| void HTMLOptionElement::setValue | ( | const DOMString & | ) |
The documentation for this class was generated from the following files:

