Package com.winnovative_software
Class PdfActionJavaScript
java.lang.Object
com.winnovative_software.PdfAction
com.winnovative_software.PdfActionJavaScript
Represents a JavaScript action in the PDF document
-
Constructor Summary
ConstructorsConstructorDescriptionPdfActionJavaScript
(String javaScript) Creates a JavaScript action based on a JavaScript string -
Method Summary
Modifier and TypeMethodDescriptionGets the JavaScript code executed by this actionvoid
setJavaScriptCode
(String javaScriptCode) Sets the JavaScript code executed by this action
-
Constructor Details
-
PdfActionJavaScript
Creates a JavaScript action based on a JavaScript string- Parameters:
javaScript
- the JavaScript code- Throws:
Exception
- an exception is thrown if the JavaScript code is null
-
-
Method Details
-
javaScriptCode
Gets the JavaScript code executed by this action- Returns:
- the JavaScript code executed by this action
-
setJavaScriptCode
Sets the JavaScript code executed by this action- Parameters:
javaScriptCode
- the JavaScript code executed by this action
-