Class HTMLFieldSetElement

  • 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 HTMLFieldSetElement
    extends HTMLElement
    The JavaScript object HTMLFieldSetElement.
    See Also:
    Serialized Form
    • Constructor Detail

      • HTMLFieldSetElement

        public HTMLFieldSetElement()
        Creates an instance.
    • Method Detail

      • getName

        public java.lang.String getName()
        Returns the name attribute.
        Overrides:
        getName in class HTMLElement
        Returns:
        the name attribute
      • setName

        public void setName​(java.lang.String name)
        Sets the name attribute.
        Overrides:
        setName in class HTMLElement
        Parameters:
        name - the name attribute
      • getForm

        public HTMLFormElement getForm()
        Returns the value of the JavaScript form attribute.
        Overrides:
        getForm in class HTMLElement
        Returns:
        the value of the JavaScript form attribute
      • checkValidity

        public boolean checkValidity()
        Checks whether the element has any constraints and whether it satisfies them.
        Returns:
        if the element is valid
      • 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
      • getValidity

        public ValidityState getValidity()
        Returns:
        a ValidityState with the validity states that this element is in.
      • getWillValidate

        public boolean getWillValidate()
        Returns:
        whether the element is a candidate for constraint validation
      • setCustomValidity

        public void setCustomValidity​(java.lang.String message)
        Sets the custom validity message for the element to the specified message.
        Parameters:
        message - the new message