Class HTMLPreElementImpl

All Implemented Interfaces:
ModelNode, CSS2PropertiesContext, ScriptableDelegate, Element, HTMLElement, HTMLPreElement, Node

public class HTMLPreElementImpl extends HTMLAbstractUIElement implements HTMLPreElement
  • Constructor Details

    • HTMLPreElementImpl

      public HTMLPreElementImpl(String name)
  • Method Details

    • getWidth

      public int getWidth()
      Description copied from interface: HTMLPreElement
      Fixed width for content. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
      Specified by:
      getWidth in interface HTMLPreElement
    • setWidth

      public void setWidth(int width)
      Description copied from interface: HTMLPreElement
      Fixed width for content. See the width attribute definition in HTML 4.01. This attribute is deprecated in HTML 4.01.
      Specified by:
      setWidth in interface HTMLPreElement
    • createRenderState

      protected RenderState createRenderState(RenderState prevRenderState)
      Overrides:
      createRenderState in class HTMLElementImpl