.TH "DOM::HTMLOptionElement" kde3 "11 Jun 2005" "Version Version 3.4.1" "khtml Library" \" -*- nroff -*-
.ad l
.nh
.SH NAME
DOM::HTMLOptionElement \- A selectable choice.  

.PP
.SH SYNOPSIS
.br
.PP
\fC#include <html_form.h>\fP
.PP
Inherits \fBDOM::HTMLElement\fP.
.PP
.SS "Public Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLOptionElement\fP (const \fBHTMLOptionElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLOptionElement\fP (const \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBHTMLOptionElement\fP & \fBoperator=\fP (const \fBHTMLOptionElement\fP &other)"
.br
.ti -1c
.RI "\fBHTMLOptionElement\fP & \fBoperator=\fP (const \fBNode\fP &other)"
.br
.ti -1c
.RI "\fBHTMLFormElement\fP \fBform\fP () const "
.br
.ti -1c
.RI "bool \fBdefaultSelected\fP () const "
.br
.ti -1c
.RI "void \fBsetDefaultSelected\fP (bool)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBtext\fP () const "
.br
.ti -1c
.RI "long \fBindex\fP () const "
.br
.ti -1c
.RI "void \fBsetIndex\fP (long)"
.br
.ti -1c
.RI "bool \fBdisabled\fP () const "
.br
.ti -1c
.RI "void \fBsetDisabled\fP (bool)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBlabel\fP () const "
.br
.ti -1c
.RI "void \fBsetLabel\fP (const \fBDOMString\fP &)"
.br
.ti -1c
.RI "bool \fBselected\fP () const "
.br
.ti -1c
.RI "void \fBsetSelected\fP (bool)"
.br
.ti -1c
.RI "\fBDOMString\fP \fBvalue\fP () const "
.br
.ti -1c
.RI "void \fBsetValue\fP (const \fBDOMString\fP &)"
.br
.in -1c
.SS "Protected Member Functions"

.in +1c
.ti -1c
.RI "\fBHTMLOptionElement\fP (HTMLOptionElementImpl *impl)"
.br
.in -1c
.SH "Detailed Description"
.PP 
A selectable choice. 

See the \fCOPTION element definition \fP in HTML 4.0. 
.PP
Definition at line 1157 of file html_form.h.
.SH "Member Function Documentation"
.PP 
.SS "\fBHTMLFormElement\fP HTMLOptionElement::form () const"
.PP
### \fBKDE\fP 4.0: remove 
.PP
Reimplemented from \fBDOM::Element\fP.
.PP
Definition at line 1087 of file html_form.cpp.
.PP
References DOM::Element::form().
.SS "bool HTMLOptionElement::defaultSelected () const"
.PP
Stores the initial value of the \fCselected\fP attribute. 
.PP
Definition at line 1092 of file html_form.cpp.
.PP
References DOM::Element::getAttribute(), and DOM::DOMString::isNull().
.SS "void HTMLOptionElement::setDefaultSelected (bool)"
.PP
see defaultSelected 
.PP
Definition at line 1098 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLOptionElement::text () const"
.PP
The text contained within the option element. 
.PP
Definition at line 1103 of file html_form.cpp.
.SS "long HTMLOptionElement::index () const"
.PP
The index of this \fCOPTION\fP in its parent \fCSELECT\fP . 
.PP
Reimplemented from \fBDOM::Node\fP.
.PP
Definition at line 1109 of file html_form.cpp.
.SS "void HTMLOptionElement::setIndex (long)"
.PP
see index 
.PP
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) 
.PP
Definition at line 1115 of file html_form.cpp.
.SS "bool HTMLOptionElement::disabled () const"
.PP
The control is unavailable in this context. 
.PP
See the \fCdisabled attribute definition \fP in HTML 4.0. 
.PP
Definition at line 1120 of file html_form.cpp.
.PP
References DOM::DOMString::isNull().
.SS "void HTMLOptionElement::setDisabled (bool)"
.PP
see disabled 
.PP
Definition at line 1126 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLOptionElement::label () const"
.PP
Option label for use in hierarchical menus. 
.PP
See the \fClabel attribute definition \fP in HTML 4.0. 
.PP
Definition at line 1131 of file html_form.cpp.
.SS "void HTMLOptionElement::setLabel (const \fBDOMString\fP &)"
.PP
see label 
.PP
Definition at line 1137 of file html_form.cpp.
.PP
References value().
.SS "bool HTMLOptionElement::selected () const"
.PP
Means that this option is initially selected. 
.PP
See the \fCselected attribute definition \fP in HTML 4.0. 
.PP
Definition at line 1142 of file html_form.cpp.
.SS "void HTMLOptionElement::setSelected (bool)"
.PP
see selected 
.PP
Definition at line 1148 of file html_form.cpp.
.SS "\fBDOMString\fP HTMLOptionElement::value () const"
.PP
The current form control value. 
.PP
See the \fCvalue attribute definition \fP in HTML 4.0. 
.PP
Definition at line 1153 of file html_form.cpp.
.PP
Referenced by setLabel(), and setValue().
.SS "void HTMLOptionElement::setValue (const \fBDOMString\fP &)"
.PP
see value 
.PP
Definition at line 1159 of file html_form.cpp.
.PP
References DOM::DOMString::implementation(), and value().

.SH "Author"
.PP 
Generated automatically by Doxygen for khtml Library from the source code.
