DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class RowList

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

public class RowList
extends java.lang.Object

Represents a list of row in a table.


Method Summary
 Row add()
          Adds a Row to the end of the RowList.
 Row add(float height)
          Adds a Row to the end of the RowList.
 Row add(float height, Font font, float size)
          Adds a Row to the end of the RowList.
 Row add(float height, Font font, float size, Color textColor, Color backColor)
          Adds a Row to the end of the RowList.
 Row add(Font font, float size)
          Adds a Row to the end of the RowList.
 Row add(Font font, float size, Color textColor, Color backColor)
          Adds a Row to the end of the RowList.
 java.util.Iterator getIterator()
          Returns an Iterator that can iterate through the RowList.
 Row getRow(int index)
          Gets the Row 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 Row add()
Adds a Row to the end of the RowList.

Returns:
a Row object.
See Also:
Row, RowList

add

public Row add(float height)
Adds a Row to the end of the RowList.

Parameters:
height - Height of the row to be added.
Returns:
a Row object.
See Also:
Row, RowList

add

public Row add(Font font,
               float size)
Adds a Row to the end of the RowList.

Parameters:
font - Font for the text in the row.
size - Font size for the text in the row.
Returns:
a Row object.
See Also:
Row, RowList

add

public Row add(float height,
               Font font,
               float size)
Adds a Row to the end of the RowList.

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

add

public Row add(Font font,
               float size,
               Color textColor,
               Color backColor)
Adds a Row to the end of the RowList.

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

add

public Row add(float height,
               Font font,
               float size,
               Color textColor,
               Color backColor)
Adds a Row to the end of the RowList.

Parameters:
height - Height of the row to be added.
font - Font for the text in the row.
size - Font size for the text in the row.
textColor - Color for the text in the row.
backColor - background Color for the row.
Returns:
a Row object.
See Also:
Row, Color, RowList

size

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


getRow

public Row getRow(int index)
Gets the Row at the given index.

Parameters:
index - index of the row required.
Returns:
Row
See Also:
Row

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™ for Java generated on December 20, 2005
© Copyright 2005, ceTe Software