|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.pdfbox.pdmodel.interactive.form.PDField
org.pdfbox.pdmodel.interactive.form.PDPushButton
public class PDPushButton
A class for handling the PDF field as a PDPushButton.
| Field Summary |
|---|
| Fields inherited from class org.pdfbox.pdmodel.interactive.form.PDField |
|---|
FLAG_NO_EXPORT, FLAG_READ_ONLY, FLAG_REQUIRED |
| Constructor Summary | |
|---|---|
PDPushButton(PDAcroForm theAcroForm,
COSDictionary field)
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.pdfbox.pdmodel.interactive.form.PDField |
|---|
findFieldType, findKid, getAcroForm, getActions, getCOSObject, getDictionary, getFieldFlags, getFieldType, getFullyQualifiedName, getKids, getParent, getPartialName, getWidget, importFDF, isNoExport, isReadonly, isRequired, setAcroForm, setActions, setFieldFlags, setKids, setNoExport, setParent, setPartialName, setReadonly, setRequired, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
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)| Method Detail |
|---|
public void setValue(java.lang.String value)
throws java.io.IOException
PDField
setValue in class PDFieldvalue - The new value for the field.
java.io.IOException - If there is an error creating the appearance stream.as.interactive.pdf.form.cos.COSField#setValue(java.lang.String)
public java.lang.String getValue()
throws java.io.IOException
getValue in class PDFieldjava.io.IOException - If there is an error getting the value.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||