org.kde.koala

Class HTMLOptionElement

public class HTMLOptionElement extends HTMLElement

A selectable choice. See the OPTION element definition in HTML 4.0.

UNKNOWN: A selectable choice.

Constructor Summary
protected HTMLOptionElement(Class dummy)
HTMLOptionElement()
HTMLOptionElement(HTMLOptionElement other)
HTMLOptionElement(Node other)
Method Summary
booleandefaultSelected()
Stores the initial value of the selected attribute.
booleandisabled()
The control is unavailable in this context.
HTMLFormElementformElement()
### KDE 4.0: remove
longindex()
The index of this OPTION in its parent SELECT .
Stringlabel()
Option label for use in hierarchical menus.
booleanselected()
Means that this option is initially selected.
voidsetDefaultSelected(boolean arg1)
see defaultSelected
voidsetDisabled(boolean arg1)
see disabled
voidsetIndex(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)
voidsetLabel(String arg1)
see label
voidsetSelected(boolean arg1)
see selected
voidsetValue(String arg1)
see value
Stringtext()
The text contained within the option element.
Stringvalue()
The current form control value.

Constructor Detail

HTMLOptionElement

protected HTMLOptionElement(Class dummy)

HTMLOptionElement

public HTMLOptionElement()

HTMLOptionElement

public HTMLOptionElement(HTMLOptionElement other)

HTMLOptionElement

public HTMLOptionElement(Node other)

Method Detail

defaultSelected

public boolean defaultSelected()
Stores the initial value of the selected attribute.

UNKNOWN: Stores the initial value of the selected attribute.

disabled

public boolean disabled()
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.

UNKNOWN: The control is unavailable in this context.

formElement

public HTMLFormElement formElement()
### KDE 4.0: remove

UNKNOWN: ### KDE 4.

index

public long index()
The index of this OPTION in its parent SELECT .

UNKNOWN: The index of this OPTION in its parent SELECT .

label

public String label()
Option label for use in hierarchical menus. See the label attribute definition in HTML 4.0.

UNKNOWN: Option label for use in hierarchical menus.

selected

public boolean selected()
Means that this option is initially selected. See the selected attribute definition in HTML 4.0.

UNKNOWN: Means that this option is initially selected.

setDefaultSelected

public void setDefaultSelected(boolean arg1)
see defaultSelected

UNKNOWN: see defaultSelected

setDisabled

public void setDisabled(boolean arg1)
see disabled

UNKNOWN: see disabled

setIndex

public 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)

UNKNOWN: see index

setLabel

public void setLabel(String arg1)
see label

UNKNOWN: see label

setSelected

public void setSelected(boolean arg1)
see selected

UNKNOWN: see selected

setValue

public void setValue(String arg1)
see value

UNKNOWN: see value

text

public String text()
The text contained within the option element.

UNKNOWN: The text contained within the option element.

value

public String value()
The current form control value. See the value attribute definition in HTML 4.0.

UNKNOWN: The current form control value.