|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.cete.dynamicpdf.Resource com.cete.dynamicpdf.DocumentJavaScriptList
public class DocumentJavaScriptList
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:
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 |
size()
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 |
---|
public int size()
DocumentJavaScriptList
.
public DocumentJavaScript getDocumentJavaScript(int index)
DocumentJavaScript
at the given index.
index
- The index of the docuemntJavaScript
DocumentJavaScript
public DocumentJavaScript getDocumentJavaScript(java.lang.String name)
DocumentJavaScript
with the name.
name
- name of the document java Script.
DocumentJavaScript
public void draw(DocumentWriter writer)
DocumentWriter
object.
draw
in class Resource
writer
- DocumentWriter
object to receive the JavaScript entries.DocumentWriter
public void add(DocumentJavaScript javaScript)
DocumentJavaScript
to the DocumentJavaScriptList.
javaScript
- DocumentJavaScript to add.DocumentJavaScript
public boolean containsName(java.lang.String name)
name
- Name to check if it is in the JavaScript entries.
|
DynamicPDF by ceTe Software | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |