📄 table.html
字号:
<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.3/docs/api/java/lang/String.html">String</A> content, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Point.html">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 posibility to add columns.</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#alignment()">alignment</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>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">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> float</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#bottom()">bottom</A></B>()</CODE>
<BR>
This method throws an <CODE>UnsupportedOperationException</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#bottom(int)">bottom</A></B>(int margin)</CODE>
<BR>
This method throws an <CODE>UnsupportedOperationException</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#cellpadding()">cellpadding</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#cellspacing()">cellspacing</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> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#columns()">columns</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> void</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#complete()">complete</A></B>()</CODE>
<BR>
</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> int</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lowagie/text/Table.html#firstDataRow()">firstDataRow</A></B>()</CODE>
<BR>
Gets the first number of the row that doesn't contain headers.</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.3/docs/api/java/util/ArrayList.html">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> <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Dimension.html">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.3/docs/api/java/lang/Object.html">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> 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#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#getWidths(float, float)">getWidths</A></B>(float left, float totalWidth)</CODE>
<BR>
Gets an array with the positions of the borders between every column. </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#hasToFitPageCells()">hasToFitPageCells</A></B>()</CODE>
<BR>
Checks if the cells of this <CODE>Table</CODE> have to fit a page.</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#hasToFitPageTable()">hasToFitPageTable</A></B>()</CODE>
<BR>
Checks if this <CODE>Table</CODE> has to fit a page.</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#insertTable(com.lowagie.text.Table)">insertTable</A></B>(<A HREF="../../../com/lowagie/text/Table.html">Table</A> aTable)</CODE>
<BR>
To put a table within the existing table at the current position generateTable will of course re-arrange the widths of the columns.</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#insertTable(com.lowagie.text.Table, int, int)">insertTable</A></B>(<A HREF="../../../com/lowagie/text/Table.html">Table</A> aTable, int row, int column)</CODE>
<BR>
To put a table within the existing table at the given position generateTable will of course re-arrange the widths of the columns.</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#insertTable(com.lowagie.text.Table, java.awt.Point)">insertTable</A></B>(<A HREF="../../../com/lowagie/text/Table.html">Table</A> aTable, <A HREF="http://java.sun.com/j2se/1.3/docs/api/java/awt/Point.html">Point</A> aLocation)</CODE>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -