Modifier and Type | Field and Description |
---|---|
static int |
FF_PUSHBUTTON
The field flag indicating the field is a push button.
|
FF_NOEXPORT, FF_READONLY, FF_REQUIRED, TYPE_BUTTON, TYPE_CHECKBOX, TYPE_COMBOBOX, TYPE_LISTBOX, TYPE_RADIOBUTTON, TYPE_SIGNATURE, TYPE_TEXT
Modifier and Type | Method and Description |
---|---|
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.
|
addFieldListener, addKeyListener, addMouseListener, flattenField, getAltFieldName, getFieldFlags, getFieldName, getFieldTypeDesc, getFullFieldName, getKids, getMapFieldName, getTriggerActions, getUserName, getWidgets, isEmpty, isNoExport, isReadOnly, isRequired, removeFieldListener, reset, setAltFieldName, setComponentVisible, setFieldFlags, setFieldName, setHidden, setMapFieldName, setNoExport, setPrintable, setReadOnly, setRequired, setTriggerActions, setUserName
static final int FF_PUSHBUTTON
void setImage(BufferedImage bi) throws PDFException
bi
- The image to set in the field.PDFException
- When there are any errors setting the image in the PDF.boolean isImageField()