Developer Resources
WebDOMHTMLOptionElement
Overview
The WebDOMHTMLOptionElement class represents an HTML option element.
Base Class
Constructor
- WebDOMHTMLOptionElement()
Methods
- WebDOMHTMLOptionElement.getDefaultSelected
- WebDOMHTMLOptionElement.getDisabled
- WebDOMHTMLOptionElement.getIndex
- WebDOMHTMLOptionElement.getLabel
- WebDOMHTMLOptionElement.getSelected
- WebDOMHTMLOptionElement.getText
- WebDOMHTMLOptionElement.setDefaultSelected
- WebDOMHTMLOptionElement.setDisabled
- WebDOMHTMLOptionElement.setLabel
- WebDOMHTMLOptionElement.setSelected
Inherited Methods
- WebDOMElement.getAttribute
- Gets the attribute of this element.
- WebDOMElement.getAttributeNode
- Gets the attribute node of this element.
- WebDOMElement.getElementsByTagName
- Gets an array of child elements having the specified tag name.
- WebDOMElement.getTagName
- Gets the tag name of this element.
- WebDOMElement.hasAttribute
- Returns true if the specified attribute exists, and false otherwise.
- WebDOMElement.removeAttribute
- Removes the specified attribute from this element.
- WebDOMElement.removeAttributeNode
- Removes the attribute node of this element.
- WebDOMElement.setAttribute
- Sets the attribute of this element to a specified value.
- WebDOMElement.setAttributeNode
- Sets the attribute node of this element.
- WebDOMHTMLElement.getClassName
- WebDOMHTMLElement.getDir
- WebDOMHTMLElement.getId
- Gets the element's id.
- WebDOMHTMLElement.getLang
- WebDOMHTMLElement.getTitle
- Gets the element's title.
- WebDOMHTMLElement.getValue
- Returns the current value of the node.
- WebDOMHTMLElement.setClassName
- WebDOMHTMLElement.setDir
- WebDOMHTMLElement.setId
- Sets the element's id.
- WebDOMHTMLElement.setLang
- WebDOMHTMLElement.setTitle
- Sets the element's title
- WebDOMHTMLElement.setValue
- Sets the current value of the node.
- WebDOMNode.appendChild
- Appends a child node to this node.
- WebDOMNode.cloneNode
- Clones this node.
- WebDOMNode.getAttributes
- Gets the attributes of this node.
- WebDOMNode.getChildNodes
- Gets the child nodes of this node.
- WebDOMNode.getFirstChild
- Gets the first child node of this node.
- WebDOMNode.getLastChild
- Gets the last child node of this node.
- WebDOMNode.getLocalName
- Returns the local name
- WebDOMNode.getNamespaceURI
- Returns the namespace URI
- WebDOMNode.getNextSibling
- Gets the next sibling node of this node.
- WebDOMNode.getNodeName
- Gets the name of this node.
- WebDOMNode.getNodeType
- Gets the type of this node.
- WebDOMNode.getNodeValue
- Gets the value of this node.
- WebDOMNode.getOwnerDocument
- Gets the document to which the node belongs.
- WebDOMNode.getParentNode
- Gets the parent node of this node.
- WebDOMNode.getPrefix
- Returns the prefix
- WebDOMNode.getPreviousSibling
- Gets the previous sibling node of this node.
- WebDOMNode.hasAttributes
- Returns true if this node has attributes, and false otherwise.
- WebDOMNode.hasChildNodes
- Returns true if this node has child nodes, and false otherwise.
- WebDOMNode.insertBefore
- Inserts a child node before another child node within this node's children.
- WebDOMNode.isSupported
- Determines if a feature in a particular version is supported.
- WebDOMNode.normalize
- Removes all empty text nodes and consolidates adjacent text nodes into a single node.
- WebDOMNode.removeChild
- Removes a child node from this node.
- WebDOMNode.replaceChild
- Replaces a child node of this node with another node.
- WebDOMNode.setNodeValue
- Sets the value of this node.
- WebDOMNode.setPrefix
- Sets the prefix
WebDOMHTMLOptionElement.getDefaultSelected
- WebDOMHTMLOptionElement.getDefaultSelected() : Boolean
WebDOMHTMLOptionElement.getDisabled
- WebDOMHTMLOptionElement.getDisabled() : Boolean
WebDOMHTMLOptionElement.getIndex
- WebDOMHTMLOptionElement.getIndex() : Integer
WebDOMHTMLOptionElement.getLabel
- WebDOMHTMLOptionElement.getLabel() : String
WebDOMHTMLOptionElement.getSelected
- WebDOMHTMLOptionElement.getSelected() : Boolean
WebDOMHTMLOptionElement.getText
- WebDOMHTMLOptionElement.getText() : String
WebDOMHTMLOptionElement.setDefaultSelected
- WebDOMHTMLOptionElement.setDefaultSelected(value : Boolean)
Arguments
- value
WebDOMHTMLOptionElement.setDisabled
- WebDOMHTMLOptionElement.setDisabled(value : Boolean)
Arguments
- value
WebDOMHTMLOptionElement.setLabel
- WebDOMHTMLOptionElement.setLabel(value : String)
Arguments
- value
WebDOMHTMLOptionElement.setSelected
- WebDOMHTMLOptionElement.setSelected(value : Boolean)
Arguments
- value