📄 table.html
字号:
<DD><CODE><A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="deleteRow(com.lucaslee.report.model.TableRow)"><!-- --></A><H3>
deleteRow</H3>
<PRE>
public void <B>deleteRow</B>(<A HREF="../../../../com/lucaslee/report/model/TableRow.html" title="class in com.lucaslee.report.model">TableRow</A> tr)</PRE>
<DL>
<DD>删除表格的一行。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>tr</CODE> - 行对象。</DL>
</DD>
</DL>
<HR>
<A NAME="insertRow(int, com.lucaslee.report.model.TableRow)"><!-- --></A><H3>
insertRow</H3>
<PRE>
public void <B>insertRow</B>(int ind, <A HREF="../../../../com/lucaslee/report/model/TableRow.html" title="class in com.lucaslee.report.model">TableRow</A> tr)</PRE>
<DL>
<DD>向表格插入一行
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ind</CODE> - 行号。<DD><CODE>tr</CODE> - 行。</DL>
</DD>
</DL>
<HR>
<A NAME="getRowCount()"><!-- --></A><H3>
getRowCount</H3>
<PRE>
public int <B>getRowCount</B>()</PRE>
<DL>
<DD>获得行数。
<P>
<DD><DL>
<DT><B>Returns:</B><DD>int</DL>
</DD>
</DL>
<HR>
<A NAME="setCol(int, com.lucaslee.report.model.TableColumn)"><!-- --></A><H3>
setCol</H3>
<PRE>
public void <B>setCol</B>(int ind, <A HREF="../../../../com/lucaslee/report/model/TableColumn.html" title="class in com.lucaslee.report.model">TableColumn</A> c) throws <A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></PRE>
<DL>
<DD>设置表格的某列。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ind</CODE> - 列号。<DD><CODE>c</CODE> - 列。<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setRow(int, com.lucaslee.report.model.TableRow)"><!-- --></A><H3>
setRow</H3>
<PRE>
public void <B>setRow</B>(int ind, <A HREF="../../../../com/lucaslee/report/model/TableRow.html" title="class in com.lucaslee.report.model">TableRow</A> r) throws <A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></PRE>
<DL>
<DD>设置表格的某行
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>ind</CODE> - 行序号<DD><CODE>r</CODE> - 行对象<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getColCount()"><!-- --></A><H3>
getColCount</H3>
<PRE>
public int <B>getColCount</B>()</PRE>
<DL>
<DD>获得列数。
<P>
<DD><DL>
<DT><B>Returns:</B><DD>int</DL>
</DD>
</DL>
<HR>
<A NAME="getCell(int, int)"><!-- --></A><H3>
getCell</H3>
<PRE>
public <A HREF="../../../../com/lucaslee/report/model/TableCell.html" title="class in com.lucaslee.report.model">TableCell</A> <B>getCell</B>(int row, int col) throws <A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></PRE>
<DL>
<DD>按行号,列号获得一个单元。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>row</CODE> - 行号<DD><CODE>col</CODE> - 列号<DT><B>Returns:</B><DD><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="setCell(int, int, com.lucaslee.report.model.TableCell)"><!-- --></A><H3>
setCell</H3>
<PRE>
public void <B>setCell</B>(int row, int col, <A HREF="../../../../com/lucaslee/report/model/TableCell.html" title="class in com.lucaslee.report.model">TableCell</A> tc) throws <A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></PRE>
<DL>
<DD>按行号、列号设置一个单元格。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>row</CODE> - 行号<DD><CODE>col</CODE> - 列号<DD><CODE>tc</CODE> - 单元格s<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="clone()"><!-- --></A><H3>
clone</H3>
<PRE>
public java.lang.Object <B>clone</B>() throws java.lang.CloneNotSupportedException</PRE>
<DL>
<DD>返回一个克隆对象。 注意:返回的对象只是本对象的复制,不包括子对象的复制, 即复制的对象引用的也是相同子对象。
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE></DL>
</DD>
</DL>
<HR>
<A NAME="copyAttributesTo(com.lucaslee.report.model.Table)"><!-- --></A><H3>
copyAttributesTo</H3>
<PRE>
public void <B>copyAttributesTo</B>(<A HREF="../../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A> rt)</PRE>
<DL>
<DD>将当前表格的属性赋给指定的表格。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>rt</CODE> - 要获得属性的表格</DL>
</DD>
</DL>
<HR>
<A NAME="cloneAll()"><!-- --></A><H3>
cloneAll</H3>
<PRE>
public <A HREF="../../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A> <B>cloneAll</B>() throws <A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></PRE>
<DL>
<DD>返回一个完全的克隆对象。 即复制的对象的子对象(包括所有后代)与原对象是不同的。
<P>
<DD><DL>
<DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getRotateTable()"><!-- --></A><H3>
getRotateTable</H3>
<PRE>
public <A HREF="../../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A> <B>getRotateTable</B>() throws <A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></PRE>
<DL>
<DD>获得翻转表,按对角线翻转.注意表格,行的属性没有复制。
<P>
<DD><DL>
<DT><B>Returns:</B><DD><DT><B>Throws:</B><DD><CODE><A HREF="../../../../com/lucaslee/report/ReportException.html" title="class in com.lucaslee.report">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>
<A NAME="getType()"><!-- --></A><H3>
getType</H3>
<PRE>
public java.lang.String <B>getType</B>()</PRE>
<DL>
<DD>获得类型
<P>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="setType(java.lang.String)"><!-- --></A><H3>
setType</H3>
<PRE>
public void <B>setType</B>(java.lang.String type)</PRE>
<DL>
<DD>设置类型。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="getData()"><!-- --></A><H3>
getData</H3>
<PRE>
public java.util.Vector <B>getData</B>()</PRE>
<DL>
<DD>获得表格数据
<P>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="setData(java.util.Vector)"><!-- --></A><H3>
setData</H3>
<PRE>
public void <B>setData</B>(java.util.Vector data)</PRE>
<DL>
<DD>设置表格数据
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>data</CODE> - </DL>
</DD>
</DL>
<HR>
<A NAME="getWidths()"><!-- --></A><H3>
getWidths</H3>
<PRE>
public int[] <B>getWidths</B>()</PRE>
<DL>
<DD>获得所有表格列的相对宽度。
<P>
<DD><DL>
<DT><B>Returns:</B><DD></DL>
</DD>
</DL>
<HR>
<A NAME="setWidths(int[])"><!-- --></A><H3>
setWidths</H3>
<PRE>
public void <B>setWidths</B>(int[] widths)</PRE>
<DL>
<DD>设置表格所有列的相对宽度(按百分比表示)。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>widths</CODE> - </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=3 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>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../com/lucaslee/report/model/ReportBody.html" title="class in com.lucaslee.report.model"><B>PREV CLASS</B></A>
<A HREF="../../../../com/lucaslee/report/model/TableCell.html" title="class in com.lucaslee.report.model"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>
<A HREF="Table.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="#fields_inherited_from_class_com.lucaslee.report.model.Rectangle">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: FIELD | <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 + -