Module jdk.xml.dom

Interface HTMLOptGroupElement

All Superinterfaces:
Element, HTMLElement, Node

public interface HTMLOptGroupElement
extends 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.

Since:
1.4, DOM Level 2
  • Method Details

    • getDisabled

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

      void setDisabled​(boolean disabled)
    • getLabel

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

      void setLabel​(String label)