java.lang.Object | |||
↳ | com.pspdfkit.annotations.actions.Action | ||
↳ | com.pspdfkit.annotations.actions.AbstractFormAction | ||
↳ | com.pspdfkit.annotations.actions.ResetFormAction |
Resets one or more form fields to their default value.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
ResetFormAction(List<FormField> formFields, boolean excludeFormFields)
Creates action instance.
| |||||||||||
ResetFormAction(List<String> fieldNames, boolean excludeFormFields, List<Action> subActions)
Creates action instance.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | equals(Object o) | ||||||||||
ActionType |
getType()
Returns type of action to make down-casting easier.
| ||||||||||
int | hashCode() | ||||||||||
boolean |
shouldExcludeFormFields()
Indicates whether to include form fields in
getFieldNames() in the action or exclude
them. | ||||||||||
String | toString() |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() |
Creates action instance.
formFields | List of target form fields. |
---|---|
excludeFormFields | true to reset all fields except target form fields false to reset only the target form fields.
|
Creates action instance.
fieldNames | List of target form field names. |
---|---|
excludeFormFields | true to reset all fields except target form fields false to reset only the target form fields. |
subActions | List of sub-actions of this action. |
Returns type of action to make down-casting easier.
Indicates whether to include form fields in getFieldNames()
in the action or exclude
them.
false
, the list of fields specifies which fields to include. If true
, the list of fields indicates which fields to exclude.