org.w3c.dom.html.HTMLSelectElement , org.apache.xerces.dom.ElementImpl
| Modifier and Type | Field and Description |
|---|---|
| private HTMLCollection | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | HTMLSelectElementImpl(HTMLDocumentImpl
The owner HTML document owner, String name)Constructor requires owner document. |
| Modifier and Type | Method and Description |
|---|---|
| public void | add(HTMLElement
The element to add. element, HTMLElement The element to insert before, or before)null for
the tail of the list.Implements org. OPTION elements
for this SELECT .
|
| public void | |
| public Node | cloneNode(boolean
If deep)true, recursively clone the subtree under
the specified node; if false, clone only the node
itself (and its attributes, if it is an Element).Overrides org. Implements org. |
| public void | |
| public NodeList | getChildNodes()
Overrides org. Implements org. |
| public boolean | getDisabled()
Implements org. |
| public int | getLength()
Overrides org. Implements org. SELECT .
|
| public boolean | getMultiple()
Implements org. OPTION elements may be selected in
this SELECT .
|
| public String | getName()
Implements org. |
| public HTMLCollection | getOptions()
Implements org. OPTION elements contained by this
element.
|
| public int | getSelectedIndex()
Implements org. |
| public int | |
| public int | getTabIndex()
Implements org. |
| public String | |
| public String | |
| public void | remove(int
The index of the item to remove, starting from 0. index)Implements org. OPTION elements
for this SELECT .
|
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| _options | back to summary |
|---|---|
| private HTMLCollection _options | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HTMLSelectElementImpl | back to summary |
|---|---|
| public HTMLSelectElementImpl(HTMLDocumentImpl owner, String name) Constructor requires owner document.
| |
| add | back to summary |
|---|---|
| public void add(HTMLElement element, HTMLElement before) Implements org. Doc from org. Add a new element to the collection of
| |
| blur | back to summary |
|---|---|
| public void blur() Implements org. Doc from org. Removes keyboard focus from this element. | |
| cloneNode | back to summary |
|---|---|
| public Node cloneNode(boolean deep) Overrides org. Implements org. Explicit implementation of cloneNode() to ensure that cache used for getOptions() gets cleared.
| |
| focus | back to summary |
|---|---|
| public void focus() Implements org. Doc from org. Gives keyboard focus to this element. | |
| getChildNodes | back to summary |
|---|---|
| public NodeList getChildNodes() Overrides org. Implements org. Explicit implementation of getChildNodes() to avoid problems with overriding the getLength() method hidden in the super class. | |
| getDisabled | back to summary |
|---|---|
| public boolean getDisabled() Implements org. Doc from org. The control is unavailable in this context. See the disabled attribute definition in HTML 4.0. | |
| getLength | back to summary |
|---|---|
| public int getLength() Overrides org. Implements org. Doc from org. The number of options in this
| |
| getMultiple | back to summary |
|---|---|
| public boolean getMultiple() Implements org. Doc from org. If true, multiple | |
| getName | back to summary |
|---|---|
| public String getName() Implements org. Doc from org. Form control or object name when submitted with a form. See the name attribute definition in HTML 4.0. | |
| getOptions | back to summary |
|---|---|
| public HTMLCollection getOptions() Implements org. Doc from org. The collection of | |
| getSelectedIndex | back to summary |
|---|---|
| public int getSelectedIndex() Implements org. Doc from org. The ordinal index of the selected option, starting from 0. The value -1 is returned if no element is selected. If multiple options are selected, the index of the first selected option is returned. | |
| getSize | back to summary |
|---|---|
| public int getSize() Implements org. Doc from org. Number of visible rows. See the size attribute definition in HTML 4.0. | |
| getTabIndex | back to summary |
|---|---|
| public int getTabIndex() Implements org. Doc from org. Index that represents the element's position in the tabbing order. See the tabindex attribute definition in HTML 4.0. | |
| getType | back to summary |
|---|---|
| public String getType() Implements org. Doc from org. The type of this form control. This is the string "select-multiple"
when the multiple attribute is | |
| getValue | back to summary |
|---|---|
| public String getValue() Implements org. Doc from org. The current form control value. | |
| remove | back to summary |
|---|---|
| public void remove(int index) Implements org. Doc from org. Remove an element from the collection of
| |
| setDisabled | back to summary |
|---|---|
| public void setDisabled(boolean disabled) Implements org. | |
| setMultiple | back to summary |
|---|---|
| public void setMultiple(boolean multiple) Implements org. | |
| setName | back to summary |
|---|---|
| public void setName(String name) Implements org. | |
| setSelectedIndex | back to summary |
|---|---|
| public void setSelectedIndex(int selectedIndex) Implements org. | |
| setSize | back to summary |
|---|---|
| public void setSize(int size) Implements org. | |
| setTabIndex | back to summary |
|---|---|
| public void setTabIndex(int tabIndex) Implements org. | |
| setValue | back to summary |
|---|---|
| public void setValue(String value) Implements org. | |