org.w3c.dom.html2

Interface HTMLOptGroupElement

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
booleangetDisabled()
The control is unavailable in this context.
StringgetLabel()
Assigns a label to this option group.
voidsetDisabled(boolean disabled)
The control is unavailable in this context.
voidsetLabel(String label)
Assigns a label to this option group.

Method Detail

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.