Class TextFormField
java.lang.Object
org.xhtmlrenderer.pdf.AbstractFormField
org.xhtmlrenderer.pdf.TextFormField
- All Implemented Interfaces:
ReplacedElement, ITextReplacedElement
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intprivate static final intprivate static final Stringprivate booleanFields inherited from class AbstractFormField
DEFAULT_CHECKED_STATE, OFF_STATE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidcreateAppearance(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box, com.lowagie.text.pdf.PdfFormField field, String value) intprotected Stringprivate intgetMaxLength(Element elem) private intprotected Stringbooleanprotected voidinitDimensions(LayoutContext c, BlockBox box, int cssWidth, int cssHeight) voidpaint(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box) Methods inherited from class 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:
initDimensionsin classAbstractFormField
-
getFieldType
- Specified by:
getFieldTypein classAbstractFormField
-
paint
-
createAppearance
private void createAppearance(RenderingContext c, ITextOutputDevice outputDevice, BlockBox box, com.lowagie.text.pdf.PdfFormField field, String value) -
getSize
-
getMaxLength
-
getValue
- Overrides:
getValuein classAbstractFormField
-
getBaseline
public int getBaseline() -
hasBaseline
public boolean hasBaseline()
-