|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.AbstractCollection<E>
java.util.AbstractList<E>
java.util.ArrayList
aspose.pdf.JavaScripts
public class JavaScripts
Represents a collection of JavaScript
objects.
Typical usages are the following:
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. |
JavaScript |
add(java.lang.String script)
Initializes a new instance of the JavaScript class and add
it to the JavaScripts collection. |
JavaScript |
getJavaScript(int index)
Gets a JavaScript object from
the collection according to JavaScript index. |
JavaScript |
getJavaScript(java.lang.String jsID)
Gets a JavaScript object from the collection according to JavaScript ID. |
int |
indexOf(JavaScript js)
Gets the index of a specified JavaScript in the collection. |
void |
insert(int index,
JavaScript js)
Inserts a new JavaScript object into the collection at specified position. |
void |
Remove(Cell jsToRemove)
Removes a JavaScript object from the collection. |
void |
setJavaScript(int index,
JavaScript value)
Sets a JavaScript object from the collection according to JavaScript index. |
void |
setJavaScript(java.lang.String jsID,
JavaScript value)
Sets a JavaScript object from the collection according to JavaScript ID. |
Methods inherited from class java.util.ArrayList |
---|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, get, indexOf, isEmpty, lastIndexOf, remove, remove, set, size, toArray, toArray, trimToSize |
Methods inherited from class java.util.AbstractList |
---|
equals, hashCode, iterator, listIterator, listIterator, subList |
Methods inherited from class java.util.AbstractCollection |
---|
containsAll, removeAll, retainAll, toString |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.util.List |
---|
containsAll, equals, hashCode, iterator, listIterator, listIterator, removeAll, retainAll, subList |
Constructor Detail |
---|
public JavaScripts()
Method Detail |
---|
public JavaScript add()
JavaScript
class and add
it to the JavaScripts collection.
JavaScript
object that is created.public void add(JavaScript script)
JavaScript
object into the collection.
script
- The JavaScript
object to be added.public JavaScript add(java.lang.String script)
JavaScript
class and add
it to the JavaScripts collection.
script
- The content of the script.
JavaScript
object that is created.public JavaScript getJavaScript(int index)
JavaScript
object from
the collection according to JavaScript index.
index
- public void setJavaScript(int index, JavaScript value)
JavaScript
object from the collection according to JavaScript index.
index
- value
- public JavaScript getJavaScript(java.lang.String jsID)
JavaScript
object from the collection according to JavaScript ID.
jsID
- public void setJavaScript(java.lang.String jsID, JavaScript value)
JavaScript
object from the collection according to JavaScript ID.
jsID
- value
- public void insert(int index, JavaScript js)
JavaScript
object into the collection at specified position.
index
- The zero-based index at which JavaScript
object should be
inserted.js
- The JavaScript
object to be inserted.public void Remove(Cell jsToRemove)
JavaScript
object from the collection.
jsToRemove
- The JavaScript
object to be removed.public int indexOf(JavaScript js)
js
- The specified JavaScript
object.
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |