DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class Template

java.lang.Object
  extended by com.cete.dynamicpdf.Template
Direct Known Subclasses:
EvenOddTemplate, HeaderFooterTemplate

public class Template
extends java.lang.Object

Represents a document or section template.

Licensing:
This class is a DynamicPDF Generator Community Edition feature.

View Example


Constructor Summary
Template()
          Initializes a new instance of the Template class.
 
Method Summary
 void draw(PageWriter writer)
          Draws the template's page elements to the given PageWriter object.
 Group getElements()
          Gets the page elements that will be applied by the template to all pages.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Template

public Template()
Initializes a new instance of the Template class.

See Also:
Template
Method Detail

draw

public void draw(PageWriter writer)
Draws the template's page elements to the given PageWriter object.

Parameters:
writer - PageWriter object to receive the template's output.
See Also:
PageWriter

getElements

public Group getElements()
Gets the page elements that will be applied by the template to all pages.

Returns:
the page elements that will be applied by the template to all pages.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software