COSObjectablepublic class PDPushButton extends PDField
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED| Constructor | Description |
|---|---|
PDPushButton(PDAcroForm theAcroForm,
COSDictionary field) |
| Modifier and Type | Method | Description |
|---|---|---|
java.lang.String |
getValue() |
getValue gets the fields value to as a string.
|
void |
setValue(java.lang.String value) |
setValue sets the fields value to a given string.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindFieldType, findKid, getAcroForm, getActions, getAlternateFieldName, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, getWidgets, 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(PDAcroForm, COSDictionary)public void setValue(java.lang.String value)
throws java.io.IOException
PDFieldsetValue in class PDFieldvalue - The new value for the field.java.io.IOException - If there is an error creating the appearance stream.PDField.setValue(java.lang.String)