Class HTMLHtmlElement

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

      • HTMLHtmlElement

        public HTMLHtmlElement()
        Creates an instance.
    • Method Detail

      • getParentNode

        public java.lang.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​(java.lang.Object value)
        Overwritten to throw an exception.
        Overrides:
        setOuterHTML in class Element
        Parameters:
        value - the new value for replacing this node
      • getVersion

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

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