Class HTMLObjectElement

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

      • HTMLObjectElement

        public HTMLObjectElement()
        Creates an instance.
    • Method Detail

      • getBorder

        public java.lang.String getBorder()
        Gets the border attribute.
        Returns:
        the border attribute
      • setBorder

        public void setBorder​(java.lang.String border)
        Sets the border attribute.
        Parameters:
        border - the border attribute
      • getClassid

        public java.lang.String getClassid()
        Gets the classid attribute.
        Returns:
        the classid attribute
      • setClassid

        public void setClassid​(java.lang.String classid)
        Sets the classid attribute.
        Parameters:
        classid - the classid attribute
      • getWidth_js

        public java.lang.String getWidth_js()
        Returns the value of the width property.
        Returns:
        the value of the width property
      • setWidth_js

        public void setWidth_js​(java.lang.String width)
        Sets the value of the width property.
        Parameters:
        width - the value of the width property
      • getHeight_js

        public java.lang.String getHeight_js()
        Returns the value of the height property.
        Returns:
        the value of the height property
      • setHeight_js

        public void setHeight_js​(java.lang.String height)
        Sets the value of the height property.
        Parameters:
        height - the value of the height property
      • getAlign

        public java.lang.String getAlign()
        Returns the value of the align property.
        Returns:
        the value of the align property
      • setAlign

        public void setAlign​(java.lang.String align)
        Sets the value of the align property.
        Parameters:
        align - the value of the align property
      • 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
      • 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