public class CheckButtonElement extends UiElement
contentElement, independentRotateAngle, positionState
attributes, borderDrawer, document, elementRec, elementTag, isDrawElement, para
Constructor and Description |
---|
CheckButtonElement(FormNode elementTag, XFARectangle elementRec, com.itextpdf.text.Document document, ContentElement contentElement, String hAlign, CaptionElement captionElement) |
Modifier and Type | Method and Description |
---|---|
PositionResult.State |
draw(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle parentBoundingBox) |
PositionResult.State |
drawAsField(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle parentBoundingBox, String alternateText, String name) |
static String |
getOnValue(FormNode checkButtonField) |
boolean |
isEmpty() |
protected boolean |
isTextWidget() |
applyMargins, getContentElement, getIndependentRotateAngle, isTagged, move, setIndependentRotateAngle, simulatePosition, unapplyMargins
drawBorder, drawBorder, getElementRec, setIsDrawElement
public CheckButtonElement(FormNode elementTag, XFARectangle elementRec, com.itextpdf.text.Document document, ContentElement contentElement, String hAlign, CaptionElement captionElement)
public PositionResult.State draw(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle parentBoundingBox) throws com.itextpdf.text.DocumentException, IOException
draw
in class UiElement
com.itextpdf.text.DocumentException
IOException
public PositionResult.State drawAsField(com.itextpdf.text.pdf.PdfContentByte canvas, XFARectangle parentBoundingBox, String alternateText, String name)
protected boolean isTextWidget()
isTextWidget
in class UiElement
Copyright (C) 1998-2019 iText Group NV. All Rights Reserved.