public class TextAreaRenderer extends AbstractTextFieldRenderer
AbstractTextFieldRenderer implementation for text area fields.fontflatRendererchildRenderers, EPS, flushed, INF, isLastRendererForModelElement, modelElement, occupiedArea, OVERLAP_EPSILON, parent, positionedRenderers, properties| Constructor and Description |
|---|
TextAreaRenderer(TextArea modelElement)
Creates a new
TextAreaRenderer instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustFieldLayout(LayoutContext layoutContext)
Adjusts the field layout.
|
protected void |
applyAcroField(DrawContext drawContext)
Applies the AcroField widget.
|
protected IRenderer |
createFlatRenderer()
Creates the flat renderer instance.
|
int |
getCols()
Gets the number of columns.
|
protected Float |
getLastYLineRecursively() |
IRenderer |
getNextRenderer() |
<T1> T1 |
getProperty(int key) |
int |
getRows()
Gets the number of rows.
|
LayoutResult |
layout(LayoutContext layoutContext) |
protected boolean |
setMinMaxWidthBasedOnFixedWidth(MinMaxWidth minMaxWidth) |
draw, drawChildren, getConformanceLevel, getDefaultValue, getLang, getMinMaxWidth, getModelId, isFlatten, isLayoutBasedOnFlatRenderer, isRendererFit, writeAcroFormFieldLangAttributeapplyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, createOverflowRenderer, createRotationTransformInsideOccupiedArea, createSplitRenderer, endRotationIfApplied, getOccupiedAreaBBox, getResolvedFontaddAllProperties, addChild, alignChildHorizontally, allowLastYLineRecursiveExtraction, applyAbsolutePosition, applyAction, applyBorderBox, applyBorderBox, applyDestination, applyDestinationsAndAnnotation, applyLinkAnnotation, applyMargins, applyMargins, applyPaddings, applyPaddings, applyRelativePositioningTranslation, beginElementOpacityApplying, beginTransformationIfApplied, calculateAbsolutePdfBBox, calculateBBox, calculateShiftToPositionBBoxOfPointsAt, clipBackgroundArea, clipBackgroundArea, clipBorderArea, createXObject, deleteOwnProperty, deleteProperty, drawBackground, drawBorder, endElementOpacityApplying, endTransformationIfApplied, getBackgroundArea, getBorderAreaBBox, getBorderRadii, getBorders, getChildRenderers, getDefaultProperty, getFirstYLineRecursively, getInnerAreaBBox, getMargins, getModelElement, getOccupiedArea, getOwnProperties, getOwnProperty, getPaddings, getParent, getProperty, getPropertyAsBoolean, getPropertyAsColor, getPropertyAsFloat, getPropertyAsFloat, getPropertyAsFont, getPropertyAsInteger, getPropertyAsTransparentColor, getPropertyAsUnitValue, hasAbsoluteUnitValue, hasOwnOrModelProperty, hasOwnProperty, hasProperty, hasRelativeUnitValue, initElementAreas, isAbsolutePosition, isBorderBoxSizing, isFirstOnRootArea, isFixedLayout, isFlushed, isKeepTogether, isNotFittingHeight, isNotFittingLayoutArea, isNotFittingWidth, isOverflowFit, isOverflowProperty, isOverflowProperty, isOverflowProperty, isPositioned, isRelativePosition, isStaticLayout, move, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMaxWidth, retrieveMinHeight, retrieveMinWidth, retrieveUnitValue, retrieveUnitValue, retrieveWidth, setBorders, setParent, setProperty, toString, transformPoints, updateHeight, updateHeightsOnSplit, updateMaxHeight, updateMinHeight, updateWidthpublic TextAreaRenderer(TextArea modelElement)
TextAreaRenderer instance.modelElement - the model elementpublic int getCols()
public int getRows()
protected Float getLastYLineRecursively()
getLastYLineRecursively in class AbstractRendererpublic IRenderer getNextRenderer()
public LayoutResult layout(LayoutContext layoutContext)
layout in interface IRendererlayout in class AbstractFormFieldRendererpublic <T1> T1 getProperty(int key)
getProperty in interface IPropertyContainergetProperty in class AbstractRendererprotected void adjustFieldLayout(LayoutContext layoutContext)
adjustFieldLayout in class AbstractFormFieldRendererlayoutContext - layout contextprotected IRenderer createFlatRenderer()
createFlatRenderer in class AbstractFormFieldRendererprotected void applyAcroField(DrawContext drawContext)
applyAcroField in class AbstractFormFieldRendererdrawContext - the draw contextprotected boolean setMinMaxWidthBasedOnFixedWidth(MinMaxWidth minMaxWidth)
setMinMaxWidthBasedOnFixedWidth in class AbstractRendererCopyright © 1998–2024 Apryse Group NV. All rights reserved.