|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.kde.koala.Node
org.kde.koala.Element
org.kde.koala.HTMLElement
org.kde.koala.HTMLOptionElement
public class HTMLOptionElement
A selectable choice. See the OPTION element definition in HTML 4.0.
Constructor Summary | |
---|---|
|
HTMLOptionElement()
|
protected |
HTMLOptionElement(java.lang.Class dummy)
|
|
HTMLOptionElement(HTMLOptionElement other)
|
|
HTMLOptionElement(Node other)
|
Method Summary | |
---|---|
boolean |
defaultSelected()
Stores the initial value of the selected
attribute. |
boolean |
disabled()
The control is unavailable in this context. |
HTMLFormElement |
formElement()
### KDE 4.0: remove |
long |
index()
The index of this OPTION in its parent
SELECT . |
java.lang.String |
label()
Option label for use in hierarchical menus. |
boolean |
selected()
Means that this option is initially selected. |
void |
setDefaultSelected(boolean arg1)
see defaultSelected |
void |
setDisabled(boolean arg1)
see disabled |
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) |
void |
setLabel(java.lang.String arg1)
see label |
void |
setSelected(boolean arg1)
see selected |
void |
setValue(java.lang.String arg1)
see value |
java.lang.String |
text()
The text contained within the option element. |
java.lang.String |
value()
The current form control value. |
Methods inherited from class org.kde.koala.HTMLElement |
---|
addCSSProperty, all, assignOther, children, className, dir, id, innerHTML, innerText, lang, removeCSSProperty, setClassName, setDir, setId, setInnerHTML, setInnerText, setLang, setTitle, title |
Methods inherited from class org.kde.koala.Node |
---|
addEventListener, appendChild, applyChanges, attributes, childNodes, cloneNode, dispatchEvent, elementId, firstChild, getRect, hasAttributes, hasChildNodes, insertBefore, isNull, isSupported, lastChild, localName, namespaceURI, nextSibling, nodeName, nodeType, nodeValue, normalize, op_equals, op_not_equals, ownerDocument, parentNode, prefix, previousSibling, removeChild, removeEventListener, replaceChild, setNodeValue, setPrefix |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected HTMLOptionElement(java.lang.Class dummy)
public HTMLOptionElement()
public HTMLOptionElement(HTMLOptionElement other)
public HTMLOptionElement(Node other)
Method Detail |
---|
public HTMLFormElement formElement()
public boolean defaultSelected()
selected
attribute.
public void setDefaultSelected(boolean arg1)
public java.lang.String text()
public long index()
OPTION
in its parent
SELECT
.
index
in class Node
public void setIndex(long arg1)
public boolean disabled()
public void setDisabled(boolean arg1)
public java.lang.String label()
public void setLabel(java.lang.String arg1)
public boolean selected()
public void setSelected(boolean arg1)
public java.lang.String value()
public void setValue(java.lang.String arg1)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |