public class RadioRenderer extends AbstractFormFieldRenderer
AbstractFormFieldRenderer implementation for radio buttons.flatRendererchildRenderers, EPS, flushed, INF, isLastRendererForModelElement, modelElement, occupiedArea, OVERLAP_EPSILON, parent, positionedRenderers, properties| Constructor and Description |
|---|
RadioRenderer(Radio modelElement)
Creates a new
RadioRenderer instance. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
adjustFieldLayout(LayoutContext layoutContext)
Adjusts the field layout.
|
protected void |
applyAcroField(DrawContext drawContext)
Applies the AcroField widget.
|
protected Rectangle |
applyBorderBox(Rectangle rect,
Border[] borders,
boolean reverse) |
protected IRenderer |
createFlatRenderer()
Creates the flat renderer instance.
|
void |
drawBackground(DrawContext drawContext) |
void |
drawBorder(DrawContext drawContext) |
IRenderer |
getNextRenderer() |
boolean |
isBoxChecked()
Defines whether the radio is checked or not.
|
protected boolean |
isLayoutBasedOnFlatRenderer()
Determines, whether the layout is based in the renderer itself or flat renderer.
|
applyAccessibilityProperties, draw, drawChildren, getConformance, getDefaultValue, getLang, getMinMaxWidth, getModelId, isFlatten, isRendererFit, layout, writeAcroFormFieldLangAttributeapplyRotationLayout, applyVerticalAlignment, beginRotationIfApplied, createOverflowRenderer, createRotationTransformInsideOccupiedArea, createSplitRenderer, endRotationIfApplied, getMinMaxWidth, getOccupiedAreaBBox, getResolvedFontaddAllProperties, addChild, alignChildHorizontally, allowLastYLineRecursiveExtraction, applyAbsolutePosition, applyAction, 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, 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, move, rectangleToPointsList, retrieveHeight, retrieveMaxHeight, retrieveMaxWidth, retrieveMinHeight, retrieveMinWidth, retrieveResolvedDeclaredHeight, retrieveUnitValue, retrieveUnitValue, retrieveWidth, setBorders, setMinMaxWidthBasedOnFixedWidth, setParent, setProperty, toString, transformPoints, updateHeight, updateHeightsOnSplit, updateMaxHeight, updateMinHeight, updateWidthpublic RadioRenderer(Radio modelElement)
RadioRenderer instance.modelElement - the model elementpublic IRenderer getNextRenderer()
public void drawBorder(DrawContext drawContext)
drawBorder in class AbstractRendererdrawContext - public void drawBackground(DrawContext drawContext)
drawBackground in class AbstractRendererdrawContext - protected Rectangle applyBorderBox(Rectangle rect, Border[] borders, boolean reverse)
applyBorderBox in class AbstractRendererrect - borders - reverse - protected IRenderer createFlatRenderer()
createFlatRenderer in class AbstractFormFieldRendererprotected void adjustFieldLayout(LayoutContext layoutContext)
adjustFieldLayout in class AbstractFormFieldRendererlayoutContext - layout contextpublic boolean isBoxChecked()
protected void applyAcroField(DrawContext drawContext)
applyAcroField in class AbstractFormFieldRendererdrawContext - the draw contextprotected boolean isLayoutBasedOnFlatRenderer()
isLayoutBasedOnFlatRenderer in class AbstractFormFieldRenderertrue if layout is based on flat renderer, false otherwise.Copyright © 1998–2025 Apryse Group NV. All rights reserved.