Package com.itextpdf.forms.form.renderer
Class CheckBoxRenderer.FlatParagraphRenderer
- java.lang.Object
-
- com.itextpdf.layout.renderer.AbstractRenderer
-
- com.itextpdf.layout.renderer.BlockRenderer
-
- com.itextpdf.layout.renderer.ParagraphRenderer
-
- com.itextpdf.forms.form.renderer.CheckBoxRenderer.FlatParagraphRenderer
-
- All Implemented Interfaces:
IPropertyContainer,IRenderer
- Enclosing class:
- CheckBoxRenderer
protected class CheckBoxRenderer.FlatParagraphRenderer extends ParagraphRenderer
A flat renderer for the checkbox.
-
-
Field Summary
-
Fields inherited from class com.itextpdf.layout.renderer.ParagraphRenderer
lines
-
Fields inherited from class com.itextpdf.layout.renderer.AbstractRenderer
childRenderers, EPS, flushed, INF, isLastRendererForModelElement, modelElement, occupiedArea, OVERLAP_EPSILON, parent, positionedRenderers, properties
-
-
Constructor Summary
Constructors Constructor Description FlatParagraphRenderer(Paragraph modelElement)Creates a newCheckBoxRenderer.FlatParagraphRendererinstance.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrawChildren(DrawContext drawContext)Performs the drawing operation for allchildrenof this renderer.-
Methods inherited from class com.itextpdf.layout.renderer.ParagraphRenderer
createOverflowRenderer, createOverflowRenderer, createSplitRenderer, directLayout, getDefaultProperty, getFirstYLineRecursively, getLastYLineRecursively, getLines, getMinMaxWidth, getNextRenderer, layout, move, split, toString
-
Methods inherited from class com.itextpdf.layout.renderer.BlockRenderer
applyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, createRotationTransformInsideOccupiedArea, createSplitRenderer, draw, endRotationIfApplied, getMinMaxWidth, getOccupiedAreaBBox, getResolvedFont
-
Methods inherited from class com.itextpdf.layout.renderer.AbstractRenderer
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, endElementOpacityApplying, endTransformationIfApplied, getBackgroundArea, getBorderAreaBBox, getBorderRadii, getBorders, getChildRenderers, 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, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMaxWidth, retrieveMinHeight, retrieveMinWidth, retrieveResolvedDeclaredHeight, retrieveUnitValue, retrieveUnitValue, retrieveWidth, setBorders, setMinMaxWidthBasedOnFixedWidth, setParent, setProperty, transformPoints, updateHeight, updateHeightsOnSplit, updateMaxHeight, updateMinHeight, updateWidth
-
-
-
-
Constructor Detail
-
FlatParagraphRenderer
public FlatParagraphRenderer(Paragraph modelElement)
Creates a newCheckBoxRenderer.FlatParagraphRendererinstance.- Parameters:
modelElement- the model element
-
-
Method Detail
-
drawChildren
public void drawChildren(DrawContext drawContext)
Performs the drawing operation for allchildrenof this renderer.- Overrides:
drawChildrenin classParagraphRenderer- Parameters:
drawContext- the context (canvas, document, etc) of this drawing operation.
-
-