org.ujac.print
Interface PdfCellContainer

All Superinterfaces:
CommonAttributesHolder
All Known Subinterfaces:
PdfTableHolder
All Known Implementing Classes:
BaseCellTag, BoxTag, CaseTag, ConditionTag, DefaultTag, ElseTag, ForeachTag, HeadTag, IfTag, IndexTag, MacroDefTag, PdfCellBlockTag, PdfCellTag, PdfTableHeaderTag, PdfTableRowTag, PdfTableTag, PrintTableTag, RowCellTag, TocTag

public interface PdfCellContainer
extends CommonAttributesHolder

Name: PdfCellContainer
Description: An interface for classes who are capable of containing PDF table cells.

Author:
lauerc

Method Summary
 void addCell(BaseDocumentTag item, com.lowagie.text.pdf.PdfPCell cell)
          Adds a PDF cell to the container.
 CellAttributes getCellAttributes()
          Gets the cell attributes.
 PdfTableHolder getPdfTable()
          Gets the PDF table holder.
 int getRemainingPdfColumns()
          Gets the number of remaining columns of the current row.
 
Methods inherited from interface org.ujac.print.CommonAttributesHolder
getLeading, getLineSpacing
 

Method Detail

addCell

void addCell(BaseDocumentTag item,
             com.lowagie.text.pdf.PdfPCell cell)
             throws DocumentHandlerException
Adds a PDF cell to the container.

Parameters:
item - The document item.
cell - The PDF cell to be added.
Throws:
DocumentHandlerException - If something went wrong when adding the cell.

getRemainingPdfColumns

int getRemainingPdfColumns()
Gets the number of remaining columns of the current row.

Returns:
The number of remaining column to the end of the current row.

getPdfTable

PdfTableHolder getPdfTable()
Gets the PDF table holder.

Returns:
The component that really holds a PDF table.

getCellAttributes

CellAttributes getCellAttributes()
Gets the cell attributes.

Returns:
The cell attributes.


Copyright © 2003-2004 UJAC.org. All Rights Reserved.