DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class JavaScriptAction

java.lang.Object
  extended by com.cete.dynamicpdf.Action
      extended by com.cete.dynamicpdf.OutlineAnnotationAction
          extended by com.cete.dynamicpdf.JavaScriptAction

public class JavaScriptAction
extends OutlineAnnotationAction

Represents a JavaScript action.

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

View Example


Field Summary
 
Fields inherited from class com.cete.dynamicpdf.Action
text_A, text_Next, text_S, text_Type
 
Constructor Summary
JavaScriptAction(java.lang.String javaScript)
          Initializes a new instance of the JavaScriptAction class.
 
Method Summary
 void draw(DocumentWriter writer)
          Draws the action to the specified DocumentWriter object.
 
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

JavaScriptAction

public JavaScriptAction(java.lang.String javaScript)
Initializes a new instance of the JavaScriptAction class.

Parameters:
javaScript - The JavaScript code.
Method Detail

draw

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

Specified by:
draw in class Action
Parameters:
writer - The DocumentWriter object to receive the actions output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software