com.lowagie.text.pdf.events

Class PdfPCellEventForwarder

public class PdfPCellEventForwarder extends Object implements PdfPCellEvent

If you want to add more than one event to a cell, you have to construct a PdfPCellEventForwarder, add the different events to this object and add the forwarder to the PdfPCell.
Field Summary
protected ArrayListevents
ArrayList containing all the PageEvents that have to be executed.
Method Summary
voidaddCellEvent(PdfPCellEvent event)
Add a page event to the forwarder.
voidcellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)

Field Detail

events

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

Method Detail

addCellEvent

public void addCellEvent(PdfPCellEvent event)
Add a page event to the forwarder.

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

cellLayout

public void cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases)

See Also: (com.lowagie.text.pdf.PdfPCell, com.lowagie.text.Rectangle, com.lowagie.text.pdf.PdfContentByte[])