Class EmptyReplacedElement

java.lang.Object
org.xhtmlrenderer.pdf.AbstractFormField
org.xhtmlrenderer.pdf.EmptyReplacedElement
All Implemented Interfaces:
org.xhtmlrenderer.extend.ReplacedElement, ITextReplacedElement

@ParametersAreNonnullByDefault public class EmptyReplacedElement extends AbstractFormField
User: beck Date: 11/4/11
  • Constructor Details

    • EmptyReplacedElement

      public EmptyReplacedElement(int width, int height)
  • Method Details

    • paint

      public void paint(org.xhtmlrenderer.render.RenderingContext c, ITextOutputDevice outputDevice, org.xhtmlrenderer.render.BlockBox box)
    • getIntrinsicWidth

      public int getIntrinsicWidth()
      Specified by:
      getIntrinsicWidth in interface org.xhtmlrenderer.extend.ReplacedElement
      Overrides:
      getIntrinsicWidth in class AbstractFormField
    • getIntrinsicHeight

      public int getIntrinsicHeight()
      Specified by:
      getIntrinsicHeight in interface org.xhtmlrenderer.extend.ReplacedElement
      Overrides:
      getIntrinsicHeight in class AbstractFormField
    • getLocation

      public Point getLocation()
      Specified by:
      getLocation in interface org.xhtmlrenderer.extend.ReplacedElement
      Overrides:
      getLocation in class AbstractFormField
    • setLocation

      public void setLocation(int x, int y)
      Specified by:
      setLocation in interface org.xhtmlrenderer.extend.ReplacedElement
      Overrides:
      setLocation in class AbstractFormField
    • getFieldType

      protected String getFieldType()
      Specified by:
      getFieldType in class AbstractFormField
    • hasBaseline

      public boolean hasBaseline()
    • getBaseline

      public int getBaseline()