org.enhydra.xml.lazydom.html
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.xml.lazydom.LazyElementNoNS
|
+--org.enhydra.xml.lazydom.html.LazyHTMLElement
|
+--org.enhydra.xml.lazydom.html.HTMLOptionElementImpl
- All Implemented Interfaces:
- Cloneable, Element, EventTarget, HTMLElement, HTMLOptionElement, LazyElement, LazyNode, LazyParent, Node, NodeList, PreFormattedText, Serializable
- public class HTMLOptionElementImpl
- extends LazyHTMLElement
- implements HTMLOptionElement
- Version:
- $Revision: 1.1.1.1 $ $Date: 2003/03/10 16:34:27 $
- Author:
- Assaf Arkin
- See Also:
HTMLOptionElement
,
LazyElementNoNS
,
Serialized Form
Fields inherited from class org.enhydra.apache.xerces.dom.ElementImpl |
attributes, name |
Fields inherited from class org.enhydra.apache.xerces.dom.ParentNode |
fCachedChild, fCachedChildIndex, fCachedLength, firstChild, ownerDocument |
Fields inherited from class org.enhydra.apache.xerces.dom.ChildNode |
nextSibling, previousSibling |
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.xml.lazydom.html.LazyHTMLElement |
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.xml.lazydom.LazyElementNoNS |
appendChild, appendChildWhileExpanding, areAttributesExpanded, areChildrenExpanded, cloneNode, getAttributes, getChildNodes, getFirstChild, getLastChild, getNextSibling, getNodeId, getParentNode, getPreFormattedText, getPreviousSibling, getTemplateElement, getTemplateNode, hasChildNodes, insertBefore, isParentExpanded, isTemplateNode, makeTemplateNode, makeTemplateNode, normalize, removeAttribute, removeAttributeNode, removeAttributeNS, removeChild, replaceChild, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setChildrenExpanded, setNodeValue, setParentExpanded, setParentWhileExpanding, setPreFormattedText, templateClone |
Methods inherited from class org.enhydra.apache.xerces.dom.ElementImpl |
getDefaultAttributes, getNodeName, getNodeType, getTagName, hasAttribute, hasAttributeNS, hasAttributes, reconcileDefaultAttributes, setReadOnly, setupDefaultAttributes, synchronizeData |
Methods inherited from class org.enhydra.apache.xerces.dom.ParentNode |
getChildNodesUnoptimized, getLength, getOwnerDocument, item, synchronizeChildren |
Methods inherited from class org.enhydra.apache.xerces.dom.ChildNode |
|
Methods inherited from class org.enhydra.apache.xerces.dom.NodeImpl |
addEventListener, changed, changes, dispatchEvent, getLocalName, getNamespaceURI, getNodeValue, getPrefix, getReadOnly, getUserData, isSupported, removeEventListener, 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(LazyHTMLDocument owner,
LazyElement template,
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-2002 enhydra.org (Mark Diekhans, David Li, Richard Kunze). All Rights reserved.