com.qoppa.pdf.form
Interface PushButtonField

All Superinterfaces:
FormField

public interface PushButtonField
extends FormField

PushButtonField holds a push button field.

Author:
Qoppa Software

Method Summary
 boolean isImageField()
          Checks whether this push button field is designated to be an image field.
 void setImage(BufferedImage bi)
          Set an image to display in the button fields.
 
Methods inherited from interface com.qoppa.pdf.form.FormField
addFieldListener, addKeyListener, addMouseListener, flattenField, getAltFieldName, getFieldName, getFieldTypeDesc, getFullFieldName, getMapFieldName, getUserName, getWidgets, isNoExport, isReadOnly, isRequired, removeFieldListener, reset, setAltFieldName, setComponentVisible, setFieldFlags, setFieldName, setHidden, setMapFieldName, setNoExport, setPrintable, setReadOnly, setRequired, setUserName
 

Method Detail

setImage

public void setImage(BufferedImage bi)
              throws PDFException
Set an image to display in the button fields. Push button fields in PDF can be used to load and display images. The field has to be an "image field", which is a push button field designated to hold images.

Parameters:
bi - The image to set in the field.
Throws:
PDFException

isImageField

public boolean isImageField()
Checks whether this push button field is designated to be an image field.

Returns:
true if the button is an image field.