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

📄 reportmanager.html

📁 这是一个报表开发包,支持中国样式的报表,支持分组和交叉报表
💻 HTML
📖 第 1 页 / 共 3 页
字号:
                         boolean&nbsp;isSubTotal,                         <A HREF="../../../com/lucaslee/report/grouparithmetic/GroupArithmetic.html" title="interface in com.lucaslee.report.grouparithmetic">GroupArithmetic</A>&nbsp;arith)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;生成交叉表的列汇总统计。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lucaslee/report/ReportManager.html#generateCrossTabRowTotal(com.lucaslee.report.model.Table, com.lucaslee.report.model.crosstable.CrossTable, boolean, com.lucaslee.report.grouparithmetic.GroupArithmetic)">generateCrossTabRowTotal</A></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)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对交叉表做行汇总统计。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lucaslee/report/ReportManager.html#generateRowTotal(com.lucaslee.report.model.Table, int[], boolean, com.lucaslee.report.grouparithmetic.GroupArithmetic)">generateRowTotal</A></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)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;生成行汇总统计。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;java.util.Set</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lucaslee/report/ReportManager.html#getDistinctSet(com.lucaslee.report.model.TableLine, java.util.Vector)">getDistinctSet</A></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)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;获得不重复的元素集合,并按指定顺序排序。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/lucaslee/report/model/TableLine.html" title="class in com.lucaslee.report.model">TableLine</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lucaslee/report/ReportManager.html#mergeSameCell(com.lucaslee.report.model.TableLine)">mergeSameCell</A></B>(<A HREF="../../../com/lucaslee/report/model/TableLine.html" title="class in com.lucaslee.report.model">TableLine</A>&nbsp;line)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;操作一个行或列,合并相邻且内容相同的单元。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lucaslee/report/ReportManager.html#mergeSameCells(com.lucaslee.report.model.Table, int[], int)">mergeSameCells</A></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)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;操作一个表格对象,合并相邻且内容相同的单元。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../com/lucaslee/report/ReportManager.html#split(com.lucaslee.report.model.Table, int[])">split</A></B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;t,      int[]&nbsp;cols)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;用父级列形成的表格线分割子列。 </TD>
</TR>
</TABLE>
&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor">
<TD><B>Methods inherited from class java.lang.Object</B></TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ FIELD DETAIL =========== -->

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

<A NAME="ROW_ORIENTATION"><!-- --></A><H3>
ROW_ORIENTATION</H3>
<PRE>
public static final int <B>ROW_ORIENTATION</B></PRE>
<DL>
<DD>行方向,即行延伸的方向,水平向右。
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#com.lucaslee.report.ReportManager.ROW_ORIENTATION">Constant Field Values</A></DL>
</DL>
<HR>

<A NAME="COLUMN_ORIENTATION"><!-- --></A><H3>
COLUMN_ORIENTATION</H3>
<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" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<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" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<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" title="class in com.lucaslee.report.model">Table</A> <B>split</B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;t,                   int[]&nbsp;cols)            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> - 要进行合并的列,应该是连续的<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="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" title="class in com.lucaslee.report.model">Table</A> <B>formatData</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,                        <A HREF="../../../com/lucaslee/report/Formatter.html" title="interface in com.lucaslee.report">Formatter</A>&nbsp;f)                 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>f</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="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" title="class in com.lucaslee.report.model">Table</A> <B>formatData</B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;t,                        int&nbsp;fromRow,                        int&nbsp;toRow,                        int&nbsp;fromCol,                        int&nbsp;toCol,                        <A HREF="../../../com/lucaslee/report/Formatter.html" title="interface in com.lucaslee.report">Formatter</A>&nbsp;f)                 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>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" title="class in com.lucaslee.report">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" title="class in com.lucaslee.report.model">Table</A> <B>formatData</B>(<A HREF="../../../com/lucaslee/report/model/Table.html" title="class in com.lucaslee.report.model">Table</A>&nbsp;t,                        int[]&nbsp;cols,                        <A HREF="../../../com/lucaslee/report/Formatter.html" title="interface in com.lucaslee.report">Formatter</A>&nbsp;f)

⌨️ 快捷键说明

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