Package com.evopdf
Class PdfFormCheckBox
java.lang.Object
com.evopdf.PdfFormField
com.evopdf.PdfFormCheckBox
Represents a check box in a PDF form
-
Constructor Summary
ConstructorsConstructorDescriptionPdfFormCheckBox
(RectangleFloat box, boolean isChecked) Constructs a check box form fields -
Method Summary
Modifier and TypeMethodDescriptionboolean
checked()
Gets the initial status of the PDF form check box controlvoid
setChecked
(boolean isChecked) Sets the initial status of the PDF form check box controlMethods inherited from class com.evopdf.PdfFormField
boundingRectangle, defaultValue, export, flatten, name, parentForm, readOnly, required, setAction, setBoundingRectangle, setDefaultValue, setExport, setFlatten, setName, setReadOnly, setRequired, setStyle, setToolTip, style, toolTip
-
Constructor Details
-
PdfFormCheckBox
Constructs a check box form fields- Parameters:
box
- the check box control bounding boxisChecked
- the checked state of the text box
-
-
Method Details
-
checked
public boolean checked()Gets the initial status of the PDF form check box control- Returns:
- the initial status of the PDF form check box control
-
setChecked
public void setChecked(boolean isChecked) Sets the initial status of the PDF form check box control- Parameters:
isChecked
- the initial status to set
-