DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements.forms
Class SubmitAction

java.lang.Object
  extended by com.cete.dynamicpdf.Action
      extended by com.cete.dynamicpdf.OutlineAnnotationAction
          extended by com.cete.dynamicpdf.pageelements.forms.SubmitAction

public class SubmitAction
extends OutlineAnnotationAction

Class represents the submit-form actions.

A submit-form action transmits the names and values of selected interactive form fields to a specified uniform resource locator(URL).

Licensing:
This class is a DynamicPDF Generator Enterprise Edition feature. One of the following licenses is required for non-evaluation usage:


Field Summary
 
Fields inherited from class com.cete.dynamicpdf.Action
text_A, text_Next, text_S, text_Type
 
Constructor Summary
SubmitAction(java.lang.String url)
          Creates a new instance of SubmitAction class.
SubmitAction(java.lang.String url, FormExportFormat exportFormat)
          Creates a new instance of SubmitAction class.
 
Method Summary
 void draw(DocumentWriter writer)
          Draws the submit-form action to the specified DocumentWriter object.
 FormExportFormat getExportFormat()
          Gets the export format of a submit action.
 java.lang.String getUrl()
          Gets the url.
 void setExportFormat(FormExportFormat exportFormat)
          Sets the export format of a submit action.
 void setUrl(java.lang.String url)
          Sets the url.
 
Methods inherited from class com.cete.dynamicpdf.OutlineAnnotationAction
getNextAction, setNextAction
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SubmitAction

public SubmitAction(java.lang.String url)
Creates a new instance of SubmitAction class.

Parameters:
url - URL to which the submit-form action transmits the names and values. By default, field names and values are submitted in HTML Form format. Using a POST request.

SubmitAction

public SubmitAction(java.lang.String url,
                    FormExportFormat exportFormat)
Creates a new instance of SubmitAction class.

Parameters:
url - URL to which the submit-form action transmits the names and values.
exportFormat - Specifies the submit export format type.
Method Detail

setUrl

public void setUrl(java.lang.String url)
Sets the url.

Parameters:
url - the rul of the action.

getUrl

public java.lang.String getUrl()
Gets the url.

Returns:
the url of the action.

getExportFormat

public FormExportFormat getExportFormat()
Gets the export format of a submit action.

Returns:
the export format of a submit action.

setExportFormat

public void setExportFormat(FormExportFormat exportFormat)
Sets the export format of a submit action.

Parameters:
exportFormat - the export format of a submit action.

draw

public void draw(DocumentWriter writer)
Draws the submit-form action to the specified DocumentWriter object.

Specified by:
draw in class Action
Parameters:
writer - DocumentWriter object to receive the submit-form's action output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software