Package org.xhtmlrenderer.pdf
Class EmptyReplacedElement
- java.lang.Object
-
- org.xhtmlrenderer.pdf.AbstractFormField
-
- org.xhtmlrenderer.pdf.EmptyReplacedElement
-
- All Implemented Interfaces:
ReplacedElement,ITextReplacedElement
@ParametersAreNonnullByDefault public class EmptyReplacedElement extends AbstractFormField
User: beck Date: 11/4/11
-
-
Field Summary
-
Fields inherited from class org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE
-
-
Constructor Summary
Constructors Constructor Description EmptyReplacedElement(int width, int height)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetBaseline()protected StringgetFieldType()intgetIntrinsicHeight()intgetIntrinsicWidth()PointgetLocation()booleanhasBaseline()voidpaint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)voidsetLocation(int x, int y)-
Methods inherited from class org.xhtmlrenderer.pdf.AbstractFormField
detach, getFieldName, getHeight, getValue, getWidth, getX, getY, initDimensions, isChecked, isReadOnly, isRequiresInteractivePaint, isSelected, setFillColor, setHeight, setStrokeColor, setWidth, setX, setY, spaces
-
-
-
-
Method Detail
-
paint
public void paint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box)
-
getIntrinsicWidth
public int getIntrinsicWidth()
- Specified by:
getIntrinsicWidthin interfaceReplacedElement- Overrides:
getIntrinsicWidthin classAbstractFormField
-
getIntrinsicHeight
public int getIntrinsicHeight()
- Specified by:
getIntrinsicHeightin interfaceReplacedElement- Overrides:
getIntrinsicHeightin classAbstractFormField
-
getLocation
public Point getLocation()
- Specified by:
getLocationin interfaceReplacedElement- Overrides:
getLocationin classAbstractFormField
-
setLocation
public void setLocation(int x, int y)- Specified by:
setLocationin interfaceReplacedElement- Overrides:
setLocationin classAbstractFormField
-
getFieldType
protected String getFieldType()
- Specified by:
getFieldTypein classAbstractFormField
-
hasBaseline
public boolean hasBaseline()
-
getBaseline
public int getBaseline()
-
-