Package com.itextpdf.forms.form.renderer
Class RadioRenderer.FlatParagraphRenderer
- java.lang.Object
-
- com.itextpdf.layout.renderer.AbstractRenderer
-
- com.itextpdf.layout.renderer.BlockRenderer
-
- com.itextpdf.layout.renderer.ParagraphRenderer
-
- com.itextpdf.forms.form.renderer.RadioRenderer.FlatParagraphRenderer
-
- All Implemented Interfaces:
IPropertyContainer,IRenderer
- Enclosing class:
- RadioRenderer
private class RadioRenderer.FlatParagraphRenderer extends ParagraphRenderer
-
-
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)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddrawBackground(DrawContext drawContext)Draws a background layer if it is defined by a keyProperty.BACKGROUNDin either the layout element or thisIRendereritself.voiddrawBorder(DrawContext drawContext)Performs the drawing operation for the border of this renderer, if defined by theProperty.BORDER_TOP,Property.BORDER_RIGHT,Property.BORDER_BOTTOMandProperty.BORDER_LEFTvalues in either the layout element or thisIRendereritself.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, 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)
-
-
Method Detail
-
drawChildren
public void drawChildren(DrawContext drawContext)
Description copied from class:ParagraphRendererPerforms the drawing operation for allchildrenof this renderer.- Overrides:
drawChildrenin classParagraphRenderer- Parameters:
drawContext- the context (canvas, document, etc) of this drawing operation.
-
drawBorder
public void drawBorder(DrawContext drawContext)
Performs the drawing operation for the border of this renderer, if defined by theProperty.BORDER_TOP,Property.BORDER_RIGHT,Property.BORDER_BOTTOMandProperty.BORDER_LEFTvalues in either the layout element or thisIRendereritself.- Overrides:
drawBorderin classAbstractRenderer- Parameters:
drawContext- the context (canvas, document, etc.) of this drawing operation
-
drawBackground
public void drawBackground(DrawContext drawContext)
Draws a background layer if it is defined by a keyProperty.BACKGROUNDin either the layout element or thisIRendereritself.- Overrides:
drawBackgroundin classAbstractRenderer- Parameters:
drawContext- the context (canvas, document, etc) of this drawing operation.
-
-