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

📄 reportmanager.html

📁 使用java的报表操作的类
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<PRE>
public static final int <B>COLUMN_ORIENTATION</B></PRE>
<DL>
<DD>列方向,即列延伸的方向,垂直向下
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lucaslee.report.ReportManager.COLUMN_ORIENTATION">Constant Field Values</A></DL>
</DL>

<!-- ========= CONSTRUCTOR DETAIL ======== -->

<A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Constructor Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="ReportManager()"><!-- --></A><H3>
ReportManager</H3>
<PRE>
public <B>ReportManager</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="split(com.lucaslee.report.model.Table, int[])"><!-- --></A><H3>
split</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html">Table</A> <B>split</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;t,                   int[]&nbsp;cols)            throws <A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></PRE>
<DL>
<DD>用父级列形成的表格线分割子列。 一个表可能有多列需要进行同值合并,此方法使前面的列总能完全包容后面的列. 即从逻辑上说,若此表表示一个分类表,前面的列总是后面的父级分类。 实现的操作是,用父级列形成的表格线分割子列。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>t</CODE> - 表格<DD><CODE>cols</CODE> - 要进行合并的列,应该是连续的<DD><CODE><A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="formatData(com.lucaslee.report.model.Table, com.lucaslee.report.model.crosstable.CrossTable, com.lucaslee.report.Formatter)"><!-- --></A><H3>
formatData</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html">Table</A> <B>formatData</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;t,                        <A HREF="../../../com/lucaslee/report/model/crosstable/CrossTable.html">CrossTable</A>&nbsp;crossTab,                        <A HREF="../../../com/lucaslee/report/Formatter.html">Formatter</A>&nbsp;f)                 throws <A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></PRE>
<DL>
<DD>格式化交叉表的数据。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>t</CODE> - 交叉数据表<DD><CODE>crossTab</CODE> - 交叉表定义<DD><CODE>f</CODE> - 格式化对象<DT><B>Returns:</B><DD>处理后的数据表<DT><B>Throws:</B><DD><CODE><A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="formatData(com.lucaslee.report.model.Table, int, int, int, int, com.lucaslee.report.Formatter)"><!-- --></A><H3>
formatData</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html">Table</A> <B>formatData</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;t,                        int&nbsp;fromRow,                        int&nbsp;toRow,                        int&nbsp;fromCol,                        int&nbsp;toCol,                        <A HREF="../../../com/lucaslee/report/Formatter.html">Formatter</A>&nbsp;f)                 throws <A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></PRE>
<DL>
<DD>格式化数据.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>t</CODE> - 要处理的表<DD><CODE>fromRow</CODE> - 开始行,包含此行<DD><CODE>toRow</CODE> - 终止行,不包含此行<DD><CODE>fromCol</CODE> - 开始列,包含此列<DD><CODE>toCol</CODE> - 终止列,不包含此列<DD><CODE>f</CODE> - 格式化对象<DT><B>Returns:</B><DD>处理完的表<DT><B>Throws:</B><DD><CODE><A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></CODE></DL>
</DD>
</DL>
<HR>

<A NAME="formatData(com.lucaslee.report.model.Table, int[], com.lucaslee.report.Formatter)"><!-- --></A><H3>
formatData</H3>
<PRE>
public <A HREF="../../../com/lucaslee/report/model/Table.html">Table</A> <B>formatData</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;t,                        int[]&nbsp;cols,                        <A HREF="../../../com/lucaslee/report/Formatter.html">Formatter</A>&nbsp;f)                 throws <A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></PRE>
<DL>
<DD>格式化表格数据.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>t</CODE> - 表格<DD><CODE>cols</CODE> - 在此数组里的列才进行格式化<DD><CODE>f</CODE> - 格式化对象<DD><CODE><A HREF="../../../com/lucaslee/report/ReportException.html">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">TableLine</A> <B>mergeSameCell</B>(<A HREF="../../../com/lucaslee/report/model/TableLine.html">TableLine</A>&nbsp;line)                        throws <A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></PRE>
<DL>
<DD>操作一个行或列,合并相邻且内容相同的单元。
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>line</CODE> - 要操作的列对象。<DT><B>Returns:</B><DD><DD><CODE><A HREF="../../../com/lucaslee/report/ReportException.html">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">Table</A> <B>mergeSameCells</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;t,                            int[]&nbsp;lines,                            int&nbsp;orientation)                     throws <A HREF="../../../com/lucaslee/report/ReportException.html">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的常数。<DD><CODE><A HREF="../../../com/lucaslee/report/ReportException.html">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">TableLine</A>&nbsp;line,                                    java.util.Vector&nbsp;seq)                             throws <A HREF="../../../com/lucaslee/report/ReportException.html">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">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">Table</A> <B>generateCrossTabColTotal</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;t,                                      <A HREF="../../../com/lucaslee/report/model/crosstable/CrossTable.html">CrossTable</A>&nbsp;crossTab,                                      boolean&nbsp;isSubTotal,                                      <A HREF="../../../com/lucaslee/report/grouparithmetic/GroupArithmetic.html">GroupArithmetic</A>&nbsp;arith)                               throws <A HREF="../../../com/lucaslee/report/ReportException.html">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">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">Table</A> <B>generateCrossTabRowTotal</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;t,                                      <A HREF="../../../com/lucaslee/report/model/crosstable/CrossTable.html">CrossTable</A>&nbsp;crossTab,                                      boolean&nbsp;isSubTotal,                                      <A HREF="../../../com/lucaslee/report/grouparithmetic/GroupArithmetic.html">GroupArithmetic</A>&nbsp;arith)                               throws <A HREF="../../../com/lucaslee/report/ReportException.html">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">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">Table</A> <B>generateRowTotal</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;t,                              int[]&nbsp;totalCols,                              boolean&nbsp;isSubTotal,                              <A HREF="../../../com/lucaslee/report/grouparithmetic/GroupArithmetic.html">GroupArithmetic</A>&nbsp;arith)                       throws <A HREF="../../../com/lucaslee/report/ReportException.html">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">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">Table</A> <B>generateCrossTab</B>(<A HREF="../../../com/lucaslee/report/model/Table.html">Table</A>&nbsp;srcTab,                              <A HREF="../../../com/lucaslee/report/model/crosstable/CrossTable.html">CrossTable</A>&nbsp;crossTab)                       throws <A HREF="../../../com/lucaslee/report/ReportException.html">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>结果表<DD><CODE><A HREF="../../../com/lucaslee/report/ReportException.html">ReportException</A></CODE></DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <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"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../com/lucaslee/report/SortComparator.html"><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>  <!--  if(window==top) {    document.writeln('<A HREF="../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../allclasses-noframe.html" TARGET=""><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>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -