public class PDPushButton extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED| Constructor and Description |
|---|
PDPushButton(PDAcroForm theAcroForm,
COSDictionary field) |
| Modifier and Type | Method and Description |
|---|---|
String |
getValue()
getValue gets the fields value to as a string.
|
void |
setValue(String value)
setValue sets the fields value to a given string.
|
findFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setAlternateFieldName, setFieldFlags, setFieldType, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, toStringpublic PDPushButton(PDAcroForm theAcroForm, COSDictionary field)
theAcroForm - The acroForm for this field.field - The field for this push button.PDField.PDField(PDAcroForm, COSDictionary)public void setValue(String value) throws IOException
PDFieldsetValue in class PDFieldvalue - The new value for the field.IOException - If there is an error creating the appearance stream.PDField.setValue(java.lang.String)public String getValue() throws IOException
getValue in class PDFieldIOException - If there is an error getting the value.Copyright © 2002-2015 The Apache Software Foundation. All Rights Reserved.