Class PDPushButton

  • All Implemented Interfaces:
    COSObjectable

    public class PDPushButton
    extends PDField
    A class for handling the PDF field as a PDPushButton.
    Version:
    $Revision: 1.3 $
    Author:
    sug
    • Method Detail

      • setValue

        public void setValue​(java.lang.String value)
                      throws java.io.IOException
        Description copied from class: PDField
        setValue sets the fields value to a given string.
        Specified by:
        setValue in class PDField
        Parameters:
        value - The new value for the field.
        Throws:
        java.io.IOException - If there is an error creating the appearance stream.
        See Also:
        PDField.setValue(java.lang.String)
      • 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.