Package org.xhtmlrenderer.pdf
Class EmptyReplacedElement
java.lang.Object
org.xhtmlrenderer.pdf.AbstractFormField
org.xhtmlrenderer.pdf.EmptyReplacedElement
- All Implemented Interfaces:
ReplacedElement
,ITextReplacedElement
User: beck
Date: 11/4/11
-
Field Summary
Fields inherited from class org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
int
protected String
int
int
boolean
boolean
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
-
Constructor Details
-
EmptyReplacedElement
public EmptyReplacedElement(int width, int height)
-
-
Method Details
-
paint
-
getIntrinsicWidth
public int getIntrinsicWidth()- Specified by:
getIntrinsicWidth
in interfaceReplacedElement
- Overrides:
getIntrinsicWidth
in classAbstractFormField
-
getIntrinsicHeight
public int getIntrinsicHeight()- Specified by:
getIntrinsicHeight
in interfaceReplacedElement
- Overrides:
getIntrinsicHeight
in classAbstractFormField
-
getLocation
- Specified by:
getLocation
in interfaceReplacedElement
- Overrides:
getLocation
in classAbstractFormField
-
setLocation
public void setLocation(int x, int y) - Specified by:
setLocation
in interfaceReplacedElement
- Overrides:
setLocation
in classAbstractFormField
-
getFieldType
- Specified by:
getFieldType
in classAbstractFormField
-
detach
- Specified by:
detach
in interfaceReplacedElement
- Overrides:
detach
in classAbstractFormField
-
isRequiresInteractivePaint
public boolean isRequiresInteractivePaint()- Specified by:
isRequiresInteractivePaint
in interfaceReplacedElement
- Overrides:
isRequiresInteractivePaint
in classAbstractFormField
-
hasBaseline
public boolean hasBaseline() -
getBaseline
public int getBaseline()
-