InputButtonRenderer in next major release.@Deprecated public class ButtonRenderer extends AbstractOneLineTextFieldRenderer
AbstractOneLineTextFieldRenderer implementation for buttons with no kids.baselinefontflatRenderer| Constructor and Description |
|---|
ButtonRenderer(Button modelElement)
Deprecated.
Creates a new
ButtonRenderer instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustFieldLayout()
Deprecated.
Adjusts the field layout.
|
protected void |
adjustFieldLayout(com.itextpdf.layout.layout.LayoutContext layoutContext)
Deprecated.
|
protected void |
applyAcroField(com.itextpdf.layout.renderer.DrawContext drawContext)
Deprecated.
Applies the AcroField widget.
|
protected com.itextpdf.layout.renderer.IRenderer |
createFlatRenderer()
Deprecated.
Creates the flat renderer instance.
|
com.itextpdf.layout.renderer.IRenderer |
getNextRenderer()
Deprecated.
|
protected boolean |
isRendererFit(float availableWidth,
float availableHeight)
Deprecated.
Checks if the renderer fits a certain width and height.
|
movedraw, drawChildren, getAscent, getContentWidth, getDefaultValue, getDescent, getMinMaxWidth, getModelId, isFlatten, isLayoutBasedOnFlatRenderer, layout, retrieveWidthapplyBordersPaddingsMargins, applyRotationLayout, 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, 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, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMaxWidth, retrieveMinHeight, retrieveMinWidth, retrieveUnitValue, retrieveUnitValue, setBorders, setMinMaxWidthBasedOnFixedWidth, setParent, setProperty, toString, transformPoints, updateHeight, updateHeightsOnSplit, updateMaxHeight, updateMinHeight, updateWidthclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic ButtonRenderer(Button modelElement)
ButtonRenderer instance.modelElement - the model elementpublic com.itextpdf.layout.renderer.IRenderer getNextRenderer()
protected void adjustFieldLayout()
AbstractFormFieldRendereradjustFieldLayout in class AbstractFormFieldRendererprotected void adjustFieldLayout(com.itextpdf.layout.layout.LayoutContext layoutContext)
adjustFieldLayout 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 boolean isRendererFit(float availableWidth,
float availableHeight)
AbstractFormFieldRendererisRendererFit in class AbstractFormFieldRendereravailableWidth - the available widthavailableHeight - the available heightCopyright © 1998–2019 iText Group NV. All rights reserved.