org.pdfbox.pdmodel.interactive.form
Class PDPushButton
- COSObjectable
public class PDPushButton
A class for handling the PDF field as a PDPushButton.
String | getValue() - getValue gets the fields value to as a string.
|
void | setValue(String value)
|
findFieldType , findKid , getAcroForm , getActions , getCOSObject , getDictionary , getFieldFlags , getFieldType , getFullyQualifiedName , getKids , getParent , getPartialName , getValue , getWidget , importFDF , isNoExport , isReadonly , isRequired , setAcroForm , setActions , setFieldFlags , setKids , setNoExport , setParent , setPartialName , setReadonly , setRequired , setValue , toString |
PDPushButton
public PDPushButton(PDAcroForm theAcroForm,
COSDictionary field)
theAcroForm
- The acroForm for this field.field
- The field for this push button.
org.pdfbox.pdmodel.field.PDField.COSField(org.pdfbox.cos.COSDictionary)
getValue
public String getValue()
throws IOException
getValue gets the fields value to as a string.
- getValue in interface PDField
- The string value of this field.
setValue
public void setValue(String value)
throws IOException
- setValue in interface PDField
value
- The new value for the field.
as.interactive.pdf.form.cos.COSField.setValue(java.lang.String)