org.kde.koala

Class HTMLSelectElement

public class HTMLSelectElement extends HTMLElement

The select element allows the selection of an option. The contained options can be directly accessed through the select element as a collection. See the SELECT element definition in HTML 4.0.

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
voidadd(HTMLElement element, HTMLElement before)
Add a new element to the collection of OPTION elements for this SELECT .
voidblur()
Removes keyboard focus from this element.
booleandisabled()
The control is unavailable in this context.
voidfocus()
Gives keyboard focus to this element.
HTMLFormElementformElement()
### KDE 4.0: remove.
longlength()
The number of options in this SELECT .
booleanmultiple()
If true, multiple OPTION elements may be selected in this SELECT .
Stringname()
Form control or object name when submitted with a form.
HTMLCollectionoptions()
The collection of OPTION elements contained by this element.
voidremove(long index)
Remove an element from the collection of OPTION elements for this SELECT .
longselectedIndex()
The ordinal index of the selected option.
voidsetDisabled(boolean arg1)
see disabled
voidsetMultiple(boolean arg1)
see multiple
voidsetName(String arg1)
see name
voidsetSelectedIndex(long arg1)
see selectedIndex
voidsetSize(long arg1)
see size
voidsetTabIndex(long arg1)
see tabIndex
voidsetValue(String arg1)
see value
longsize()
Number of visible rows.
longtabIndex()
Index that represents the element's position in the tabbing order.
Stringtype()
The type of control created.
Stringvalue()
The current form control value.

Constructor Detail

HTMLSelectElement

protected HTMLSelectElement(Class dummy)

HTMLSelectElement

public HTMLSelectElement()

HTMLSelectElement

public HTMLSelectElement(HTMLSelectElement other)

HTMLSelectElement

public HTMLSelectElement(Node other)

Method Detail

add

public void add(HTMLElement element, HTMLElement before)
Add a new element to the collection of 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 .

blur

public void blur()
Removes keyboard focus from this element.

UNKNOWN: Removes keyboard focus from this element.

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.

focus

public void focus()
Gives keyboard focus to this element.

UNKNOWN: Gives keyboard focus to this element.

formElement

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

UNKNOWN: ### KDE 4.

length

public long length()
The number of options in this SELECT .

UNKNOWN: The number of options in this SELECT .

multiple

public boolean multiple()
If true, multiple 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 .

name

public String name()
Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0.

UNKNOWN: Form control or object name when submitted with a form.

options

public HTMLCollection options()
The collection of OPTION elements contained by this element.

UNKNOWN: The collection of OPTION elements contained by this element.

remove

public void remove(long index)
Remove an element from the collection of 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 .

selectedIndex

public long selectedIndex()
The ordinal index of the selected option. The value -1 is returned if no element is selected. If multiple options are selected, the index of the first selected option is returned.

UNKNOWN: The ordinal index of the selected option.

setDisabled

public void setDisabled(boolean arg1)
see disabled

UNKNOWN: see disabled

setMultiple

public void setMultiple(boolean arg1)
see multiple

UNKNOWN: see multiple

setName

public void setName(String arg1)
see name

UNKNOWN: see name

setSelectedIndex

public void setSelectedIndex(long arg1)
see selectedIndex

UNKNOWN: see selectedIndex

setSize

public void setSize(long arg1)
see size

UNKNOWN: see size

setTabIndex

public void setTabIndex(long arg1)
see tabIndex

UNKNOWN: see tabIndex

setValue

public void setValue(String arg1)
see value

UNKNOWN: see value

size

public long size()
Number of visible rows. See the size attribute definition in HTML 4.0.

UNKNOWN: Number of visible rows.

tabIndex

public long tabIndex()
Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0.

UNKNOWN: Index that represents the element's position in the tabbing order.

type

public String type()
The type of control created.

UNKNOWN: The type of control created.

value

public String value()
The current form control value.

UNKNOWN: The current form control value.