public abstract class AbstractSelectFieldRenderer
extends com.itextpdf.layout.renderer.BlockRenderer
BlockRenderer for select form fields.
| Constructor and Description |
|---|
AbstractSelectFieldRenderer(AbstractSelectField modelElement)
Creates a new AbstractSelectFieldRenderer instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract void |
applyAcroField(com.itextpdf.layout.renderer.DrawContext drawContext) |
protected abstract com.itextpdf.layout.renderer.IRenderer |
createFlatRenderer() |
void |
drawChildren(com.itextpdf.layout.renderer.DrawContext drawContext) |
protected float |
getFinalSelectFieldHeight(float availableHeight, float actualHeight, boolean isClippedHeight) |
protected String |
getModelId()
Gets the model id.
|
protected List |
getOptionsMarkedSelected(com.itextpdf.layout.renderer.IRenderer optionsSubTree) |
protected boolean |
isFlatten()
Checks if form fields need to be flattened.
|
com.itextpdf.layout.layout.LayoutResult |
layout(com.itextpdf.layout.layout.LayoutContext layoutContext) |
applyBordersPaddingsMargins, applyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, createOverflowRenderer, createRotationTransformInsideOccupiedArea, createSplitRenderer, draw, endRotationIfApplied, getMinMaxWidth, getOccupiedAreaBBoxaddAllProperties, addChild, alignChildHorizontally, allowLastYLineRecursiveExtraction, applyAbsolutePosition, applyAction, applyBorderBox, applyBorderBox, applyDestination, applyDestinationsAndAnnotation, applyLinkAnnotation, applyMargins, applyMargins, applyPaddings, applyPaddings, applyRelativePositioningTranslation, beginElementOpacityApplying, beginTransformationIfApplied, calculateAbsolutePdfBBox, calculateBBox, calculateShiftToPositionBBoxOfPointsAt, clipBackgroundArea, clipBackgroundArea, clipBorderArea, deleteOwnProperty, deleteProperty, drawBackground, drawBorder, endElementOpacityApplying, endTransformationIfApplied, getBorderAreaBBox, getBorderRadii, getBorders, getChildRenderers, getDefaultProperty, getFirstYLineRecursively, getInnerAreaBBox, getLastYLineRecursively, getMargins, getModelElement, getOccupiedArea, getOwnProperties, getOwnProperty, getPaddings, getParent, getProperty, 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, setMinMaxWidthBasedOnFixedWidth, setParent, setProperty, toString, transformPoints, updateHeight, updateHeightsOnSplit, updateMaxHeight, updateMinHeight, updateWidthpublic AbstractSelectFieldRenderer(AbstractSelectField modelElement)
AbstractSelectFieldRenderer instance.
modelElement - the model element
public com.itextpdf.layout.layout.LayoutResult layout(com.itextpdf.layout.layout.LayoutContext layoutContext)
layout in interface com.itextpdf.layout.renderer.IRenderer
layout in class com.itextpdf.layout.renderer.BlockRenderer
public void drawChildren(com.itextpdf.layout.renderer.DrawContext drawContext)
drawChildren in class com.itextpdf.layout.renderer.AbstractRenderer
protected abstract com.itextpdf.layout.renderer.IRenderer createFlatRenderer()
protected abstract void applyAcroField(com.itextpdf.layout.renderer.DrawContext drawContext)
protected boolean isFlatten()
protected String getModelId()
protected float getFinalSelectFieldHeight(float availableHeight,
float actualHeight,
boolean isClippedHeight) protected ListgetOptionsMarkedSelected(com.itextpdf.layout.renderer.IRenderer optionsSubTree)
Copyright © 1998–2019 iText Group NV. All rights reserved.