| java.lang.Object | |||
| ↳ | com.pspdfkit.forms.FormElement | ||
| ↳ | com.pspdfkit.forms.ButtonFormElement | ||
| ↳ | com.pspdfkit.forms.PushButtonFormElement | ||
A simple push button that responds immediately to user input without retaining any state.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Action |
getAction()
Returns the action that should be performed once this push button is pressed.
| ||||||||||
| Bitmap |
getBitmap()
Returns the bitmap set for this push button form element.
| ||||||||||
| PushButtonFormField |
getFormField()
Retrieve parent form field.
| ||||||||||
| FormType |
getType()
Gets form type for
PushButtonFormElement. | ||||||||||
| void |
setAction(Action action)
Sets action to the link annotation.
| ||||||||||
| void |
setBitmap(Bitmap bitmap)
Sets a custom bitmap for this button form element.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pspdfkit.forms.FormElement
| |||||||||||
From class
java.lang.Object
| |||||||||||
Returns the action that should be performed once this push button is pressed.
null when no action exists.
Returns the bitmap set for this push button form element.
null.
Retrieve parent form field.
Gets form type for PushButtonFormElement. See FormType.
PushButtonFormElement.
Sets action to the link annotation.
| action | Action to be activated when the push button form element is pressed, null to remove action.
|
|---|
Sets a custom bitmap for this button form element.
| bitmap | Bitmap to be used for this push button. |
|---|