org.w3c.dom.html

Interface HTMLOptGroupElement

public interface HTMLOptGroupElement extends HTMLElement

Group options together in logical subdivisions. See the OPTGROUP element definition in HTML 4.0.
Method Summary
booleangetDisabled()
The control is unavailable in this context.
StringgetLabel()
Assigns a label to this option group.
voidsetDisabled(boolean disabled)
voidsetLabel(String label)

Method Detail

getDisabled

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

getLabel

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

setDisabled

public void setDisabled(boolean disabled)

setLabel

public void setLabel(String label)