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
      • setPdfConformance

        public CheckBox setPdfConformance​(PdfConformance conformance)
        Sets the conformance for the checkbox.
        Parameters:
        conformance - The PDF conformance to set.
        Returns:
        this 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