Class HTMLOptGroupElement

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, org.htmlunit.corejs.javascript.ConstProperties, org.htmlunit.corejs.javascript.debug.DebuggableObject, org.htmlunit.corejs.javascript.Scriptable, org.htmlunit.corejs.javascript.SymbolScriptable

    public class HTMLOptGroupElement
    extends HTMLElement
    The JavaScript object HTMLOptGroupElement.
    See Also:
    Serialized Form
    • Constructor Detail

      • HTMLOptGroupElement

        public HTMLOptGroupElement()
        Creates an instance.
    • Method Detail

      • isDisabled

        public boolean isDisabled()
        Returns true if this element is disabled. Overridden to modify browser configurations.
        Overrides:
        isDisabled in class HTMLElement
        Returns:
        true if this element is disabled
      • setDisabled

        public void setDisabled​(boolean disabled)
        Sets whether or not to disable this element. Overridden to modify browser configurations.
        Overrides:
        setDisabled in class HTMLElement
        Parameters:
        disabled - True if this is to be disabled
      • getLabel

        public java.lang.String getLabel()
        Returns the value of the label property.
        Returns:
        the value of the label property
      • setLabel

        public void setLabel​(java.lang.String newLabel)
        Updates the value of the label property.
        Parameters:
        newLabel - the new value