DynamicPDF by ceTe Software

com.cete.dynamicpdf
Class EvenOddTemplate

java.lang.Object
  |
  +--com.cete.dynamicpdf.Template
        |
        +--com.cete.dynamicpdf.EvenOddTemplate

public class EvenOddTemplate
extends Template

This class can be used to define a template that can contain separate information to go on even and odd pages. See the Templates topic for more on Templates.

View Example


Constructor Summary
EvenOddTemplate()
          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 getEvenElements()
          Gets the page elements that will be applied by the template to even pages.
 Group getOddElements()
          Gets the page elements that will be applied by the template to odd pages.
 
Methods inherited from class com.cete.dynamicpdf.Template
getElements
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvenOddTemplate

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

See Also:
Template
Method Detail

getEvenElements

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


getOddElements

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


draw

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

Overrides:
draw in class Template
Parameters:
writer - PageWriter object to receive the template's output.
See Also:
PageWriter

DynamicPDF by ceTe Software

API Reference for DynamicPDF™ for Java generated on December 20, 2005
© Copyright 2005, ceTe Software