public class ButtonRenderer
extends com.itextpdf.layout.renderer.BlockRenderer
AbstractOneLineTextFieldRenderer
implementation for buttons with kids.
Constructor and Description |
---|
ButtonRenderer(Button modelElement) |
Modifier and Type | Method and Description |
---|---|
void |
draw(com.itextpdf.layout.renderer.DrawContext drawContext) |
String |
getDefaultValue()
Gets the default value of the form field.
|
protected Float |
getLastYLineRecursively() |
protected String |
getModelId()
Gets the model id.
|
com.itextpdf.layout.renderer.IRenderer |
getNextRenderer() |
boolean |
isFlatten()
Checks if form fields need to be flattened.
|
applyBordersPaddingsMargins, applyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, createOverflowRenderer, createRotationTransformInsideOccupiedArea, createSplitRenderer, endRotationIfApplied, getMinMaxWidth, getOccupiedAreaBBox, layout
addAllProperties, 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, drawChildren, endElementOpacityApplying, endTransformationIfApplied, getBackgroundArea, getBorderAreaBBox, getBorderRadii, getBorders, getChildRenderers, getDefaultProperty, getFirstYLineRecursively, getInnerAreaBBox, 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
public ButtonRenderer(Button modelElement)
public void draw(com.itextpdf.layout.renderer.DrawContext drawContext)
draw
in interface com.itextpdf.layout.renderer.IRenderer
draw
in class com.itextpdf.layout.renderer.BlockRenderer
protected Float getLastYLineRecursively()
getLastYLineRecursively
in class com.itextpdf.layout.renderer.AbstractRenderer
public com.itextpdf.layout.renderer.IRenderer getNextRenderer()
protected String getModelId()
public boolean isFlatten()
public String getDefaultValue()
Copyright © 1998–2020 iText Group NV. All rights reserved.