| java.lang.Object | |||
| ↳ | com.pspdfkit.annotations.actions.Action | ||
| ↳ | com.pspdfkit.annotations.actions.AbstractFormAction | ||
| ↳ | com.pspdfkit.annotations.actions.SubmitFormAction | ||
PDF action for sending form data to a URI.
| Nested Classes | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| enum | SubmitFormAction.SubmitFormActionFlag | Flags specifying various characteristics of form submit action. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
SubmitFormAction(String uri, List<FormField> formFields, EnumSet<SubmitFormAction.SubmitFormActionFlag> flags)
Creates action instance.
| |||||||||||
|
SubmitFormAction(String uri, List<String> fieldNames, EnumSet<SubmitFormAction.SubmitFormActionFlag> flags, List<Action> subActions)
Creates action instance.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| boolean | equals(Object o) | ||||||||||
| EnumSet<SubmitFormAction.SubmitFormActionFlag> |
getFlags()
A set of flags specifying various characteristics of this action.
| ||||||||||
| Observable<List<FormField>> |
getFormFieldsAsync(PdfDocument document)
Resolves target form fields that should be submitted.
| ||||||||||
| ActionType |
getType()
Returns type of action to make down-casting easier.
| ||||||||||
| String |
getUri()
The target URI for form submission.
| ||||||||||
| int | hashCode() | ||||||||||
| boolean |
shouldExcludeFormFields()
Indicates whether to include form fields in
getFieldNames() in the action or exclude them. | ||||||||||
| String | toString() | ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.pspdfkit.annotations.actions.AbstractFormAction
| |||||||||||
From class
com.pspdfkit.annotations.actions.Action
| |||||||||||
From class
java.lang.Object
| |||||||||||
Creates action instance.
| uri | Uri of the target to which to submit form data. |
|---|---|
| formFields | List of target form fields. |
| flags | A set of flags specifying various characteristics of this action. |
Creates action instance.
| uri | Uri of the target to which to submit form data. |
|---|---|
| fieldNames | List of target form field names. |
| flags | A set of flags specifying various characteristics of this action. |
| subActions | List of sub-actions of this action. |
A set of flags specifying various characteristics of this action.
Resolves target form fields that should be submitted.
| document | Owning document. |
|---|
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.