org.w3c.dom.html.HTMLOptionElement , org.apache.xerces.dom.ElementImpl
| Modifier and Type | Field and Description |
|---|---|
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | HTMLOptionElementImpl(HTMLDocumentImpl
The owner HTML document owner, String name)Constructor requires owner document. |
| Modifier and Type | Method and Description |
|---|---|
| public boolean | getDefaultSelected()
Implements org. |
| public boolean | getDisabled()
Implements org. |
| public int | getIndex()
Implements org. OPTION in its parent SELECT
, starting from 0.
|
| public String | getLabel()
Implements org. |
| public boolean | getSelected()
Implements org. |
| public String | getText()
Implements org. |
| public String | |
| public void | setDefaultSelected(boolean defaultSelected)
Implements org. |
| public void | |
| public void | |
| public void | |
| public void | |
| public void | |
| public void |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| HTMLOptionElementImpl | back to summary |
|---|---|
| public HTMLOptionElementImpl(HTMLDocumentImpl owner, String name) Constructor requires owner document.
| |
| getDefaultSelected | back to summary |
|---|---|
| public boolean getDefaultSelected() Implements org. Doc from org. Represents the value of the HTML selected attribute. The value of this
attribute does not change if the state of the corresponding form
control, in an interactive user agent, changes. Changing
| |
| 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. | |
| getIndex | back to summary |
|---|---|
| public int getIndex() Implements org. Doc from org. The index of this | |
| getLabel | back to summary |
|---|---|
| public String getLabel() Implements org. Doc from org. Option label for use in hierarchical menus. See the label attribute definition in HTML 4.0. | |
| getSelected | back to summary |
|---|---|
| public boolean getSelected() Implements org. Doc from org. Represents the current state of the corresponding form control, in an interactive user agent. Changing this attribute changes the state of the form control, but does not change the value of the HTML selected attribute of the element. | |
| getText | back to summary |
|---|---|
| public String getText() Implements org. Doc from org. The text contained within the option element. | |
| getValue | back to summary |
|---|---|
| public String getValue() Implements org. Doc from org. The current form control value. See the value attribute definition in HTML 4.0. | |
| setDefaultSelected | back to summary |
|---|---|
| public void setDefaultSelected(boolean defaultSelected) Implements org. | |
| setDisabled | back to summary |
|---|---|
| public void setDisabled(boolean disabled) Implements org. | |
| setIndex | back to summary |
|---|---|
| public void setIndex(int index) | |
| setLabel | back to summary |
|---|---|
| public void setLabel(String label) Implements org. | |
| setSelected | back to summary |
|---|---|
| public void setSelected(boolean selected) Implements org. | |
| setText | back to summary |
|---|---|
| public void setText(String text) | |
| setValue | back to summary |
|---|---|
| public void setValue(String value) Implements org. | |