org.xhtmlrenderer.pdf
Class EmptyReplacedElement

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

public class EmptyReplacedElement
extends AbstractFormField

Created by IntelliJ IDEA. User: beck Date: 11/4/11 Time: 12:42 PM


Field Summary
 
Fields inherited from class org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE
 
Constructor Summary
EmptyReplacedElement(int width, int height)
           
 
Method Summary
 void detach(LayoutContext c)
           
 int getBaseline()
           
protected  java.lang.String getFieldType()
           
 int getIntrinsicHeight()
           
 int getIntrinsicWidth()
           
 java.awt.Point getLocation()
           
 boolean hasBaseline()
           
 boolean isRequiresInteractivePaint()
           
 void paint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)
           
 void setLocation(int x, int y)
           
 
Methods inherited from class org.xhtmlrenderer.pdf.AbstractFormField
getFieldName, getHeight, getValue, getWidth, getX, getY, initDimensions, isChecked, isReadOnly, isSelected, setFillColor, setHeight, setStrokeColor, setWidth, setX, setY, spaces
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyReplacedElement

public EmptyReplacedElement(int width,
                            int height)
Method Detail

paint

public void paint(RenderingContext c,
                  ITextOutputDevice outputDevice,
                  BlockBox box)

getIntrinsicWidth

public int getIntrinsicWidth()
Specified by:
getIntrinsicWidth in interface ReplacedElement
Overrides:
getIntrinsicWidth in class AbstractFormField

getIntrinsicHeight

public int getIntrinsicHeight()
Specified by:
getIntrinsicHeight in interface ReplacedElement
Overrides:
getIntrinsicHeight in class AbstractFormField

getLocation

public java.awt.Point getLocation()
Specified by:
getLocation in interface ReplacedElement
Overrides:
getLocation in class AbstractFormField

setLocation

public void setLocation(int x,
                        int y)
Specified by:
setLocation in interface ReplacedElement
Overrides:
setLocation in class AbstractFormField

getFieldType

protected java.lang.String getFieldType()
Specified by:
getFieldType in class AbstractFormField

detach

public void detach(LayoutContext c)
Specified by:
detach in interface ReplacedElement
Overrides:
detach in class AbstractFormField

isRequiresInteractivePaint

public boolean isRequiresInteractivePaint()
Specified by:
isRequiresInteractivePaint in interface ReplacedElement
Overrides:
isRequiresInteractivePaint in class AbstractFormField

hasBaseline

public boolean hasBaseline()

getBaseline

public int getBaseline()


Copyright © 2014. All Rights Reserved.