DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class CellList

java.lang.Object
  |
  +--com.cete.dynamicpdf.pageelements.CellList

public class CellList
extends java.lang.Object

This class represents CellList.

Licensing:
This class is a DynamicPDF Generator Professional Edition feature. One of the following licenses is required for non-evaluation usage:

View Example


Method Summary
 Cell add(PageElement element)
          Adds a Cell to the end of the CellList with the specified page element.
 Cell add(PageElement element, int colSpan)
          Adds a Cell to the end of the CellList with the specified page element.
 Cell add(PageElement element, int colSpan, int rowSpan)
          Adds a Cell to the end of the CellList with the specified page element.
 Cell add(java.lang.String text)
          Adds a Cell to the end of the CellList.
 Cell add(java.lang.String text, Font font, float size)
          Adds a Cell to the end of the CellList.
 Cell add(java.lang.String text, Font font, float size, Color textColor, Color backColor, int colSpan)
          Adds a Cell to the end of the CellList.
 Cell add(java.lang.String text, Font font, float size, Color textColor, Color backColor, int colSpan, int rowSpan)
          Adds a Cell to the end of the CellList.
 Cell add(java.lang.String text, Font font, float size, int colSpan)
          Adds a Cell to the end of the CellList.
 Cell add(java.lang.String text, Font font, float size, int colSpan, int rowSpan)
          Adds a Cell to the end of the CellList.
 Cell add(java.lang.String text, int colSpan)
          Adds a Cell to the end of the CellList.
 Cell add(java.lang.String text, int colSpan, int rowSpan)
          Adds a Cell to the end of the CellList.
 Cell getCell(int index)
          Gets the Cell at the given index.
 int getCount()
          Gets the number of elements actually contained in the CellList.
 java.util.Iterator getIterator()
          Returns an Iterator that can iterate through the CellList.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public Cell add(java.lang.String text)
Adds a Cell to the end of the CellList.

Parameters:
text - Text to be displayed in the cell.
Returns:
a Cell object.
See Also:
Cell

add

public Cell add(java.lang.String text,
                int colSpan)
Adds a Cell to the end of the CellList.

Parameters:
text - Text to be displayed in the cell.
colSpan - Number of columns for the cell to span.
Returns:
a Cell object.
See Also:
Cell

add

public Cell add(java.lang.String text,
                Font font,
                float size)
Adds a Cell to the end of the CellList.

Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
size - Font size for the text in the cell.
Returns:
a Cell object.
See Also:
Cell

add

public Cell add(java.lang.String text,
                Font font,
                float size,
                int colSpan)
Adds a Cell to the end of the CellList.

Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
size - Font size for the text in the cell.
colSpan - Number of columns for the cell to span.
Returns:
a Cell object.

add

public Cell add(java.lang.String text,
                Font font,
                float size,
                int colSpan,
                int rowSpan)
Adds a Cell to the end of the CellList.

Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
size - Font size for the text in the cell.
colSpan - Number of columns for the cell to span.
rowSpan - Number of rows for the cell to span.
Returns:
a Cell object.

add

public Cell add(java.lang.String text,
                int colSpan,
                int rowSpan)
Adds a Cell to the end of the CellList.

Parameters:
text - Text to be displayed in the cell.
colSpan - Number of columns for the cell to span.
rowSpan - Number of rows for the cell to span.
Returns:
a Cell object.

add

public Cell add(java.lang.String text,
                Font font,
                float size,
                Color textColor,
                Color backColor,
                int colSpan)
Adds a Cell to the end of the CellList.

Throws:
GeneratorException - If Cell span less than one column or not enough columns
Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
size - Font size for the text in the cell.
textColor - Color for the text in the cell.
backColor - Background color for the cell.
colSpan - Number of columns for the cell to span.
Returns:
a Cell object.
See Also:
Cell

add

public Cell add(java.lang.String text,
                Font font,
                float size,
                Color textColor,
                Color backColor,
                int colSpan,
                int rowSpan)
Adds a Cell to the end of the CellList.

Throws:
GeneratorException - If Cell span less than one column or not enough columns
Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
size - Font size for the text in the cell.
textColor - Color for the text in the cell.
backColor - Background color for the cell.
colSpan - Number of columns for the cell to span.
rowSpan - Number of rows for the cell to span.
Returns:
a Cell object.
See Also:
Cell

add

public Cell add(PageElement element)
Adds a Cell to the end of the CellList with the specified page element.

Parameters:
element - Page element to be displayed in the cell.
Returns:
Returns a Cell object.
See Also:
Cell

add

public Cell add(PageElement element,
                int colSpan)
Adds a Cell to the end of the CellList with the specified page element.

Parameters:
element - Page element to be displayed in the cell.
colSpan - Number of columns for the cell will span.
Returns:
Returns a Cell object.
See Also:
Cell

add

public Cell add(PageElement element,
                int colSpan,
                int rowSpan)
Adds a Cell to the end of the CellList with the specified page element.

Parameters:
element - Page element to be displayed in the cell.
colSpan - Number of columns for the cell will span.
rowSpan - Number of rows for the cell will span.
Returns:
Returns a Cell object.
See Also:
Cell

getCell

public Cell getCell(int index)
Gets the Cell at the given index.


getCount

public int getCount()
Gets the number of elements actually contained in the CellList.


getIterator

public java.util.Iterator getIterator()
Returns an Iterator that can iterate through the CellList.

Returns:
An Iterator for the entire CellList.
See Also:
Iterator

DynamicPDF by ceTe Software

API Reference for DynamicPDFTM v4.0.3 for Java generated on March 22, 2007
© Copyright 2007, ceTe Software