ResetFormAction Class
An action that resets PDF form fields to their default values.
Declaration
public class ResetFormAction extends InteractiveAction
Remarks
The ResetFormAction class defines a form reset action that clears or restores values of specified form fields.
Use the setFields method to specify form fields affected by the action.
Call the setExcludeFields(true) method to reset all form fields except the specified fields.
Inherited Members
Inheritance
ResetFormAction()
Initializes a new instance of the ResetFormAction class.
Declaration
public ResetFormAction()
Methods
getExcludeFields() Method
Returns whether the specified form fields are excluded from the reset operation.
Declaration
public boolean getExcludeFields()
Returns
| Type | Description |
|---|---|
| boolean |
|
getFields() Method
Returns form fields associated with the reset action.
Declaration
public List<FormField> getFields()
Returns
| Type | Description |
|---|---|
| java.util.List<FormField> | A list of |
setExcludeFields(boolean value) Method
Sets whether the specified form fields are excluded from the reset operation.
Declaration
public void setExcludeFields(boolean value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | boolean |
|
setFields(List<FormField> value) Method
Sets form fields associated with the reset action.
Declaration
public void setFields(List<FormField> value)
Parameters
| Name | Type | Description |
|---|---|---|
| value | java.util.List<FormField> | A list of |