org.kde.koala
public class HTMLSelectElement extends HTMLElement
UNKNOWN: The select element allows the selection of an option.
| Constructor Summary | |
|---|---|
| protected | HTMLSelectElement(Class dummy) |
| HTMLSelectElement() | |
| HTMLSelectElement(HTMLSelectElement other) | |
| HTMLSelectElement(Node other) | |
| Method Summary | |
|---|---|
| void | add(HTMLElement element, HTMLElement before)
Add a new element to the collection of OPTION
elements for this SELECT . |
| void | blur()
Removes keyboard focus from this element. |
| boolean | disabled()
The control is unavailable in this context. |
| void | focus()
Gives keyboard focus to this element. |
| HTMLFormElement | formElement()
### KDE 4.0: remove. |
| long | length()
The number of options in this SELECT . |
| boolean | multiple()
If true, multiple OPTION elements may be
selected in this SELECT . |
| String | name()
Form control or object name when submitted with a form. |
| HTMLCollection | options()
The collection of OPTION elements contained by
this element. |
| void | remove(long index)
Remove an element from the collection of OPTION
elements for this SELECT . |
| long | selectedIndex()
The ordinal index of the selected option. |
| void | setDisabled(boolean arg1)
see disabled |
| void | setMultiple(boolean arg1)
see multiple |
| void | setName(String arg1)
see name |
| void | setSelectedIndex(long arg1)
see selectedIndex |
| void | setSize(long arg1)
see size |
| void | setTabIndex(long arg1)
see tabIndex |
| void | setValue(String arg1)
see value |
| long | size()
Number of visible rows. |
| long | tabIndex()
Index that represents the element's position in the tabbing
order. |
| String | type()
The type of control created. |
| String | value()
The current form control value. |
OPTION
elements for this SELECT .Parameters: element The element to add. before The element to insert before, or 0 for the tail of the list.
UNKNOWN: Add a new element to the collection of OPTION elements for this SELECT .
UNKNOWN: Removes keyboard focus from this element.
UNKNOWN: The control is unavailable in this context.
UNKNOWN: Gives keyboard focus to this element.
UNKNOWN: ### KDE 4.
SELECT .UNKNOWN: The number of options in this SELECT .
OPTION elements may be
selected in this SELECT . See the
multiple attribute definition in HTML 4.0.UNKNOWN: If true, multiple OPTION elements may be selected in this SELECT .
UNKNOWN: Form control or object name when submitted with a form.
OPTION elements contained by
this element.UNKNOWN: The collection of OPTION elements contained by this element.
OPTION
elements for this SELECT . Does nothing if no
element has the given index.Parameters: index The index of the item to remove.
UNKNOWN: Remove an element from the collection of OPTION elements for this SELECT .
UNKNOWN: The ordinal index of the selected option.
UNKNOWN: see disabled
UNKNOWN: see multiple
UNKNOWN: see name
UNKNOWN: see selectedIndex
UNKNOWN: see size
UNKNOWN: see tabIndex
UNKNOWN: see value
UNKNOWN: Number of visible rows.
UNKNOWN: Index that represents the element's position in the tabbing order.
UNKNOWN: The type of control created.
UNKNOWN: The current form control value.