net.sf.jzeno.reporting.pdf
Class PdfReportRenderer
java.lang.Object
net.sf.jzeno.reporting.pdf.PdfReportRenderer
public class PdfReportRenderer
- extends java.lang.Object
Recursive rendering to PDF
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PdfReportRenderer
public PdfReportRenderer()
render
public static com.lowagie.text.Element render(com.lowagie.text.Document doc,
Component root,
com.lowagie.text.pdf.PdfWriter writer)
throws com.lowagie.text.DocumentException
- Throws:
com.lowagie.text.DocumentException
renderComponent
public static com.lowagie.text.Element renderComponent(Component component,
PdfRenderContext renderContext)
throws com.lowagie.text.DocumentException
- Render a component in its context.
- Parameters:
component
- renderContext
-
- Returns:
-
- Throws:
com.lowagie.text.DocumentException
renderChildren
public static com.lowagie.text.Element renderChildren(Component parentComponent,
PdfRenderContext renderContext)
throws com.lowagie.text.DocumentException
- Render multiple child components in a table. If there is more than 1
child, then the children are enclosed by a PdfPTable. Effective rendering
is dispatch to renderComponent
- Parameters:
childComponents
- renderContext
-
- Returns:
-
- Throws:
com.lowagie.text.DocumentException