Class HTMLHRElement

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

      • HTMLHRElement

        public HTMLHRElement()
        Creates an instance.
    • Method Detail

      • isEndTagForbidden

        protected boolean isEndTagForbidden()
        Returns whether the end tag is forbidden or not.
        Overrides:
        isEndTagForbidden in class HTMLElement
        Returns:
        whether the end tag is forbidden or not
        See Also:
        HTML 4 specs
      • 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
      • 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
      • getColor

        public java.lang.String getColor()
        Gets the color property.
        Returns:
        the color property
      • setColor

        public void setColor​(java.lang.String color)
        Sets the color property.
        Parameters:
        color - the color property