Package org.xhtmlrenderer.pdf
Class TextFormField
java.lang.Object
org.xhtmlrenderer.pdf.AbstractFormField
org.xhtmlrenderer.pdf.TextFormField
- All Implemented Interfaces:
ReplacedElement
,ITextReplacedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private static final int
private static final String
private boolean
Fields inherited from class org.xhtmlrenderer.pdf.AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate void
createAppearance
(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box, com.lowagie.text.pdf.PdfFormField field, String value) int
protected String
private int
getMaxLength
(Element elem) private int
protected String
boolean
protected void
initDimensions
(LayoutContext c, BlockBox box, int cssWidth, int cssHeight) void
paint
(RenderingContext c, ITextOutputDevice outputDevice, 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
-
Field Details
-
FIELD_TYPE
- See Also:
-
DEFAULT_SIZE
private static final int DEFAULT_SIZE- See Also:
-
_baseline
private final int _baseline -
multiline
private boolean multiline
-
-
Constructor Details
-
TextFormField
-
-
Method Details
-
initDimensions
- Overrides:
initDimensions
in classAbstractFormField
-
getFieldType
- Specified by:
getFieldType
in classAbstractFormField
-
paint
-
createAppearance
private void createAppearance(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box, com.lowagie.text.pdf.PdfFormField field, String value) -
getSize
-
getMaxLength
-
getValue
- Overrides:
getValue
in classAbstractFormField
-
getBaseline
public int getBaseline() -
hasBaseline
public boolean hasBaseline()
-