public class CheckBox extends FormField<CheckBox>
FormField class representing a checkbox so that
a CheckBoxRenderer is used instead of the default renderer for fields.tagPropertieschildElements, nextRenderer, stylesproperties| Constructor and Description |
|---|
CheckBox(String id)
Creates a new
CheckBox instance. |
| Modifier and Type | Method and Description |
|---|---|
AccessibilityProperties |
getAccessibilityProperties() |
protected IRenderer |
makeNewRenderer() |
CheckBox |
setCheckBoxType(CheckBoxType checkBoxType)
Sets the icon of the checkbox.
|
CheckBox |
setChecked(boolean checked)
Sets the checked state of the checkbox.
|
CheckBox |
setPdfAConformanceLevel(PdfAConformanceLevel conformanceLevel)
Deprecated.
|
CheckBox |
setPdfConformanceLevel(IConformanceLevel conformanceLevel)
Sets the conformance level for the checkbox.
|
CheckBox |
setSize(float size)
Sets the size of the checkbox.
|
getDefaultProperty, getId, setHeight, setInteractive, setValue, setWidthaddStyle, createRendererSubTree, getChildren, getProperty, getRenderer, hasProperty, isEmpty, setAction, setNextRenderer, setPageNumberdeleteOwnProperty, getOwnProperty, getSplitCharacters, getStrokeColor, getStrokeWidth, getTextRenderingMode, hasOwnProperty, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundImage, setBackgroundImage, setBaseDirection, setBold, setBorder, setBorderBottom, setBorderBottomLeftRadius, setBorderBottomRightRadius, setBorderLeft, setBorderRadius, setBorderRight, setBorderTop, setBorderTopLeftRadius, setBorderTopRightRadius, setCharacterSpacing, setDestination, setFixedPosition, setFixedPosition, setFixedPosition, setFixedPosition, setFont, setFontColor, setFontColor, setFontColor, setFontFamily, setFontFamily, setFontKerning, setFontScript, setFontSize, setHorizontalAlignment, setHyphenation, setItalic, setLineThrough, setOpacity, setProperty, setRelativePosition, setSplitCharacters, setStrokeColor, setStrokeWidth, setTextAlignment, setTextRenderingMode, setUnderline, setUnderline, setUnderline, setUnderline, setWordSpacingclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetChildrencreateRendererSubTree, getRenderer, setNextRendererdeleteOwnProperty, getOwnProperty, getProperty, hasOwnProperty, hasProperty, setPropertypublic CheckBox setChecked(boolean checked)
checked - the checked state to set@Deprecated public CheckBox setPdfAConformanceLevel(PdfAConformanceLevel conformanceLevel)
conformanceLevel - The PDF/A conformance level to set.public CheckBox setPdfConformanceLevel(IConformanceLevel conformanceLevel)
conformanceLevel - The PDF/A conformance level to set.public CheckBox setCheckBoxType(CheckBoxType checkBoxType)
checkBoxType - the type of the checkbox to setpublic CheckBox setSize(float size)
public AccessibilityProperties getAccessibilityProperties()
protected IRenderer makeNewRenderer()
makeNewRenderer in class AbstractElement<CheckBox>Copyright © 1998–2024 Apryse Group NV. All rights reserved.