Class HTMLOptionElementImpl
java.lang.Object
org.htmlunit.cyberneko.xerces.dom.NodeImpl
org.htmlunit.cyberneko.xerces.dom.ChildNode
org.htmlunit.cyberneko.xerces.dom.ParentNode
org.htmlunit.cyberneko.xerces.dom.ElementImpl
org.htmlunit.cyberneko.html.dom.HTMLElementImpl
org.htmlunit.cyberneko.html.dom.HTMLOptionElementImpl
- All Implemented Interfaces:
Cloneable, Element, EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLOptionElement, Node, NodeList, TypeInfo
public class HTMLOptionElementImpl
extends HTMLElementImpl
implements org.w3c.dom.html.HTMLOptionElement
- See Also:
-
Field Summary
Fields inherited from class ElementImpl
attributes_, name_Fields inherited from class ParentNode
firstChild, fNodeListCache, ownerDocumentFields inherited from class ChildNode
nextSibling_, previousSibling_Fields inherited from class NodeImpl
DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_IS_CONTAINED, DOCUMENT_POSITION_PRECEDING, FIRSTCHILD, HASSTRING, ID, NORMALIZED, OWNED, ownerNode_, READONLY, SPECIFIED, SYNCCHILDRENFields inherited from interface Node
ATTRIBUTE_NODE, CDATA_SECTION_NODE, COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, DOCUMENT_NODE, DOCUMENT_POSITION_CONTAINED_BY, DOCUMENT_POSITION_CONTAINS, DOCUMENT_POSITION_DISCONNECTED, DOCUMENT_POSITION_FOLLOWING, DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC, DOCUMENT_POSITION_PRECEDING, DOCUMENT_TYPE_NODE, ELEMENT_NODE, ENTITY_NODE, ENTITY_REFERENCE_NODE, NOTATION_NODE, PROCESSING_INSTRUCTION_NODE, TEXT_NODEFields inherited from interface TypeInfo
DERIVATION_EXTENSION, DERIVATION_LIST, DERIVATION_RESTRICTION, DERIVATION_UNION -
Constructor Summary
ConstructorsConstructorDescriptionHTMLOptionElementImpl(HTMLDocumentImpl owner, String name) Constructor requires owner document. -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanintgetIndex()getLabel()booleangetText()getValue()voidsetDefaultSelected(boolean defaultSelected) voidsetDisabled(boolean disabled) voidvoidsetSelected(boolean selected) voidMethods inherited from class HTMLElementImpl
capitalize, getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getBinary, getCapitalized, getClassName, getDir, getElementsByTagName, getElementsByTagNameNS, getForm, getId, getInteger, getLang, getTitle, setAttribute, setClassName, setDir, setId, setLang, setTitleMethods inherited from class ElementImpl
cloneNode, getAttributes, getBaseURI, getNodeName, getNodeType, getSchemaTypeInfo, getTagName, getTypeName, getTypeNamespace, getXMLBaseAttribute, hasAttribute, hasAttributeNS, hasAttributes, isDerivedFrom, isEqualNode, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNS, setOwnerDocumentMethods inherited from class ParentNode
getChildNodes, getChildNodesUnoptimized, getFirstChild, getLastChild, getLength, getOwnerDocument, getTextContent, hasChildNodes, insertBefore, item, removeChild, replaceChild, setTextContent, synchronizeChildrenMethods inherited from class ChildNode
getNextSibling, getParentNode, getPreviousSiblingMethods inherited from class NodeImpl
addEventListener, appendChild, changed, changes, compareDocumentPosition, dispatchEvent, getFeature, getLocalName, getNamespaceURI, getNodeNumber, getNodeValue, getPrefix, getUserData, isDefaultNamespace, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, needsSyncChildren, normalize, removeEventListener, setNodeValue, setPrefix, setUserData, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Element
getAttribute, getAttributeNode, getAttributeNodeNS, getAttributeNS, getElementsByTagName, getElementsByTagNameNS, getSchemaTypeInfo, getTagName, hasAttribute, hasAttributeNS, removeAttribute, removeAttributeNode, removeAttributeNS, setAttribute, setAttributeNode, setAttributeNodeNS, setAttributeNS, setIdAttribute, setIdAttributeNode, setIdAttributeNSMethods inherited from interface org.w3c.dom.html.HTMLElement
getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitleMethods inherited from interface org.w3c.dom.html.HTMLOptionElement
getFormMethods inherited from interface Node
appendChild, cloneNode, compareDocumentPosition, getAttributes, getBaseURI, getChildNodes, getFeature, getFirstChild, getLastChild, getLocalName, getNamespaceURI, getNextSibling, getNodeName, getNodeType, getNodeValue, getOwnerDocument, getParentNode, getPrefix, getPreviousSibling, getTextContent, getUserData, hasAttributes, hasChildNodes, insertBefore, isDefaultNamespace, isEqualNode, isSameNode, isSupported, lookupNamespaceURI, lookupPrefix, normalize, removeChild, replaceChild, setNodeValue, setPrefix, setTextContent, setUserData
-
Constructor Details
-
HTMLOptionElementImpl
Constructor requires owner document.- Parameters:
owner- The owner HTML document
-
-
Method Details
-
getDefaultSelected
public boolean getDefaultSelected()- Specified by:
getDefaultSelectedin interfaceorg.w3c.dom.html.HTMLOptionElement
-
setDefaultSelected
public void setDefaultSelected(boolean defaultSelected) - Specified by:
setDefaultSelectedin interfaceorg.w3c.dom.html.HTMLOptionElement
-
getText
- Specified by:
getTextin interfaceorg.w3c.dom.html.HTMLOptionElement
-
getIndex
public int getIndex()- Specified by:
getIndexin interfaceorg.w3c.dom.html.HTMLOptionElement
-
getDisabled
public boolean getDisabled()- Specified by:
getDisabledin interfaceorg.w3c.dom.html.HTMLOptionElement
-
setDisabled
public void setDisabled(boolean disabled) - Specified by:
setDisabledin interfaceorg.w3c.dom.html.HTMLOptionElement
-
getLabel
- Specified by:
getLabelin interfaceorg.w3c.dom.html.HTMLOptionElement
-
setLabel
- Specified by:
setLabelin interfaceorg.w3c.dom.html.HTMLOptionElement
-
getSelected
public boolean getSelected()- Specified by:
getSelectedin interfaceorg.w3c.dom.html.HTMLOptionElement
-
setSelected
public void setSelected(boolean selected) - Specified by:
setSelectedin interfaceorg.w3c.dom.html.HTMLOptionElement
-
getValue
- Specified by:
getValuein interfaceorg.w3c.dom.html.HTMLOptionElement
-
setValue
- Specified by:
setValuein interfaceorg.w3c.dom.html.HTMLOptionElement
-