| java.lang.Object com.lowagie.text.pdf.PdfPRow
PdfPRow | public class PdfPRow (Code) | | A row in a PdfPTable.
author: Paulo Soares (psoares@consiste.pt) |
Constructor Summary | |
public | PdfPRow(PdfPCell cells) Constructs a new PdfPRow with the cells in the array that was passed as a parameter. | public | PdfPRow(PdfPRow row) Makes a copy of an existing row. |
Method Summary | |
public float | calculateHeights() Calculates the heights of each cell in the row. | float[] | getEventWidth(float xPos) | public float | getMaxHeights() Gets the maximum height of the row (i.e. | 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). | public boolean | setWidths(float widths) Sets the widths of the columns in the row. | public PdfPRow | splitRow(float newHeight) Splits a row to newHeight. | 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). |
BOTTOM_LIMIT | final public static float BOTTOM_LIMIT(Code) | | the bottom limit (bottom right y)
|
calculated | protected boolean calculated(Code) | | |
maxHeight | protected float maxHeight(Code) | | |
widths | protected float widths(Code) | | |
PdfPRow | public PdfPRow(PdfPCell cells)(Code) | | Constructs a new PdfPRow with the cells in the array that was passed as a parameter.
Parameters: cells - |
PdfPRow | public PdfPRow(PdfPRow row)(Code) | | Makes a copy of an existing row.
Parameters: row - |
calculateHeights | public float calculateHeights()(Code) | | Calculates the heights of each cell in the row.
the maximum height of the row. |
getEventWidth | float[] getEventWidth(float xPos)(Code) | | |
getMaxHeights | public float getMaxHeights()(Code) | | Gets the maximum height of the row (i.e. of the 'highest' cell).
the maximum height of the row |
isCalculated | public boolean isCalculated()(Code) | | Checks if the dimensions of the columns were calculated.
true if the dimensions of the columns were calculated |
setMaxHeights | public void setMaxHeights(float maxHeight)(Code) | | Changes the maximum height of the row (to make it higher).
(added by Jin-Hsia Yang)
Parameters: maxHeight - the new maximum height |
setWidths | public boolean setWidths(float widths)(Code) | | Sets the widths of the columns in the row.
Parameters: widths - true if everything went right |
splitRow | public PdfPRow splitRow(float newHeight)(Code) | | 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.
Parameters: newHeight - the new height the remainder row or null if the newHeight was so small that onlyan empty row would result |
writeBorderAndBackground | public void writeBorderAndBackground(float xPos, float yPos, PdfPCell cell, PdfContentByte[] canvases)(Code) | | Writes the border and background of one cell in the row.
Parameters: xPos - Parameters: yPos - Parameters: cell - Parameters: canvases - |
writeCells | public void writeCells(int colStart, int colEnd, float xPos, float yPos, PdfContentByte[] canvases)(Code) | | Writes a number of cells (not necessarily all cells).
Parameters: colStart - Parameters: colEnd - Parameters: xPos - Parameters: yPos - Parameters: canvases - |
|
|