java.lang.Object
org.xhtmlrenderer.pdf.AbstractFormField
org.xhtmlrenderer.pdf.TextFormField
- All Implemented Interfaces:
org.xhtmlrenderer.extend.ReplacedElement,ITextReplacedElement
-
Field Summary
Fields inherited from class org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE -
Constructor Summary
ConstructorsConstructorDescriptionTextFormField(org.xhtmlrenderer.layout.LayoutContext c, org.xhtmlrenderer.render.BlockBox box, int cssWidth, int cssHeight) -
Method Summary
Modifier and TypeMethodDescriptionintprotected Stringprotected Stringbooleanprotected voidinitDimensions(org.xhtmlrenderer.layout.LayoutContext c, org.xhtmlrenderer.render.BlockBox box, int cssWidth, int cssHeight) voidpaint(org.xhtmlrenderer.render.RenderingContext c, ITextOutputDevice outputDevice, org.xhtmlrenderer.render.BlockBox box) Methods inherited from class org.xhtmlrenderer.pdf.AbstractFormField
detach, getFieldName, getHeight, getIntrinsicHeight, getIntrinsicWidth, getLocation, getWidth, getX, getY, isChecked, isReadOnly, isRequiresInteractivePaint, isSelected, setFillColor, setHeight, setLocation, setStrokeColor, setWidth, setX, setY, spaces
-
Constructor Details
-
TextFormField
public TextFormField(org.xhtmlrenderer.layout.LayoutContext c, org.xhtmlrenderer.render.BlockBox box, int cssWidth, int cssHeight)
-
-
Method Details
-
initDimensions
protected void initDimensions(org.xhtmlrenderer.layout.LayoutContext c, org.xhtmlrenderer.render.BlockBox box, int cssWidth, int cssHeight) - Overrides:
initDimensionsin classAbstractFormField
-
getFieldType
- Specified by:
getFieldTypein classAbstractFormField
-
paint
public void paint(org.xhtmlrenderer.render.RenderingContext c, ITextOutputDevice outputDevice, org.xhtmlrenderer.render.BlockBox box) -
getValue
- Overrides:
getValuein classAbstractFormField
-
getBaseline
public int getBaseline() -
hasBaseline
public boolean hasBaseline()
-