Class HTMLHtmlElement

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 HTMLHtmlElement extends HTMLElement
The JavaScript object HTMLHtmlElement.
See Also:
  • Constructor Details

    • HTMLHtmlElement

      public HTMLHtmlElement()
      Creates an instance.
  • Method Details

    • jsConstructor

      public void jsConstructor()
      JavaScript constructor.
      Overrides:
      jsConstructor in class HTMLElement
    • getParentNode

      public Object getParentNode()
      Gets the JavaScript property parentNode for the node that contains the current node.
      Overrides:
      getParentNode in class Node
      Returns:
      the parent node
    • getClientWidth

      public int getClientWidth()
      Returns the clientWidth attribute.
      Overrides:
      getClientWidth in class Element
      Returns:
      the clientWidth attribute
    • getClientHeight

      public int getClientHeight()
      Returns the clientHeight attribute.
      Overrides:
      getClientHeight in class Element
      Returns:
      the clientHeight attribute
    • setOuterHTML

      public void setOuterHTML(Object value)
      Overwritten to throw an exception.
      Overrides:
      setOuterHTML in class Element
      Parameters:
      value - the new value for replacing this node
    • getVersion

      public String getVersion()
      Returns version property.
      Returns:
      the version property
    • setVersion

      public void setVersion(String version)
      Sets version property.
      Parameters:
      version - the version property