📄 pdfprow.html
字号:
<DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#com.lowagie.text.pdf.PdfPRow.BOTTOM_LIMIT">Constant Field Values</A></DL></DL><HR><A NAME="cells"><!-- --></A><H3>cells</H3><PRE>protected <A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html" title="class in com.lowagie.text.pdf">PdfPCell</A>[] <B>cells</B></PRE><DL><DL></DL></DL><HR><A NAME="widths"><!-- --></A><H3>widths</H3><PRE>protected float[] <B>widths</B></PRE><DL><DL></DL></DL><HR><A NAME="maxHeight"><!-- --></A><H3>maxHeight</H3><PRE>protected float <B>maxHeight</B></PRE><DL><DL></DL></DL><HR><A NAME="calculated"><!-- --></A><H3>calculated</H3><PRE>protected boolean <B>calculated</B></PRE><DL><DL></DL></DL><HR><A NAME="canvasesPos"><!-- --></A><H3>canvasesPos</H3><PRE>private int[] <B>canvasesPos</B></PRE><DL><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="PdfPRow(com.lowagie.text.pdf.PdfPCell[])"><!-- --></A><H3>PdfPRow</H3><PRE>public <B>PdfPRow</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html" title="class in com.lowagie.text.pdf">PdfPCell</A>[] cells)</PRE><DL><DD>Constructs a new PdfPRow with the cells in the array that was passed as a parameter.<P><DL><DT><B>Parameters:</B><DD><CODE>cells</CODE> - </DL></DL><HR><A NAME="PdfPRow(com.lowagie.text.pdf.PdfPRow)"><!-- --></A><H3>PdfPRow</H3><PRE>public <B>PdfPRow</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfPRow.html" title="class in com.lowagie.text.pdf">PdfPRow</A> row)</PRE><DL><DD>Makes a copy of an existing row.<P><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - </DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="setWidths(float[])"><!-- --></A><H3>setWidths</H3><PRE>public boolean <B>setWidths</B>(float[] widths)</PRE><DL><DD>Sets the widths of the columns in the row.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>widths</CODE> - <DT><B>Returns:</B><DD>true if everything went right</DL></DD></DL><HR><A NAME="calculateHeights()"><!-- --></A><H3>calculateHeights</H3><PRE>public float <B>calculateHeights</B>()</PRE><DL><DD>Calculates the heights of each cell in the row.<P><DD><DL><DT><B>Returns:</B><DD>the maximum height of the row.</DL></DD></DL><HR><A NAME="writeBorderAndBackground(float, float, com.lowagie.text.pdf.PdfPCell, com.lowagie.text.pdf.PdfContentByte[])"><!-- --></A><H3>writeBorderAndBackground</H3><PRE>public void <B>writeBorderAndBackground</B>(float xPos, float yPos, <A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html" title="class in com.lowagie.text.pdf">PdfPCell</A> cell, <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A>[] canvases)</PRE><DL><DD>Writes the border and background of one cell in the row.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>xPos</CODE> - <DD><CODE>yPos</CODE> - <DD><CODE>cell</CODE> - <DD><CODE>canvases</CODE> - </DL></DD></DL><HR><A NAME="saveAndRotateCanvases(com.lowagie.text.pdf.PdfContentByte[], float, float, float, float, float, float)"><!-- --></A><H3>saveAndRotateCanvases</H3><PRE>private void <B>saveAndRotateCanvases</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A>[] canvases, float a, float b, float c, float d, float e, float f)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="restoreCanvases(com.lowagie.text.pdf.PdfContentByte[])"><!-- --></A><H3>restoreCanvases</H3><PRE>private void <B>restoreCanvases</B>(<A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A>[] canvases)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="setColumn(com.lowagie.text.pdf.ColumnText, float, float, float, float)"><!-- --></A><H3>setColumn</H3><PRE>private float <B>setColumn</B>(<A HREF="../../../../com/lowagie/text/pdf/ColumnText.html" title="class in com.lowagie.text.pdf">ColumnText</A> ct, float llx, float lly, float urx, float ury)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="writeCells(int, int, float, float, com.lowagie.text.pdf.PdfContentByte[])"><!-- --></A><H3>writeCells</H3><PRE>public void <B>writeCells</B>(int colStart, int colEnd, float xPos, float yPos, <A HREF="../../../../com/lowagie/text/pdf/PdfContentByte.html" title="class in com.lowagie.text.pdf">PdfContentByte</A>[] canvases)</PRE><DL><DD>Writes a number of cells (not necessarily all cells).<P><DD><DL><DT><B>Parameters:</B><DD><CODE>colStart</CODE> - <DD><CODE>colEnd</CODE> - <DD><CODE>xPos</CODE> - <DD><CODE>yPos</CODE> - <DD><CODE>canvases</CODE> - </DL></DD></DL><HR><A NAME="isCalculated()"><!-- --></A><H3>isCalculated</H3><PRE>public boolean <B>isCalculated</B>()</PRE><DL><DD>Checks if the dimensions of the columns were calculated.<P><DD><DL><DT><B>Returns:</B><DD>true if the dimensions of the columns were calculated</DL></DD></DL><HR><A NAME="getMaxHeights()"><!-- --></A><H3>getMaxHeights</H3><PRE>public float <B>getMaxHeights</B>()</PRE><DL><DD>Gets the maximum height of the row (i.e. of the 'highest' cell).<P><DD><DL><DT><B>Returns:</B><DD>the maximum height of the row</DL></DD></DL><HR><A NAME="setMaxHeights(float)"><!-- --></A><H3>setMaxHeights</H3><PRE>public void <B>setMaxHeights</B>(float maxHeight)</PRE><DL><DD>Changes the maximum height of the row (to make it higher). (added by Jin-Hsia Yang)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>maxHeight</CODE> - the new maximum height</DL></DD></DL><HR><A NAME="getEventWidth(float)"><!-- --></A><H3>getEventWidth</H3><PRE>float[] <B>getEventWidth</B>(float xPos)</PRE><DL><DD><DL></DL></DD></DL><HR><A NAME="splitRow(float)"><!-- --></A><H3>splitRow</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfPRow.html" title="class in com.lowagie.text.pdf">PdfPRow</A> <B>splitRow</B>(float newHeight)</PRE><DL><DD>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.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>newHeight</CODE> - the new height<DT><B>Returns:</B><DD>the remainder row or null if the newHeight was so small that only an empty row would result</DL></DD></DL><HR><A NAME="getCells()"><!-- --></A><H3>getCells</H3><PRE>public <A HREF="../../../../com/lowagie/text/pdf/PdfPCell.html" title="class in com.lowagie.text.pdf">PdfPCell</A>[] <B>getCells</B>()</PRE><DL><DD>Returns the array of cells in the row. Please be extremely careful with this method. Use the cells as read only objects.<P><DD><DL><DT><B>Returns:</B><DD>an array of cells<DT><B>Since:</B></DT> <DD>2.1.1</DD></DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY=""> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>Hosted by <a href="http://www.hostbasket.com/">Hostbasket</a></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../com/lowagie/text/pdf/PdfPrinterGraphics2D.html" title="class in com.lowagie.text.pdf"><B>PREV CLASS</B></A> <A HREF="../../../../com/lowagie/text/pdf/PdfPSXObject.html" title="class in com.lowagie.text.pdf"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?com/lowagie/text/pdf/PdfPRow.html" target="_top"><B>FRAMES</B></A> <A HREF="PdfPRow.html" target="_top"><B>NO FRAMES</B></A> <SCRIPT type="text/javascript"> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT> <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -