public class InputButtonRenderer extends AbstractOneLineTextFieldRenderer
AbstractOneLineTextFieldRenderer implementation for buttons with no kids.
fontflatRenderer| Constructor and Description |
|---|
InputButtonRenderer(InputButton modelElement)
Creates a new InputButtonRenderer instance.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustFieldLayout(com.itextpdf.layout.layout.LayoutContext layoutContext)
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.
|
com.itextpdf.layout.renderer.IRenderer |
getNextRenderer() |
protected boolean |
isRendererFit(float availableWidth, float availableHeight)
Checks if the renderer fits a certain width and height.
|
movedraw, drawChildren, getDefaultValue, getLang, getMinMaxWidth, getModelId, isFlatten, isLayoutBasedOnFlatRenderer, layout, writeAcroFormFieldLangAttributeapplyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, createOverflowRenderer, createRotationTransformInsideOccupiedArea, createSplitRenderer, endRotationIfApplied, getOccupiedAreaBBoxaddAllProperties, 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, 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, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMaxWidth, retrieveMinHeight, retrieveMinWidth, retrieveUnitValue, retrieveUnitValue, retrieveWidth, setBorders, setMinMaxWidthBasedOnFixedWidth, setParent, setProperty, toString, transformPoints, updateHeight, updateHeightsOnSplit, updateMaxHeight, updateMinHeight, updateWidthpublic InputButtonRenderer(InputButton modelElement)
InputButtonRenderer instance.
modelElement - the model element
public com.itextpdf.layout.renderer.IRenderer getNextRenderer()
protected void adjustFieldLayout(com.itextpdf.layout.layout.LayoutContext layoutContext)
AbstractFormFieldRenderer
adjustFieldLayout in class AbstractFormFieldRenderer
layoutContext - layout context
protected com.itextpdf.layout.renderer.IRenderer createFlatRenderer()
AbstractFormFieldRenderer
createFlatRenderer in class AbstractFormFieldRenderer
protected void applyAcroField(com.itextpdf.layout.renderer.DrawContext drawContext)
AbstractFormFieldRenderer
applyAcroField in class AbstractFormFieldRenderer
drawContext - the draw context
protected boolean isRendererFit(float availableWidth,
float availableHeight)
AbstractFormFieldRenderer
isRendererFit in class AbstractFormFieldRenderer
availableWidth - the available width
availableHeight - the available height
Copyright © 1998–2023 iText Group NV. All rights reserved.