org.enhydra.apache.html.dom
Class HTMLOptionElementImpl
java.lang.Object
|
+--org.enhydra.apache.xerces.dom.NodeImpl
|
+--org.enhydra.apache.xerces.dom.ChildNode
|
+--org.enhydra.apache.xerces.dom.ParentNode
|
+--org.enhydra.apache.xerces.dom.ElementImpl
|
+--org.enhydra.apache.html.dom.HTMLElementImpl
|
+--org.enhydra.apache.html.dom.HTMLOptionElementImpl
- All Implemented Interfaces:
- Cloneable, Element, EventTarget, HTMLElement, HTMLOptionElement, Node, NodeList, Serializable
- public class HTMLOptionElementImpl
- extends HTMLElementImpl
- implements HTMLOptionElement
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/03/10 16:34:27 $
- Author:
- Assaf Arkin
- See Also:
HTMLOptionElement
,
ElementImpl
,
Serialized Form
Fields inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
ELEMENT_DEFINITION_NODE, FIRSTCHILD, flags, HASSTRING, IGNORABLEWS, OWNED, ownerNode, READONLY, SPECIFIED, SYNCCHILDREN, SYNCDATA, UNNORMALIZED |
Fields inherited from interface org.w3c.dom.Node |
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODE |
Methods inherited from class org.enhydra.apache.html.dom.HTMLElementImpl |
capitalize, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBinary, getCapitalized, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getInteger, getLang, getTitle, setAttribute, setClassName, setDir, setId, setLang, setTitle |
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl |
cloneNode, getAttributes, getDefaultAttributes, getNodeName, getNodeType, getTagName, hasAttribute, hasAttributeNS, hasAttributes, normalize, reconcileDefaultAttributes, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setReadOnly, setupDefaultAttributes, synchronizeData |
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode |
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, hasChildNodes, insertBefore, item, removeChild, replaceChild, synchronizeChildren |
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
addEventListener, appendChild, changed, changes, dispatchEvent, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, isSupported, removeEventListener, setNodeValue, setPrefix, setUserData, toString |
Methods inherited from interface org.w3c.dom.Element |
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS |
Methods inherited from interface org.w3c.dom.Node |
appendChild, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, hasAttributes, hasChildNodes, insertBefore, isSupported, normalize, removeChild, replaceChild, setNodeValue, setPrefix |
HTMLOptionElementImpl
public HTMLOptionElementImpl(HTMLDocumentImpl owner,
String name)
- Constructor requires owner document.
- Parameters:
owner
- The owner HTML document
getDefaultSelected
public boolean getDefaultSelected()
- Specified by:
getDefaultSelected
in interface HTMLOptionElement
setDefaultSelected
public void setDefaultSelected(boolean defaultSelected)
- Specified by:
setDefaultSelected
in interface HTMLOptionElement
getText
public String getText()
- Specified by:
getText
in interface HTMLOptionElement
setText
public void setText(String text)
getIndex
public int getIndex()
- Specified by:
getIndex
in interface HTMLOptionElement
setIndex
public void setIndex(int index)
getDisabled
public boolean getDisabled()
- Specified by:
getDisabled
in interface HTMLOptionElement
setDisabled
public void setDisabled(boolean disabled)
- Specified by:
setDisabled
in interface HTMLOptionElement
getLabel
public String getLabel()
- Specified by:
getLabel
in interface HTMLOptionElement
setLabel
public void setLabel(String label)
- Specified by:
setLabel
in interface HTMLOptionElement
getSelected
public boolean getSelected()
- Specified by:
getSelected
in interface HTMLOptionElement
setSelected
public void setSelected(boolean selected)
- Specified by:
setSelected
in interface HTMLOptionElement
getValue
public String getValue()
- Specified by:
getValue
in interface HTMLOptionElement
setValue
public void setValue(String value)
- Specified by:
setValue
in interface HTMLOptionElement
Copyright © 1999 The Apache Software Foundation. All Rights reserved.