com.justformspdf.pdf
Class FormButton
java.lang.Object
|
+--com.justformspdf.lib.PDFObjectImp
|
+--com.justformspdf.lib.PDFObjectGeneric
|
+--com.justformspdf.pdf.FormElement
|
+--com.justformspdf.pdf.FormButton
- All Implemented Interfaces:
- com.justformspdf.lib.PDFObject
- public class FormButton
-
extends FormElement
This class represents the Button field of PDF Forms.
Like buttons found on webpages, buttons perform a function, such as submitting the form information, emailing the form, resetting the form fields so they may be filled in again, or other executables. From the Form Properties box, it is possible to set the appearance of the button (color, text, etc.) and the function (Adobe pre-defined functions or executable scripts).
Constructor Summary |
FormButton(java.lang.String name)
|
Method Summary |
void |
setCaption(java.lang.String caption)
Set the caption of Form button. |
FormButton
public FormButton(java.lang.String name)
setCaption
public void setCaption(java.lang.String caption)
throws java.lang.Exception
-
Set the caption of Form button.
-
- Parameters:
caption
-
- Throws:
java.lang.Exception