DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class JavaScriptResource

java.lang.Object
  extended by com.cete.dynamicpdf.Resource
      extended by 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 DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software