Class CheckBox

    • Field Detail

      • LOGGER

        private static final org.slf4j.Logger LOGGER
    • Constructor Detail

      • CheckBox

        public CheckBox​(java.lang.String id)
        Creates a new CheckBox instance.
        Parameters:
        id - the id
    • Method Detail

      • setChecked

        public CheckBox setChecked​(boolean checked)
        Sets the checked state of the checkbox.
        Parameters:
        checked - the checked state to set
        Returns:
        this checkbox instance
      • setPdfAConformanceLevel

        @Deprecated
        public CheckBox setPdfAConformanceLevel​(PdfAConformanceLevel conformanceLevel)
        Deprecated.
        Sets the PDF/A conformance level for the checkbox. This method is deprecated use setPdfConformanceLevel.
        Parameters:
        conformanceLevel - The PDF/A conformance level to set.
        Returns:
        This checkbox instance.
      • setPdfConformanceLevel

        public CheckBox setPdfConformanceLevel​(IConformanceLevel conformanceLevel)
        Sets the conformance level for the checkbox.
        Parameters:
        conformanceLevel - The PDF/A conformance level to set.
        Returns:
        tThis checkbox instance.
      • setCheckBoxType

        public CheckBox setCheckBoxType​(CheckBoxType checkBoxType)
        Sets the icon of the checkbox.
        Parameters:
        checkBoxType - the type of the checkbox to set
        Returns:
        this checkbox instance
      • setSize

        public CheckBox setSize​(float size)
        Sets the size of the checkbox.
        Overrides:
        setSize in class FormField<CheckBox>
        Parameters:
        size - the size of the checkbox to set, in points
        Returns:
        this checkbox instance