Class HTMLHRElement

All Implemented Interfaces:
Serializable, 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:
  • Constructor Details

    • HTMLHRElement

      public HTMLHRElement()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class HTMLElement
    • 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:
    • getWidth_js

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

      public void setWidth_js(String width)
      Sets the value of the width property.
      Parameters:
      width - the value of the width property
    • getAlign

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

      public void setAlign(String align)
      Sets the value of the align property.
      Parameters:
      align - the value of the align property
    • getColor

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

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