Package com.lowagie.text.pdf
Interface PdfPCellEvent
- All Known Implementing Classes:
FieldPositioningEvents,PdfPCellEventForwarder,SimpleCell
public interface PdfPCellEvent
An event called for a single cell.
- Author:
- Paulo Soares (psoares@consiste.pt)
-
Method Summary
Modifier and TypeMethodDescriptionvoidcellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) This method is called at the end of the cell rendering.
-
Method Details
-
cellLayout
This method is called at the end of the cell rendering. The text or graphics are added to one of the 4PdfContentBytecontained incanvases.
The indexes tocanvasesare:PdfPTable.BASECANVAS- the originalPdfContentByte. Anything placed here will be under the cell.PdfPTable.BACKGROUNDCANVAS- the layer where the background goes to.PdfPTable.LINECANVAS- the layer where the lines go to.PdfPTable.TEXTCANVAS- the layer where the text go to. Anything placed here will be over the cell.
- Parameters:
cell- the cellposition- the coordinates of the cellcanvases- an array ofPdfContentByte
-