Class HTMLPreElementImpl

  • All Implemented Interfaces:
    java.lang.Cloneable, org.w3c.dom.Element, org.w3c.dom.events.EventTarget, org.w3c.dom.html.HTMLElement, org.w3c.dom.html.HTMLPreElement, org.w3c.dom.Node, org.w3c.dom.NodeList, org.w3c.dom.TypeInfo

    public class HTMLPreElementImpl
    extends HTMLElementImpl
    implements org.w3c.dom.html.HTMLPreElement
    See Also:
    HTMLPreElement, ElementImpl
    • Constructor Detail

      • HTMLPreElementImpl

        public HTMLPreElementImpl​(HTMLDocumentImpl owner,
                                  java.lang.String name)
        Constructor requires owner document.
        Parameters:
        owner - The owner HTML document
    • Method Detail

      • getWidth

        public int getWidth()
        Specified by:
        getWidth in interface org.w3c.dom.html.HTMLPreElement
      • setWidth

        public void setWidth​(int width)
        Specified by:
        setWidth in interface org.w3c.dom.html.HTMLPreElement