| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.cete.dynamicpdf.Template
com.cete.dynamicpdf.EvenOddTemplate
public class EvenOddTemplate
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.
Licensing:
This class is a DynamicPDF Generator Community Edition feature.
| Constructor Summary | |
|---|---|
| EvenOddTemplate()Initializes a new instance of the Templateclass. | |
| Method Summary | |
|---|---|
|  void | draw(PageWriter writer)Draws the template's page elements to the given PageWriterobject. | 
|  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. | 
|  boolean | hasPageElements(int pageNumber)Returns a value indicating if the template has page elements for the given page. | 
| 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 | 
|---|
public EvenOddTemplate()
Template class.
Template| Method Detail | 
|---|
public Group getEvenElements()
public Group getOddElements()
public void draw(PageWriter writer)
PageWriter object.
draw in class Templatewriter - PageWriter object to receive the template's output.PageWriterpublic boolean hasPageElements(int pageNumber)
pageNumber - The page number to check.
| 
 | DynamicPDF by ceTe Software | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||