com.lowagie.text.pdf.events

Class PdfPTableEventForwarder

public class PdfPTableEventForwarder extends Object implements PdfPTableEvent

If you want to add more than one page event to a PdfPTable, you have to construct a PdfPTableEventForwarder, add the different events to this object and add the forwarder to the PdfWriter.
Field Summary
protected ArrayListevents
ArrayList containing all the PageEvents that have to be executed.
Method Summary
voidaddTableEvent(PdfPTableEvent event)
Add a page event to the forwarder.
voidtableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases)

Field Detail

events

protected ArrayList events
ArrayList containing all the PageEvents that have to be executed.

Method Detail

addTableEvent

public void addTableEvent(PdfPTableEvent event)
Add a page event to the forwarder.

Parameters: event an event that has to be added to the forwarder.

tableLayout

public void tableLayout(PdfPTable table, float[][] widths, float[] heights, int headerRows, int rowStart, PdfContentByte[] canvases)

See Also: (com.lowagie.text.pdf.PdfPTable, float[][], float[], int, int, com.lowagie.text.pdf.PdfContentByte[])