DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class Row2List

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

public class Row2List
extends java.lang.Object

Represents a list of Rows in a table.

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


Method Summary
 Row2 add()
          Adds a Row2 to the end of the Row2List.
 Row2 add(float height)
          Adds a Row2 to the end of the Row2List.
 Row2 add(float height, Font font, float fontSize)
          Adds a Row2 to the end of the Row2List.
 Row2 add(float height, Font font, float fontSize, Color textColor, Color backColor)
          Adds a Row2 to the end of the Row2List.
 Row2 add(Font font, float fontSize)
          Adds a Row2 to the end of the Row2List.
 Row2 add(Font font, float fontSize, Color textColor, Color backColor)
          Adds a Row2 to the end of the Row2List.
 java.util.Iterator getIterator()
          Returns an Iterator that can iterate through the RowList.
 Row2 getRow2(int index)
          Gets the Row2 at the given index.
 int size()
          Gets the number of elements actually contained.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

add

public Row2 add()
Adds a Row2 to the end of the Row2List.

Returns:
Returns a Row2 object.

add

public Row2 add(float height)
Adds a Row2 to the end of the Row2List.

Parameters:
height - Height of the row to be added.
Returns:
Returns a Row2 object.

add

public Row2 add(Font font,
                float fontSize)
Adds a Row2 to the end of the Row2List.

Parameters:
font - Font for the text in the row.
fontSize - Font size for the text in the row.
Returns:
Returns a Row2 object.

add

public Row2 add(float height,
                Font font,
                float fontSize)
Adds a Row2 to the end of the Row2List.

Parameters:
height - Height of the row to be added.
font - Font for the text in the row.
fontSize - Font size for the text in the row.
Returns:
Returns a Row2 object.

add

public Row2 add(Font font,
                float fontSize,
                Color textColor,
                Color backColor)
Adds a Row2 to the end of the Row2List.

Parameters:
font - Font for the text in the row.
fontSize - Font size for the text in the row.
textColor - Color for the text in the row.
backColor - Background color for the row.
Returns:
Returns a Row2 object.

add

public Row2 add(float height,
                Font font,
                float fontSize,
                Color textColor,
                Color backColor)
Adds a Row2 to the end of the Row2List.

Parameters:
height - Height of the row to be added.
font - Font for the text in the row.
fontSize - Font size for the text in the row.
textColor - Color for the text in the row.
backColor - Background color for the row.
Returns:
Returns a Row2 object.

getRow2

public Row2 getRow2(int index)
Gets the Row2 at the given index.

Parameters:
index - the index of the row.
Returns:
the row2.

size

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

Returns:
the size of the list.

getIterator

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

Returns:
A Iterator for the entire RowList.
See Also:
Iterator

DynamicPDF by ceTe Software

API Reference for DynamicPDF v10.07 for Java generated on Aug 12, 2020
© Copyright 2020, ceTe Software