⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 reportmanager.html

📁 这是一个报表开发包,支持中国样式的报表,支持分组和交叉报表
💻 HTML
📖 第 1 页 / 共 3 页
字号:
                 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>t</CODE> - 表格<DD><CODE>cols</CODE> - 在此数组里的列才进行格式化<DD><CODE>f</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="mergeSameCell(com.lucaslee.report.model.TableLine)"><!-- --></A><H3>
mergeSameCell</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/TableLine.html" title="class in com.lucaslee.report.model">TableLine</A> <B>mergeSameCell</B>(<A HREF="../../../com/lucaslee/report/model/TableLine.html" title="class in com.lucaslee.report.model">TableLine</A>&nbsp;line)                        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>line</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="mergeSameCells(com.lucaslee.report.model.Table, int[], int)"><!-- --></A><H3>
mergeSameCells</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A> <B>mergeSameCells</B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;t,                            int[]&nbsp;lines,                            int&nbsp;orientation)                     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>t</CODE> - 表格<DD><CODE>lines</CODE> - 要合并的列的列号。<DD><CODE>orientation</CODE> - 操作的行或列方向。接受本类中后缀为_ORIENTATION的常数。<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="getDistinctSet(com.lucaslee.report.model.TableLine, java.util.Vector)"><!-- --></A><H3>
getDistinctSet</H3>
<PRE>
public java.util.Set <B>getDistinctSet</B>(<A HREF="../../../com/lucaslee/report/model/TableLine.html" title="class in com.lucaslee.report.model">TableLine</A>&nbsp;line,                                    java.util.Vector&nbsp;seq)                             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>line</CODE> - 要处理的集合。<DD><CODE>seq</CODE> - 用于指定排序的元素集合。 如:给出D,B,C元素集合,则结果按这个序列排序,不在此序列中的不排序。<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="generateCrossTabColTotal(com.lucaslee.report.model.Table, com.lucaslee.report.model.crosstable.CrossTable, boolean, com.lucaslee.report.grouparithmetic.GroupArithmetic)"><!-- --></A><H3>
generateCrossTabColTotal</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A> <B>generateCrossTabColTotal</B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;t,                                      <A HREF="../../../com/lucaslee/report/model/crosstable/CrossTable.html" title="class in com.lucaslee.report.model.crosstable">CrossTable</A>&nbsp;crossTab,                                      boolean&nbsp;isSubTotal,                                      <A HREF="../../../com/lucaslee/report/grouparithmetic/GroupArithmetic.html" title="interface in com.lucaslee.report.grouparithmetic">GroupArithmetic</A>&nbsp;arith)                               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>t</CODE> - 数据表<DD><CODE>crossTab</CODE> - 交叉表对象<DD><CODE>isSubTotal</CODE> - 是否小计。true则进行小计。<DD><CODE>arith</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="generateCrossTabRowTotal(com.lucaslee.report.model.Table, com.lucaslee.report.model.crosstable.CrossTable, boolean, com.lucaslee.report.grouparithmetic.GroupArithmetic)"><!-- --></A><H3>
generateCrossTabRowTotal</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A> <B>generateCrossTabRowTotal</B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;t,                                      <A HREF="../../../com/lucaslee/report/model/crosstable/CrossTable.html" title="class in com.lucaslee.report.model.crosstable">CrossTable</A>&nbsp;crossTab,                                      boolean&nbsp;isSubTotal,                                      <A HREF="../../../com/lucaslee/report/grouparithmetic/GroupArithmetic.html" title="interface in com.lucaslee.report.grouparithmetic">GroupArithmetic</A>&nbsp;arith)                               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>t</CODE> - 数据表<DD><CODE>crossTab</CODE> - 交叉表<DD><CODE>isSubTotal</CODE> - 是否小计,true则小计<DD><CODE>arith</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="generateRowTotal(com.lucaslee.report.model.Table, int[], boolean, com.lucaslee.report.grouparithmetic.GroupArithmetic)"><!-- --></A><H3>
generateRowTotal</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A> <B>generateRowTotal</B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;t,                              int[]&nbsp;totalCols,                              boolean&nbsp;isSubTotal,                              <A HREF="../../../com/lucaslee/report/grouparithmetic/GroupArithmetic.html" title="interface in com.lucaslee.report.grouparithmetic">GroupArithmetic</A>&nbsp;arith)                       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>t</CODE> - 数据表<DD><CODE>totalCols</CODE> - 统计的列<DD><CODE>isSubTotal</CODE> - 是否小计<DD><CODE>arith</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="generateCrossTab(com.lucaslee.report.model.Table, com.lucaslee.report.model.crosstable.CrossTable)"><!-- --></A><H3>
generateCrossTab</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A> <B>generateCrossTab</B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;srcTab,                              <A HREF="../../../com/lucaslee/report/model/crosstable/CrossTable.html" title="class in com.lucaslee.report.model.crosstable">CrossTable</A>&nbsp;crossTab)                       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>srcTab</CODE> - 原始数据表<DD><CODE>crossTab</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>
<!-- ========= 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>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>
  </TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>

<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
&nbsp;<A HREF="../../../com/lucaslee/report/DefaultFormatter.html" title="class in com.lucaslee.report"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/lucaslee/report/SortComparator.html" title="class in com.lucaslee.report"><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>  &nbsp;
&nbsp;<A HREF="ReportManager.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL:&nbsp;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<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 + -