org.w3c.dom.html2

Interface HTMLOptGroupElement

All Superinterfaces:
Element, HTMLElement

public interface HTMLOptGroupElement
extends HTMLElement

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

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

Method Summary

boolean
getDisabled()
The control is unavailable in this context.
String
getLabel()
Assigns a label to this option group.
void
setDisabled(boolean disabled)
The control is unavailable in this context.
void
setLabel(String label)
Assigns a label to this option group.

Methods inherited from interface org.w3c.dom.html2.HTMLElement

getClassName, getDir, getId, getLang, getTitle, setClassName, setDir, setId, setLang, setTitle

Method Details

getDisabled

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

getLabel

public String getLabel()
Assigns a label to this option group. See the label attribute definition in HTML 4.01.

setDisabled

public void setDisabled(boolean disabled)
The control is unavailable in this context. See the disabled attribute definition in HTML 4.01.

setLabel

public void setLabel(String label)
Assigns a label to this option group. See the label attribute definition in HTML 4.01.