DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class DocumentJavaScriptList

java.lang.Object
  |
  +--com.cete.dynamicpdf.Resource
        |
        +--com.cete.dynamicpdf.DocumentJavaScriptList

public class DocumentJavaScriptList
extends Resource

Represents a list of JavaScript entries.

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

View Example


Method Summary
 void add(DocumentJavaScript javaScript)
          Adds a DocumentJavaScript to the DocumentJavaScriptList.
 boolean containsName(java.lang.String name)
          Returns a value indicating whether the provided name is found in the list of JavaScript entries.
 void draw(DocumentWriter writer)
          Draws the JavaScript entries to the given DocumentWriter object.
 DocumentJavaScript getDocumentJavaScript(int index)
          Gets the DocumentJavaScript at the given index.
 DocumentJavaScript getDocumentJavaScript(java.lang.String name)
          Gets the DocumentJavaScript with the name.
 int getSize()
          Gets the number of JavaScript entries actually contained in the DocumentJavaScriptList.
 
Methods inherited from class com.cete.dynamicpdf.Resource
getRequiredPdfObjects, getResourceType, getUid, newUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSize

public int getSize()
Gets the number of JavaScript entries actually contained in the DocumentJavaScriptList.


getDocumentJavaScript

public DocumentJavaScript getDocumentJavaScript(int index)
Gets the DocumentJavaScript at the given index.

Parameters:
index - The index of the docuemntJavaScript
See Also:
DocumentJavaScript

getDocumentJavaScript

public DocumentJavaScript getDocumentJavaScript(java.lang.String name)
Gets the DocumentJavaScript with the name.

Parameters:
name - name of the documentjavaScript.
See Also:
DocumentJavaScript

draw

public void draw(DocumentWriter writer)
Draws the JavaScript entries to the given DocumentWriter object.

Specified by:
draw in class Resource
Parameters:
writer - DocumentWriter object to receive the JavaScript entries.
See Also:
DocumentWriter

add

public void add(DocumentJavaScript javaScript)
Adds a DocumentJavaScript to the DocumentJavaScriptList.

Parameters:
javaScript - DocumentJavaScript to add.
See Also:
DocumentJavaScript

containsName

public boolean containsName(java.lang.String name)
Returns a value indicating whether the provided name is found in the list of JavaScript entries.

Parameters:
name - Name to check if it is in the JavaScript entries.
Returns:
boolean value indicating whether the provided name is found in the list of JavaScript entries.

DynamicPDF by ceTe Software

API Reference for DynamicPDFTM v4.0.3 for Java generated on March 22, 2007
© Copyright 2007, ceTe Software