org.w3c.dom.html
Interface HTMLOptGroupElement

All Superinterfaces:
Element sample code for org.w3c.dom.Element definition code for org.w3c.dom.Element , HTMLElement sample code for org.w3c.dom.html.HTMLElement definition code for org.w3c.dom.html.HTMLElement , Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node

public interface HTMLOptGroupElement
extends HTMLElement sample code for org.w3c.dom.html.HTMLElement definition code for org.w3c.dom.html.HTMLElement

Group options together in logical subdivisions. See the OPTGROUP element definition in HTML 4.0.

See also the Document Object Model (DOM) Level 2 Specification.


Field Summary
 
Fields inherited from interface org.w3c.dom.Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node
ATTRIBUTE_NODE sample code for org.w3c.dom.Node.ATTRIBUTE_NODE definition code for org.w3c.dom.Node.ATTRIBUTE_NODE , CDATA_SECTION_NODE sample code for org.w3c.dom.Node.CDATA_SECTION_NODE definition code for org.w3c.dom.Node.CDATA_SECTION_NODE , COMMENT_NODE sample code for org.w3c.dom.Node.COMMENT_NODE definition code for org.w3c.dom.Node.COMMENT_NODE , DOCUMENT_FRAGMENT_NODE sample code for org.w3c.dom.Node.DOCUMENT_FRAGMENT_NODE definition code for org.w3c.dom.Node.DOCUMENT_FRAGMENT_NODE , DOCUMENT_NODE sample code for org.w3c.dom.Node.DOCUMENT_NODE definition code for org.w3c.dom.Node.DOCUMENT_NODE , DOCUMENT_POSITION_CONTAINED_BY sample code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINED_BY definition code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINED_BY , DOCUMENT_POSITION_CONTAINS sample code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINS definition code for org.w3c.dom.Node.DOCUMENT_POSITION_CONTAINS , DOCUMENT_POSITION_DISCONNECTED sample code for org.w3c.dom.Node.DOCUMENT_POSITION_DISCONNECTED definition code for org.w3c.dom.Node.DOCUMENT_POSITION_DISCONNECTED , DOCUMENT_POSITION_FOLLOWING sample code for org.w3c.dom.Node.DOCUMENT_POSITION_FOLLOWING definition code for org.w3c.dom.Node.DOCUMENT_POSITION_FOLLOWING , DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC sample code for org.w3c.dom.Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC definition code for org.w3c.dom.Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC , DOCUMENT_POSITION_PRECEDING sample code for org.w3c.dom.Node.DOCUMENT_POSITION_PRECEDING definition code for org.w3c.dom.Node.DOCUMENT_POSITION_PRECEDING , DOCUMENT_TYPE_NODE sample code for org.w3c.dom.Node.DOCUMENT_TYPE_NODE definition code for org.w3c.dom.Node.DOCUMENT_TYPE_NODE , ELEMENT_NODE sample code for org.w3c.dom.Node.ELEMENT_NODE definition code for org.w3c.dom.Node.ELEMENT_NODE , ENTITY_NODE sample code for org.w3c.dom.Node.ENTITY_NODE definition code for org.w3c.dom.Node.ENTITY_NODE , ENTITY_REFERENCE_NODE sample code for org.w3c.dom.Node.ENTITY_REFERENCE_NODE definition code for org.w3c.dom.Node.ENTITY_REFERENCE_NODE , NOTATION_NODE sample code for org.w3c.dom.Node.NOTATION_NODE definition code for org.w3c.dom.Node.NOTATION_NODE , PROCESSING_INSTRUCTION_NODE sample code for org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE definition code for org.w3c.dom.Node.PROCESSING_INSTRUCTION_NODE , TEXT_NODE sample code for org.w3c.dom.Node.TEXT_NODE definition code for org.w3c.dom.Node.TEXT_NODE
 
Method Summary
 boolean getDisabled sample code for org.w3c.dom.html.HTMLOptGroupElement.getDisabled() definition code for org.w3c.dom.html.HTMLOptGroupElement.getDisabled() ()
          The control is unavailable in this context.
 String sample code for java.lang.String definition code for java.lang.String getLabel sample code for org.w3c.dom.html.HTMLOptGroupElement.getLabel() definition code for org.w3c.dom.html.HTMLOptGroupElement.getLabel() ()
          Assigns a label to this option group.
 void setDisabled sample code for org.w3c.dom.html.HTMLOptGroupElement.setDisabled(boolean) definition code for org.w3c.dom.html.HTMLOptGroupElement.setDisabled(boolean) (boolean disabled)
           
 void setLabel sample code for org.w3c.dom.html.HTMLOptGroupElement.setLabel(java.lang.String) definition code for org.w3c.dom.html.HTMLOptGroupElement.setLabel(java.lang.String) (String sample code for java.lang.String definition code for java.lang.String  label)
           
 
Methods inherited from interface org.w3c.dom.html.HTMLElement sample code for org.w3c.dom.html.HTMLElement definition code for org.w3c.dom.html.HTMLElement
getClassName sample code for org.w3c.dom.html.HTMLElement.getClassName() definition code for org.w3c.dom.html.HTMLElement.getClassName() , getDir sample code for org.w3c.dom.html.HTMLElement.getDir() definition code for org.w3c.dom.html.HTMLElement.getDir() , getId sample code for org.w3c.dom.html.HTMLElement.getId() definition code for org.w3c.dom.html.HTMLElement.getId() , getLang sample code for org.w3c.dom.html.HTMLElement.getLang() definition code for org.w3c.dom.html.HTMLElement.getLang() , getTitle sample code for org.w3c.dom.html.HTMLElement.getTitle() definition code for org.w3c.dom.html.HTMLElement.getTitle() , setClassName sample code for org.w3c.dom.html.HTMLElement.setClassName(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setClassName(java.lang.String) , setDir sample code for org.w3c.dom.html.HTMLElement.setDir(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setDir(java.lang.String) , setId sample code for org.w3c.dom.html.HTMLElement.setId(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setId(java.lang.String) , setLang sample code for org.w3c.dom.html.HTMLElement.setLang(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setLang(java.lang.String) , setTitle sample code for org.w3c.dom.html.HTMLElement.setTitle(java.lang.String) definition code for org.w3c.dom.html.HTMLElement.setTitle(java.lang.String)
 
Methods inherited from interface org.w3c.dom.Element sample code for org.w3c.dom.Element definition code for org.w3c.dom.Element
getAttribute sample code for org.w3c.dom.Element.getAttribute(java.lang.String) definition code for org.w3c.dom.Element.getAttribute(java.lang.String) , getAttributeNode sample code for org.w3c.dom.Element.getAttributeNode(java.lang.String) definition code for org.w3c.dom.Element.getAttributeNode(java.lang.String) , getAttributeNodeNS sample code for org.w3c.dom.Element.getAttributeNodeNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.getAttributeNodeNS(java.lang.String, java.lang.String) , getAttributeNS sample code for org.w3c.dom.Element.getAttributeNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.getAttributeNS(java.lang.String, java.lang.String) , getElementsByTagName sample code for org.w3c.dom.Element.getElementsByTagName(java.lang.String) definition code for org.w3c.dom.Element.getElementsByTagName(java.lang.String) , getElementsByTagNameNS sample code for org.w3c.dom.Element.getElementsByTagNameNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.getElementsByTagNameNS(java.lang.String, java.lang.String) , getSchemaTypeInfo sample code for org.w3c.dom.Element.getSchemaTypeInfo() definition code for org.w3c.dom.Element.getSchemaTypeInfo() , getTagName sample code for org.w3c.dom.Element.getTagName() definition code for org.w3c.dom.Element.getTagName() , hasAttribute sample code for org.w3c.dom.Element.hasAttribute(java.lang.String) definition code for org.w3c.dom.Element.hasAttribute(java.lang.String) , hasAttributeNS sample code for org.w3c.dom.Element.hasAttributeNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.hasAttributeNS(java.lang.String, java.lang.String) , removeAttribute sample code for org.w3c.dom.Element.removeAttribute(java.lang.String) definition code for org.w3c.dom.Element.removeAttribute(java.lang.String) , removeAttributeNode sample code for org.w3c.dom.Element.removeAttributeNode(org.w3c.dom.Attr) definition code for org.w3c.dom.Element.removeAttributeNode(org.w3c.dom.Attr) , removeAttributeNS sample code for org.w3c.dom.Element.removeAttributeNS(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.removeAttributeNS(java.lang.String, java.lang.String) , setAttribute sample code for org.w3c.dom.Element.setAttribute(java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.setAttribute(java.lang.String, java.lang.String) , setAttributeNode sample code for org.w3c.dom.Element.setAttributeNode(org.w3c.dom.Attr) definition code for org.w3c.dom.Element.setAttributeNode(org.w3c.dom.Attr) , setAttributeNodeNS sample code for org.w3c.dom.Element.setAttributeNodeNS(org.w3c.dom.Attr) definition code for org.w3c.dom.Element.setAttributeNodeNS(org.w3c.dom.Attr) , setAttributeNS sample code for org.w3c.dom.Element.setAttributeNS(java.lang.String, java.lang.String, java.lang.String) definition code for org.w3c.dom.Element.setAttributeNS(java.lang.String, java.lang.String, java.lang.String) , setIdAttribute sample code for org.w3c.dom.Element.setIdAttribute(java.lang.String, boolean) definition code for org.w3c.dom.Element.setIdAttribute(java.lang.String, boolean) , setIdAttributeNode sample code for org.w3c.dom.Element.setIdAttributeNode(org.w3c.dom.Attr, boolean) definition code for org.w3c.dom.Element.setIdAttributeNode(org.w3c.dom.Attr, boolean) , setIdAttributeNS sample code for org.w3c.dom.Element.setIdAttributeNS(java.lang.String, java.lang.String, boolean) definition code for org.w3c.dom.Element.setIdAttributeNS(java.lang.String, java.lang.String, boolean)
 
Methods inherited from interface org.w3c.dom.Node sample code for org.w3c.dom.Node definition code for org.w3c.dom.Node
appendChild sample code for org.w3c.dom.Node.appendChild(org.w3c.dom.Node) definition code for org.w3c.dom.Node.appendChild(org.w3c.dom.Node) , cloneNode sample code for org.w3c.dom.Node.cloneNode(boolean) definition code for org.w3c.dom.Node.cloneNode(boolean) , compareDocumentPosition sample code for org.w3c.dom.Node.compareDocumentPosition(org.w3c.dom.Node) definition code for org.w3c.dom.Node.compareDocumentPosition(org.w3c.dom.Node) , getAttributes sample code for org.w3c.dom.Node.getAttributes() definition code for org.w3c.dom.Node.getAttributes() , getBaseURI sample code for org.w3c.dom.Node.getBaseURI() definition code for org.w3c.dom.Node.getBaseURI() , getChildNodes sample code for org.w3c.dom.Node.getChildNodes() definition code for org.w3c.dom.Node.getChildNodes() , getFeature sample code for org.w3c.dom.Node.getFeature(java.lang.String, java.lang.String) definition code for org.w3c.dom.Node.getFeature(java.lang.String, java.lang.String) , getFirstChild sample code for org.w3c.dom.Node.getFirstChild() definition code for org.w3c.dom.Node.getFirstChild() , getLastChild sample code for org.w3c.dom.Node.getLastChild() definition code for org.w3c.dom.Node.getLastChild() , getLocalName sample code for org.w3c.dom.Node.getLocalName() definition code for org.w3c.dom.Node.getLocalName() , getNamespaceURI sample code for org.w3c.dom.Node.getNamespaceURI() definition code for org.w3c.dom.Node.getNamespaceURI() , getNextSibling sample code for org.w3c.dom.Node.getNextSibling() definition code for org.w3c.dom.Node.getNextSibling() , getNodeName sample code for org.w3c.dom.Node.getNodeName() definition code for org.w3c.dom.Node.getNodeName() , getNodeType sample code for org.w3c.dom.Node.getNodeType() definition code for org.w3c.dom.Node.getNodeType() , getNodeValue sample code for org.w3c.dom.Node.getNodeValue() definition code for org.w3c.dom.Node.getNodeValue() , getOwnerDocument sample code for org.w3c.dom.Node.getOwnerDocument() definition code for org.w3c.dom.Node.getOwnerDocument() , getParentNode sample code for org.w3c.dom.Node.getParentNode() definition code for org.w3c.dom.Node.getParentNode() , getPrefix sample code for org.w3c.dom.Node.getPrefix() definition code for org.w3c.dom.Node.getPrefix() , getPreviousSibling sample code for org.w3c.dom.Node.getPreviousSibling() definition code for org.w3c.dom.Node.getPreviousSibling() , getTextContent sample code for org.w3c.dom.Node.getTextContent() definition code for org.w3c.dom.Node.getTextContent() , getUserData sample code for org.w3c.dom.Node.getUserData(java.lang.String) definition code for org.w3c.dom.Node.getUserData(java.lang.String) , hasAttributes sample code for org.w3c.dom.Node.hasAttributes() definition code for org.w3c.dom.Node.hasAttributes() , hasChildNodes sample code for org.w3c.dom.Node.hasChildNodes() definition code for org.w3c.dom.Node.hasChildNodes() , insertBefore sample code for org.w3c.dom.Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node) definition code for org.w3c.dom.Node.insertBefore(org.w3c.dom.Node, org.w3c.dom.Node) , isDefaultNamespace sample code for org.w3c.dom.Node.isDefaultNamespace(java.lang.String) definition code for org.w3c.dom.Node.isDefaultNamespace(java.lang.String) , isEqualNode sample code for org.w3c.dom.Node.isEqualNode(org.w3c.dom.Node) definition code for org.w3c.dom.Node.isEqualNode(org.w3c.dom.Node) , isSameNode sample code for org.w3c.dom.Node.isSameNode(org.w3c.dom.Node) definition code for org.w3c.dom.Node.isSameNode(org.w3c.dom.Node) , isSupported sample code for org.w3c.dom.Node.isSupported(java.lang.String, java.lang.String) definition code for org.w3c.dom.Node.isSupported(java.lang.String, java.lang.String) , lookupNamespaceURI sample code for org.w3c.dom.Node.lookupNamespaceURI(java.lang.String) definition code for org.w3c.dom.Node.lookupNamespaceURI(java.lang.String) , lookupPrefix sample code for org.w3c.dom.Node.lookupPrefix(java.lang.String) definition code for org.w3c.dom.Node.lookupPrefix(java.lang.String) , normalize sample code for org.w3c.dom.Node.normalize() definition code for org.w3c.dom.Node.normalize() , removeChild sample code for org.w3c.dom.Node.removeChild(org.w3c.dom.Node) definition code for org.w3c.dom.Node.removeChild(org.w3c.dom.Node) , replaceChild sample code for org.w3c.dom.Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node) definition code for org.w3c.dom.Node.replaceChild(org.w3c.dom.Node, org.w3c.dom.Node) , setNodeValue sample code for org.w3c.dom.Node.setNodeValue(java.lang.String) definition code for org.w3c.dom.Node.setNodeValue(java.lang.String) , setPrefix sample code for org.w3c.dom.Node.setPrefix(java.lang.String) definition code for org.w3c.dom.Node.setPrefix(java.lang.String) , setTextContent sample code for org.w3c.dom.Node.setTextContent(java.lang.String) definition code for org.w3c.dom.Node.setTextContent(java.lang.String) , setUserData sample code for org.w3c.dom.Node.setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler) definition code for org.w3c.dom.Node.setUserData(java.lang.String, java.lang.Object, org.w3c.dom.UserDataHandler)
 

Method Detail

getDisabled sample code for org.w3c.dom.html.HTMLOptGroupElement.getDisabled() definition code for org.w3c.dom.html.HTMLOptGroupElement.getDisabled()

boolean getDisabled()
The control is unavailable in this context. See the disabled attribute definition in HTML 4.0.


setDisabled sample code for org.w3c.dom.html.HTMLOptGroupElement.setDisabled(boolean) definition code for org.w3c.dom.html.HTMLOptGroupElement.setDisabled(boolean)

void setDisabled(boolean disabled)

getLabel sample code for org.w3c.dom.html.HTMLOptGroupElement.getLabel() definition code for org.w3c.dom.html.HTMLOptGroupElement.getLabel()

String sample code for java.lang.String definition code for java.lang.String  getLabel()
Assigns a label to this option group. See the label attribute definition in HTML 4.0.


setLabel sample code for org.w3c.dom.html.HTMLOptGroupElement.setLabel(java.lang.String) definition code for org.w3c.dom.html.HTMLOptGroupElement.setLabel(java.lang.String)

void setLabel(String sample code for java.lang.String definition code for java.lang.String  label)