#include <html_form.h>

Protected Member Functions | |
HTMLOptionElement (HTMLOptionElementImpl *impl) | |
![]() | |
HTMLElement (HTMLElementImpl *impl) | |
void | assignOther (const Node &other, int elementId) |
![]() | |
Element (ElementImpl *_impl) | |
Additional Inherited Members | |
![]() | |
enum | NodeType { ELEMENT_NODE = 1 , ATTRIBUTE_NODE = 2 , TEXT_NODE = 3 , CDATA_SECTION_NODE = 4 , ENTITY_REFERENCE_NODE = 5 , ENTITY_NODE = 6 , PROCESSING_INSTRUCTION_NODE = 7 , COMMENT_NODE = 8 , DOCUMENT_NODE = 9 , DOCUMENT_TYPE_NODE = 10 , DOCUMENT_FRAGMENT_NODE = 11 , NOTATION_NODE = 12 } |
![]() | |
static bool | tdehtmlValidAttrName (const DOMString &name) |
static bool | tdehtmlValidPrefix (const DOMString &name) |
static bool | tdehtmlValidQualifiedName (const DOMString &name) |
static bool | tdehtmlMalformedQualifiedName (const DOMString &name) |
static bool | tdehtmlMalformedPrefix (const DOMString &name) |
![]() | |
NodeImpl * | impl |
Detailed Description
A selectable choice.
See the OPTION element definition in HTML 4.0.
Definition at line 1269 of file html_form.h.
Constructor & Destructor Documentation
◆ HTMLOptionElement() [1/4]
HTMLOptionElement::HTMLOptionElement | ( | ) |
Definition at line 1153 of file html_form.cpp.
◆ HTMLOptionElement() [2/4]
HTMLOptionElement::HTMLOptionElement | ( | const HTMLOptionElement & | other | ) |
Definition at line 1157 of file html_form.cpp.
◆ HTMLOptionElement() [3/4]
|
inline |
Definition at line 1274 of file html_form.h.
◆ HTMLOptionElement() [4/4]
|
protected |
Definition at line 1161 of file html_form.cpp.
◆ ~HTMLOptionElement()
HTMLOptionElement::~HTMLOptionElement | ( | ) |
Definition at line 1177 of file html_form.cpp.
Member Function Documentation
◆ defaultSelected()
bool HTMLOptionElement::defaultSelected | ( | ) | const |
Stores the initial value of the selected
attribute.
Definition at line 1186 of file html_form.cpp.
◆ disabled()
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.
◆ form()
HTMLFormElement HTMLOptionElement::form | ( | ) | const |
KDE 4.0: remove
Definition at line 1181 of file html_form.cpp.
◆ index()
long HTMLOptionElement::index | ( | ) | const |
The index of this OPTION
in its parent SELECT
.
Definition at line 1203 of file html_form.cpp.
◆ label()
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.
◆ operator=() [1/2]
HTMLOptionElement & HTMLOptionElement::operator= | ( | const HTMLOptionElement & | other | ) |
Definition at line 1171 of file html_form.cpp.
◆ operator=() [2/2]
HTMLOptionElement & HTMLOptionElement::operator= | ( | const Node & | other | ) |
Definition at line 1165 of file html_form.cpp.
◆ selected()
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.
◆ setDefaultSelected()
void HTMLOptionElement::setDefaultSelected | ( | bool | _defaultSelected | ) |
see defaultSelected
Definition at line 1192 of file html_form.cpp.
◆ setDisabled()
void HTMLOptionElement::setDisabled | ( | bool | _disabled | ) |
see disabled
Definition at line 1220 of file html_form.cpp.
◆ setIndex()
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.
◆ setLabel()
void HTMLOptionElement::setLabel | ( | const DOMString & | value | ) |
see label
Definition at line 1231 of file html_form.cpp.
◆ setSelected()
void HTMLOptionElement::setSelected | ( | bool | _selected | ) |
see selected
Definition at line 1242 of file html_form.cpp.
◆ setValue()
void HTMLOptionElement::setValue | ( | const DOMString & | value | ) |
see value
Definition at line 1253 of file html_form.cpp.
◆ text()
DOMString HTMLOptionElement::text | ( | ) | const |
The text contained within the option element.
Definition at line 1197 of file html_form.cpp.
◆ value()
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.
The documentation for this class was generated from the following files: