DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class DocumentJavaScript

java.lang.Object
  extended by com.cete.dynamicpdf.DocumentJavaScript

public class DocumentJavaScript
extends java.lang.Object

Represents a PDF documents JavaScript entry.

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

View Example


Constructor Summary
DocumentJavaScript(java.lang.String name, java.lang.String javaScript)
          Creates a new instance of DocumentJavaScript class.
 
Method Summary
 void drawReference(DocumentWriter writer)
          Draws a reference to the JavaScript indirect object.
 java.lang.String getJavaScript()
          Gets the actual JavaScript.
 java.lang.String getName()
          Gets the name of the JavaScript entry.
 void setJavaScript(java.lang.String jscript)
          sets the actual JavaScript.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DocumentJavaScript

public DocumentJavaScript(java.lang.String name,
                          java.lang.String javaScript)
Creates a new instance of DocumentJavaScript class.

Parameters:
name - the name of the java script.
javaScript - the java script.
Method Detail

getName

public java.lang.String getName()
Gets the name of the JavaScript entry.

Returns:
the name of the JavaScript entry.

getJavaScript

public java.lang.String getJavaScript()
Gets the actual JavaScript.

Returns:
the actual JavaScript.

setJavaScript

public void setJavaScript(java.lang.String jscript)
sets the actual JavaScript.

Parameters:
jscript - the actual JavaScript.

drawReference

public void drawReference(DocumentWriter writer)
Draws a reference to the JavaScript indirect object.

Parameters:
writer - DocumentWriter object to receive the JavaScript indirect object.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

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