DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class Cell2List

java.lang.Object
  extended by com.cete.dynamicpdf.pageelements.Cell2List

public class Cell2List
extends java.lang.Object

Represents a list of cells.

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
 Cell2 add(PageElement element)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(PageElement element, int colSpan)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(PageElement element, int colSpan, int rowSpan)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(java.lang.String text)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(java.lang.String text, Font font, float fontSize)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(java.lang.String text, Font font, float fontSize, Color textColor, Color backColor, int colSpan)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(java.lang.String text, Font font, float fontSize, Color textColor, Color backColor, int colSpan, int rowSpan)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(java.lang.String text, Font font, float fontSize, int colSpan)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(java.lang.String text, Font font, float fontSize, int colSpan, int rowSpan)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(java.lang.String text, int colSpan)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 add(java.lang.String text, int colSpan, int rowSpan)
          Adds a Cell2 to the end of the Cell2 with the specified page element.
 Cell2 getCell2(int index)
          Gets the Cell2 at the given index.
 java.util.Iterator getIterator()
          Returns an Iterator that can iterate through the Cell2".
 int size()
          Gets the number of elements actually contained in the Cell2.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public Cell2 add(java.lang.String text)
Adds a Cell2 to the end of the Cell2 with the specified page element.

Parameters:
text - Text to be displayed in the cell. View Example
Returns:
the newly created cell2 object.

add

public Cell2 add(java.lang.String text,
                 int colSpan)
Adds a Cell2 to the end of the Cell2 with the specified page element.

Parameters:
text - Text to be displayed in the cell.
colSpan - Number of columns that the cell will span. View Example
Returns:
the newly created cell2 object.

add

public Cell2 add(java.lang.String text,
                 Font font,
                 float fontSize)
Adds a Cell2 to the end of the Cell2 with the specified page element.

Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
fontSize - Font size for the text in the cell. View Example
Returns:
the newly created cell2 object.

add

public Cell2 add(java.lang.String text,
                 Font font,
                 float fontSize,
                 int colSpan)
Adds a Cell2 to the end of the Cell2 with the specified page element.

Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
fontSize - Font size for the text in the cell.
colSpan - Number of columns that the cell will span. View Example
Returns:
the newly created cell2 object.

add

public Cell2 add(java.lang.String text,
                 Font font,
                 float fontSize,
                 int colSpan,
                 int rowSpan)
Adds a Cell2 to the end of the Cell2 with the specified page element.

Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
fontSize - Font size for the text in the cell.
colSpan - Number of columns that the cell will span. View Example
rowSpan - row span of the cell.
Returns:
the newly created cell2 object.

add

public Cell2 add(java.lang.String text,
                 int colSpan,
                 int rowSpan)
Adds a Cell2 to the end of the Cell2 with the specified page element.

Parameters:
text - Text to be displayed in the cell.
colSpan - Number of columns that the cell will span.
rowSpan - Number of rows that the cell will span. View Example
Returns:
the newly created cell2 object.

add

public Cell2 add(java.lang.String text,
                 Font font,
                 float fontSize,
                 Color textColor,
                 Color backColor,
                 int colSpan)
Adds a Cell2 to the end of the Cell2 with the specified page element.

Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
fontSize - 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 that the cell will span. View Example
Returns:
the newly created cell2 object.

add

public Cell2 add(java.lang.String text,
                 Font font,
                 float fontSize,
                 Color textColor,
                 Color backColor,
                 int colSpan,
                 int rowSpan)
Adds a Cell2 to the end of the Cell2 with the specified page element.

Parameters:
text - Text to be displayed in the cell.
font - Font for the text in the cell.
fontSize - 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 that the cell will span.
rowSpan - Number of rows that the cell will span. View Example
Returns:
the newly created cell2 object.

add

public Cell2 add(PageElement element)
Adds a Cell2 to the end of the Cell2 with the specified page element. View Example

Parameters:
element - the page element.
Returns:
the newly created cell2 object.

add

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

Parameters:
element - Page element to be displayed in the cell.
colSpan - Number of columns that the cell will span. View Example
Returns:
the newly created cell2 object.

add

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

Parameters:
element - Page element to be displayed in the cell.
colSpan - Number of columns that the cell will span.
rowSpan - Number of rows that the cell will span. View Example
Returns:
the newly created cell2 object.

getIterator

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

Returns:
An Iteratorfor the entire Cell2.
See Also:
Iterator

getCell2

public Cell2 getCell2(int index)
Gets the Cell2 at the given index.

Parameters:
index - the index of the cell2.
Returns:
return the cell2 object relatd to the index.

size

public int size()
Gets the number of elements actually contained in the Cell2.

Returns:
the size of the list.

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.04 for Java generated on September 25, 2019
© Copyright 2019, ceTe Software