Package com.itextpdf.forms.form.renderer
Class SelectFieldComboBoxRenderer
java.lang.Object
com.itextpdf.layout.renderer.AbstractRenderer
com.itextpdf.layout.renderer.BlockRenderer
com.itextpdf.forms.form.renderer.AbstractSelectFieldRenderer
com.itextpdf.forms.form.renderer.SelectFieldComboBoxRenderer
- All Implemented Interfaces:
-
IPropertyContainer,IRenderer
The
SelectFieldComboBoxRenderer implementation for select field renderer.
-
Field Summary
Fields inherited from class com.itextpdf.layout.renderer.AbstractRenderer
childRenderers, EPS, flushed, INF, isLastRendererForModelElement, modelElement, occupiedArea, OVERLAP_EPSILON, parent, positionedRenderers, properties -
Constructor Summary
ConstructorsConstructorDescriptionSelectFieldComboBoxRenderer(AbstractSelectField modelElement) Creates a newSelectFieldComboBoxRendererinstance. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected voidapplyAcroField(DrawContext drawContext) protected IRendererCalculates min and max width values for current renderer.Gets a new instance of this class to be used as a next renderer, after this renderer is used, ifIRenderer.layout(LayoutContext)is called more than once.Methods inherited from class com.itextpdf.forms.form.renderer.AbstractSelectFieldRenderer
draw, drawChildren, getConformanceLevel, getFinalSelectFieldHeight, getLang, getModelId, getOptionsMarkedSelected, isFlatten, layout, setupBuilderValues, writeAcroFormFieldLangAttributeMethods inherited from class com.itextpdf.layout.renderer.BlockRenderer
applyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, createOverflowRenderer, createRotationTransformInsideOccupiedArea, createSplitRenderer, endRotationIfApplied, getOccupiedAreaBBox, getResolvedFontMethods inherited from class com.itextpdf.layout.renderer.AbstractRenderer
addAllProperties, addChild, alignChildHorizontally, 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, 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, updateWidth
-
Constructor Details
-
SelectFieldComboBoxRenderer
Creates a newSelectFieldComboBoxRendererinstance.- Parameters:
-
modelElement- the model element
-
-
Method Details
-
getNextRenderer
Description copied from interface:IRendererGets a new instance of this class to be used as a next renderer, after this renderer is used, ifIRenderer.layout(LayoutContext)is called more than once.- Returns:
- new renderer instance
-
getMinMaxWidth
Description copied from class:BlockRendererCalculates min and max width values for current renderer.- Overrides:
-
getMinMaxWidthin classBlockRenderer - Returns:
-
instance of
MinMaxWidth
-
allowLastYLineRecursiveExtraction
protected boolean allowLastYLineRecursiveExtraction()- Overrides:
-
allowLastYLineRecursiveExtractionin classAbstractRenderer
-
createFlatRenderer
- Specified by:
-
createFlatRendererin classAbstractSelectFieldRenderer
-
applyAcroField
- Specified by:
-
applyAcroFieldin classAbstractSelectFieldRenderer
-