📄 table.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#addCell(com.lowagie.text.Phrase)">addCell</A></B>(<A HREF="../../../com/lowagie/text/Phrase.html" title="class in com.lowagie.text">Phrase</A> content)</CODE><BR> Adds a <CODE>Cell</CODE> to the <CODE>Table</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#addCell(com.lowagie.text.Phrase, java.awt.Point)">addCell</A></B>(<A HREF="../../../com/lowagie/text/Phrase.html" title="class in com.lowagie.text">Phrase</A> content, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</A> location)</CODE><BR> Adds a <CODE>Cell</CODE> to the <CODE>Table</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#addCell(java.lang.String)">addCell</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> content)</CODE><BR> Adds a <CODE>Cell</CODE> to the <CODE>Table</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#addCell(java.lang.String, java.awt.Point)">addCell</A></B>(<A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/String.html?is-external=true" title="class or interface in java.lang">String</A> content, <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Point.html?is-external=true" title="class or interface in java.awt">Point</A> location)</CODE><BR> Adds a <CODE>Cell</CODE> to the <CODE>Table</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#addColumns(int)">addColumns</A></B>(int aColumns)</CODE><BR> Gives you the possibility to add columns.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#assumeTableDefaults(com.lowagie.text.Cell)">assumeTableDefaults</A></B>(<A HREF="../../../com/lowagie/text/Cell.html" title="class in com.lowagie.text">Cell</A> aCell)</CODE><BR> Sets the unset cell properties to be the table defaults.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#complete()">complete</A></B>()</CODE><BR> Will fill empty cells with valid blank <CODE>Cell</CODE>s</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/pdf/PdfPTable.html" title="class in com.lowagie.text.pdf">PdfPTable</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#createPdfPTable()">createPdfPTable</A></B>()</CODE><BR> Create a PdfPTable based on this Table object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#deleteAllRows()">deleteAllRows</A></B>()</CODE><BR> Deletes all rows in this table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#deleteColumn(int)">deleteColumn</A></B>(int column)</CODE><BR> Deletes a column in this table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#deleteLastRow()">deleteLastRow</A></B>()</CODE><BR> Deletes the last row in this table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#deleteRow(int)">deleteRow</A></B>(int row)</CODE><BR> Deletes a row.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#endHeaders()">endHeaders</A></B>()</CODE><BR> Marks the last row of the table headers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>private void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#fillEmptyMatrixCells()">fillEmptyMatrixCells</A></B>()</CODE><BR> adds new<CODE>Cell</CODE>'s to empty/null spaces.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#flushContent()">flushContent</A></B>()</CODE><BR> Flushes the content that has been added.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getAlignment()">getAlignment</A></B>()</CODE><BR> Gets the horizontal alignment.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/util/ArrayList.html?is-external=true" title="class or interface in java.util">ArrayList</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getChunks()">getChunks</A></B>()</CODE><BR> Gets all the chunks in this element.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getColumns()">getColumns</A></B>()</CODE><BR> Gets the number of columns.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Cell.html" title="class in com.lowagie.text">Cell</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getDefaultCell()">getDefaultCell</A></B>()</CODE><BR> Gets the default layout of the Table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../com/lowagie/text/Cell.html" title="class in com.lowagie.text">Cell</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getDefaultLayout()">getDefaultLayout</A></B>()</CODE><BR> <B>Deprecated.</B> <I>As of iText 2.0.7, replaced by <A HREF="../../../com/lowagie/text/Table.html#getDefaultCell()"><CODE>getDefaultCell()</CODE></A>, scheduled for removal at 2.2.0</I></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/awt/Dimension.html?is-external=true" title="class or interface in java.awt">Dimension</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getDimension()">getDimension</A></B>()</CODE><BR> Gets the dimension of this table</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="http://java.sun.com/j2se/1.4/docs/api/java/lang/Object.html?is-external=true" title="class or interface in java.lang">Object</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getElement(int, int)">getElement</A></B>(int row, int column)</CODE><BR> returns the element at the position row, column (Cast to Cell or Table)</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getLastHeaderRow()">getLastHeaderRow</A></B>()</CODE><BR> Gets the last number of the rows that contain headers.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getOffset()">getOffset</A></B>()</CODE><BR> Gets the offset of this table.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getPadding()">getPadding</A></B>()</CODE><BR> Gets the cellpadding.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float[]</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getProportionalWidths()">getProportionalWidths</A></B>()</CODE><BR> Gets the proportional widths of the columns in this <CODE>Table</CODE>.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD><TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#getSpacing()">getSpacing</A></B>()</CODE><BR> Gets the cellspacing.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> float</CODE></FONT></TD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -