org.kde.koala
public class HTMLOptionElement extends HTMLElement
UNKNOWN: A selectable choice.
| Constructor Summary | |
|---|---|
| protected | HTMLOptionElement(Class dummy) |
| HTMLOptionElement() | |
| HTMLOptionElement(HTMLOptionElement other) | |
| HTMLOptionElement(Node other) | |
| Method Summary | |
|---|---|
| boolean | defaultSelected()
Stores the initial value of the selected
attribute. |
| boolean | disabled()
The control is unavailable in this context. |
| HTMLFormElement | formElement()
### KDE 4.0: remove |
| long | index()
The index of this OPTION in its parent
SELECT . |
| String | label()
Option label for use in hierarchical menus. |
| boolean | selected()
Means that this option is initially selected. |
| void | setDefaultSelected(boolean arg1)
see defaultSelected |
| void | setDisabled(boolean arg1)
see disabled |
| void | setIndex(long arg1)
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) |
| void | setLabel(String arg1)
see label |
| void | setSelected(boolean arg1)
see selected |
| void | setValue(String arg1)
see value |
| String | text()
The text contained within the option element. |
| String | value()
The current form control value. |
selected
attribute.UNKNOWN: Stores the initial value of the selected attribute.
UNKNOWN: The control is unavailable in this context.
UNKNOWN: ### KDE 4.
OPTION in its parent
SELECT .UNKNOWN: The index of this OPTION in its parent SELECT .
UNKNOWN: Option label for use in hierarchical menus.
UNKNOWN: Means that this option is initially selected.
UNKNOWN: see defaultSelected
UNKNOWN: see disabled
UNKNOWN: see index
UNKNOWN: see label
UNKNOWN: see selected
UNKNOWN: see value
UNKNOWN: The text contained within the option element.
UNKNOWN: The current form control value.