DynamicPDF by ceTe Software

com.cete.dynamicpdf.pageelements
Class Row

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

public class Row
extends java.lang.Object

Class represents a row of a table.

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
 void draw(com.cete.dynamicpdf.pageelements.TablePageWriter tableWriter, boolean text, int rowIndex)
           
 float getActualRowHeight()
          Gets the actual height of the row as it will be displayed.
 CellAlign getAlign()
          Gets the CellAlign object to use for the horizontal alignment of each cell in that row.
 Color getBackgroundColor()
          Gets the Color object to use for the background in the row.
 CellList getCellList()
          Gets the CellList containing all the cells in that row.
 Font getFont()
          Gets the Font object to use for the row.
 float getFontSize()
          Gets the font size to use for the row.
 float getHeight()
          Gets the minimum height of the row.
 float getPadding()
          Gets the padding of the cells in the row.
 Color getTextColor()
          Gets the Color object to use for the text in the row.
 CellVAlign getVAlign()
          Gets CellVAlign object to use for the vertical alignment of each cell in that row.
 void setAlign(CellAlign value)
          Sets the CellAlign object to use for the horizontal alignment of each cell in that row.
 void setBackgroundcolor(Color value)
          Sets the Color object to use for the background in the row.
 void setFont(Font value)
          Sets the Font object to use for the row.
 void setFontSize(float value)
          Sets the font size to use for the row.
 void setHeight(float value)
          Sets the minimum height of the row.
 void setPadding(float value)
          Sets the padding of the cells in the row.
 void setTextColor(Color value)
          Sets the Color object to use for the text in the row.
 void setVAlign(CellVAlign value)
          Sets CellVAlign object to use for the vertical alignment of each cell in that row.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

draw

public void draw(com.cete.dynamicpdf.pageelements.TablePageWriter tableWriter,
                 boolean text,
                 int rowIndex)

getFont

public Font getFont()
Gets the Font object to use for the row.


setFont

public void setFont(Font value)
Sets the Font object to use for the row.


getFontSize

public float getFontSize()
Gets the font size to use for the row.


setFontSize

public void setFontSize(float value)
Sets the font size to use for the row.


getTextColor

public Color getTextColor()
Gets the Color object to use for the text in the row.

See Also:
Color

setTextColor

public void setTextColor(Color value)
Sets the Color object to use for the text in the row.

See Also:
Color

getBackgroundColor

public Color getBackgroundColor()
Gets the Color object to use for the background in the row.

See Also:
Color

setBackgroundcolor

public void setBackgroundcolor(Color value)
Sets the Color object to use for the background in the row.

See Also:
Color

getAlign

public CellAlign getAlign()
Gets the CellAlign object to use for the horizontal alignment of each cell in that row.


setAlign

public void setAlign(CellAlign value)
Sets the CellAlign object to use for the horizontal alignment of each cell in that row.


getVAlign

public CellVAlign getVAlign()
Gets CellVAlign object to use for the vertical alignment of each cell in that row.

See Also:
CellVAlign

setVAlign

public void setVAlign(CellVAlign value)
Sets CellVAlign object to use for the vertical alignment of each cell in that row.

See Also:
CellVAlign

getPadding

public float getPadding()
Gets the padding of the cells in the row. By default this value is set to float.NaN. Being set to 'Not a Number' implies that the row's padding will be pulled from the padding for the table containing that row.


setPadding

public void setPadding(float value)
Sets the padding of the cells in the row.


getHeight

public float getHeight()
Gets the minimum height of the row.


setHeight

public void setHeight(float value)
Sets the minimum height of the row.


getCellList

public CellList getCellList()
Gets the CellList containing all the cells in that row.


getActualRowHeight

public float getActualRowHeight()
Gets the actual height of the row as it will be displayed. This is different than the Height property.


DynamicPDF by ceTe Software

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