Class PDCheckbox

    • Method Detail

      • isChecked

        public boolean isChecked()
        This will tell if this radio button is currently checked or not.
        Returns:
        true If the radio button is checked.
      • check

        public void check()
        Checks the radiobutton.
      • unCheck

        public void unCheck()
        Unchecks the radiobutton.
      • setValue

        public void setValue​(java.lang.String newValue)
        setValue sets the fields value to a given string.
        Specified by:
        setValue in class PDField
        Parameters:
        newValue - the string value
      • getOffValue

        public java.lang.String getOffValue()
        This will get the value of the radio button.
        Returns:
        The value of the radio button.
      • getOnValue

        public java.lang.String getOnValue()
        This will get the value of the radio button.
        Returns:
        The value of the radio button.
      • getValue

        public java.lang.String getValue()
                                  throws java.io.IOException
        getValue gets the fields value to as a string.
        Specified by:
        getValue in class PDField
        Returns:
        The string value of this field.
        Throws:
        java.io.IOException - If there is an error getting the value.