public class TextAreaRenderer extends AbstractTextFieldRenderer
AbstractTextFieldRenderer implementation for text area fields.fontflatRenderer| Constructor and Description |
|---|
TextAreaRenderer(TextArea modelElement)
Creates a new
TextAreaRenderer instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustFieldLayout()
Adjusts the field layout.
|
protected void |
applyAcroField(com.itextpdf.layout.renderer.DrawContext drawContext)
Applies the AcroField widget.
|
protected com.itextpdf.layout.renderer.IRenderer |
createFlatRenderer()
Creates the flat renderer instance.
|
float |
getAscent() |
int |
getCols()
Gets the number of columns.
|
protected Float |
getContentWidth()
Gets the content width.
|
float |
getDescent() |
com.itextpdf.layout.renderer.IRenderer |
getNextRenderer() |
int |
getRows()
Gets the number of rows.
|
draw, drawChildren, getDefaultValue, getMinMaxWidth, getModelId, isFlatten, isRendererFit, layoutapplyBordersPaddingsMargins, applyRotation, applyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, correctPositionedLayout, createOverflowRenderer, createRotationTransformInsideOccupiedArea, createSplitRenderer, endRotationIfApplied, getOccupiedAreaBBoxaddAllProperties, addChild, alignChildHorizontally, alignChildHorizontally, applyAbsolutePosition, applyAction, applyBorderBox, applyBorderBox, applyDestination, applyDestinationsAndAnnotation, applyLinkAnnotation, applyMargins, applyMargins, applyPaddings, applyPaddings, applyRelativePositioningTranslation, beginElementOpacityApplying, beginTranformationIfApplied, calculateAbsolutePdfBBox, calculateBBox, calculateShiftToPositionBBoxOfPointsAt, clipBackgroundArea, clipBorderArea, deleteOwnProperty, deleteProperty, drawBackground, drawBorder, endElementOpacityApplying, endTranformationIfApplied, getBorderAreaBBox, getBorderRadii, getBorders, getChildRenderers, getDefaultProperty, getFirstYLineRecursively, getInnerAreaBBox, getLastYLineRecursively, getMargins, getMinMaxWidth, getModelElement, getOccupiedArea, getOwnProperties, getOwnProperty, getPaddings, getParent, getProperty, getProperty, getPropertyAsBoolean, getPropertyAsColor, getPropertyAsFloat, getPropertyAsFloat, getPropertyAsFont, getPropertyAsInteger, getPropertyAsTransparentColor, getPropertyAsUnitValue, hasAbsoluteUnitValue, hasOwnOrModelProperty, hasOwnProperty, hasProperty, initElementAreas, isAbsolutePosition, isFixedLayout, isFlushed, isKeepTogether, isNotFittingHeight, isNotFittingLayoutArea, isNotFittingWidth, isPositioned, isRelativePosition, isStaticLayout, move, overrideHeightProperties, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMaxWidth, retrieveMinHeight, retrieveMinWidth, retrieveUnitValue, retrieveWidth, setBorders, setMinMaxWidthBasedOnFixedWidth, setParent, setProperty, toString, transformPoints, updateHeightsOnSplitclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic TextAreaRenderer(TextArea modelElement)
TextAreaRenderer instance.modelElement - the model elementpublic int getCols()
public int getRows()
public float getAscent()
public float getDescent()
public com.itextpdf.layout.renderer.IRenderer getNextRenderer()
protected void adjustFieldLayout()
AbstractFormFieldRendereradjustFieldLayout in class AbstractFormFieldRendererprotected com.itextpdf.layout.renderer.IRenderer createFlatRenderer()
AbstractFormFieldRenderercreateFlatRenderer in class AbstractFormFieldRendererprotected void applyAcroField(com.itextpdf.layout.renderer.DrawContext drawContext)
AbstractFormFieldRendererapplyAcroField in class AbstractFormFieldRendererdrawContext - the draw contextprotected Float getContentWidth()
AbstractFormFieldRenderergetContentWidth in class AbstractFormFieldRendererCopyright © 1998–2018 iText Group NV. All rights reserved.