class PdfPCellEventForwarder implements PdfPCellEvent {

    /**
     * ArrayList containing all the PageEvents that have to be executed.
     */
    protected List<PdfPCellEvent> events = new ArrayList<>();

    /**
     * Add a page event to the forwarder.
     *
     * @param event an event that has to be added to the forwarder.
     */
    public void addCellEvent(PdfPCellEvent event) {
        events.add(event);
    }

    /**
     * @see com.lowagie.text.pdf.PdfPCellEvent#cellLayout(com.lowagie.text.pdf.PdfPCell, com.lowagie.text.Rectangle,
     * com.lowagie.text.pdf.PdfContentByte[])
     */
    public void cellLayout(PdfPCell cell, Rectangle position, PdfContentByte[] canvases) {<FILL_FUNCTION_BODY>}
}

        PdfPCellEvent event;
        for (Object event1 : events) {
            event = (PdfPCellEvent) event1;
            event.cellLayout(cell, position, canvases);
        }
    
<no_super_class>