com.aspose.pdf.elements
Class JavaScripts

java.lang.Object
  extended by com.aspose.pdf.elements.JavaScripts

public class JavaScripts
extends java.lang.Object

Represents a collection of JavaScript objects. *


Constructor Summary
JavaScripts()
           
 
Method Summary
 JavaScript add()
          Initializes a new instance of the JavaScript class and add it to the JavaScripts collection.
 void add(JavaScript script)
          Adds a new JavaScript object into the collection.
 void add(java.lang.String script)
          Initializes a new instance of the JavaScript class and add it to the JavaScripts collection.
 java.util.ArrayList getJavaScriptList()
          Get all the JavaScript it contains.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JavaScripts

public JavaScripts()
Method Detail

add

public JavaScript add()
Initializes a new instance of the JavaScript class and add it to the JavaScripts collection.

Returns:
The JavaScript object that is created.

add

public void add(java.lang.String script)
Initializes a new instance of the JavaScript class and add it to the JavaScripts collection.


add

public void add(JavaScript script)
Adds a new JavaScript object into the collection.

Parameters:
script - The JavaScript object to be added.

getJavaScriptList

public java.util.ArrayList getJavaScriptList()
Get all the JavaScript it contains.

Returns:
all JavaScript are stored in an ArrayList.