Save This Page
Home » iText-src-2.1.3 » com.lowagie » text » pdf » [javadoc | source]
com.lowagie.text.pdf
public class: PdfPRow [javadoc | source]
java.lang.Object
   com.lowagie.text.pdf.PdfPRow
A row in a PdfPTable.
Field Summary
public static final  float BOTTOM_LIMIT    the bottom limit (bottom right y) 
protected  PdfPCell[] cells     
protected  float[] widths     
protected  float maxHeight     
protected  boolean calculated     
Constructor:
 public PdfPRow(PdfPCell[] cells) 
    Constructs a new PdfPRow with the cells in the array that was passed as a parameter.
    Parameters:
    cells -
 public PdfPRow(PdfPRow row) 
    Makes a copy of an existing row.
    Parameters:
    row -
Method from com.lowagie.text.pdf.PdfPRow Summary:
calculateHeights,   getCells,   getEventWidth,   getMaxHeights,   isCalculated,   setMaxHeights,   setWidths,   splitRow,   writeBorderAndBackground,   writeCells
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from com.lowagie.text.pdf.PdfPRow Detail:
 public float calculateHeights() 
    Calculates the heights of each cell in the row.
 public PdfPCell[] getCells() 
    Returns the array of cells in the row. Please be extremely careful with this method. Use the cells as read only objects.
 float[] getEventWidth(float xPos) 
 public float getMaxHeights() 
    Gets the maximum height of the row (i.e. of the 'highest' cell).
 public boolean isCalculated() 
    Checks if the dimensions of the columns were calculated.
 public  void setMaxHeights(float maxHeight) 
    Changes the maximum height of the row (to make it higher). (added by Jin-Hsia Yang)
 public boolean setWidths(float[] widths) 
    Sets the widths of the columns in the row.
 public PdfPRow splitRow(float newHeight) 
    Splits a row to newHeight. The returned row is the remainder. It will return null if the newHeight was so small that only an empty row would result.
 public  void writeBorderAndBackground(float xPos,
    float yPos,
    PdfPCell cell,
    PdfContentByte[] canvases) 
    Writes the border and background of one cell in the row.
 public  void writeCells(int colStart,
    int colEnd,
    float xPos,
    float yPos,
    PdfContentByte[] canvases) 
    Writes a number of cells (not necessarily all cells).