DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class JavaScriptResource

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

public class JavaScriptResource
extends Resource

Represents a JavaScript resource.

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


Method Summary
 void draw(DocumentWriter writer)
          Draws the JavaScript resource to the given DocumentWriter object.
 int getRequiredPdfObjects()
          Gets the number of PDF objects required by the resource.
 
Methods inherited from class com.cete.dynamicpdf.Resource
getResourceType, getUid, newUid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getRequiredPdfObjects

public int getRequiredPdfObjects()
Gets the number of PDF objects required by the resource.

Overrides:
getRequiredPdfObjects in class Resource
Returns:
int the number of PDF objects required by the resource.

draw

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

Specified by:
draw in class Resource
Parameters:
writer - DocumentWriter object to receive the resource's output.
See Also:
DocumentWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDFTM v4.0.1 for Java generated on October 06, 2006
© Copyright 2006, ceTe Software