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

📄 categorytopiedataset.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<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"><!-- --></A><H3>ROW</H3><PRE>public static final int <B>ROW</B></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use the TableOrder class.</I><P><DD>A constant indicating that data should be extracted from a row.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.data.CategoryToPieDataset.ROW">Constant Field Values</A></DL></DL><HR><A NAME="COLUMN"><!-- --></A><H3>COLUMN</H3><PRE>public static final int <B>COLUMN</B></PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use the TableOrder class.</I><P><DD>A constant indicating that data should be extracted from a column.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.data.CategoryToPieDataset.COLUMN">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="CategoryToPieDataset(org.jfree.data.CategoryDataset, org.jfree.util.TableOrder, int)"><!-- --></A><H3>CategoryToPieDataset</H3><PRE>public <B>CategoryToPieDataset</B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;source,                            org.jfree.util.TableOrder&nbsp;extract,                            int&nbsp;index)</PRE><DL><DD>An adaptor class that converts any <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data"><CODE>CategoryDataset</CODE></A> into a <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data"><CODE>PieDataset</CODE></A>, by taking the values from a single row or column.<P><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source dataset (<code>null</code> permitted).<DD><CODE>extract</CODE> - extract data from rows or columns? (<code>null</code> not permitted).<DD><CODE>index</CODE> - the row or column index.</DL><HR><A NAME="CategoryToPieDataset(org.jfree.data.CategoryDataset, int, int)"><!-- --></A><H3>CategoryToPieDataset</H3><PRE>public <B>CategoryToPieDataset</B>(<A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data">CategoryDataset</A>&nbsp;source,                            int&nbsp;extract,                            int&nbsp;index)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use the other constructor.</I><P><DD>An adaptor class that converts any <A HREF="../../../org/jfree/data/CategoryDataset.html" title="interface in org.jfree.data"><CODE>CategoryDataset</CODE></A> into a <A HREF="../../../org/jfree/data/PieDataset.html" title="interface in org.jfree.data"><CODE>PieDataset</CODE></A>, by taking the values from a single row or column.<P><DT><B>Parameters:</B><DD><CODE>source</CODE> - the source dataset.<DD><CODE>extract</CODE> - ROW or COLUMN.<DD><CODE>index</CODE> - the row or column index.</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="getItemCount()"><!-- --></A><H3>getItemCount</H3><PRE>public int <B>getItemCount</B>()</PRE><DL><DD>Returns the number of items (values) in the collection.  If the underlying dataset is <code>null</code>, this method returns zero.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Values.html#getItemCount()">getItemCount</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Values.html" title="interface in org.jfree.data">Values</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The item count.</DL></DD></DL><HR><A NAME="getValue(int)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <B>getValue</B>(int&nbsp;item)</PRE><DL><DD>Returns a value.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/Values.html#getValue(int)">getValue</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/Values.html" title="interface in org.jfree.data">Values</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>item</CODE> - the item index (zero-based).<DT><B>Returns:</B><DD>The value (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="getKey(int)"><!-- --></A><H3>getKey</H3><PRE>public java.lang.Comparable <B>getKey</B>(int&nbsp;index)</PRE><DL><DD>Returns a key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues.html#getKey(int)">getKey</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the item index (zero-based).<DT><B>Returns:</B><DD>The key.</DL></DD></DL><HR><A NAME="getIndex(java.lang.Comparable)"><!-- --></A><H3>getIndex</H3><PRE>public int <B>getIndex</B>(java.lang.Comparable&nbsp;key)</PRE><DL><DD>Returns the index for a given key.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues.html#getIndex(java.lang.Comparable)">getIndex</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key.<DT><B>Returns:</B><DD>The index.</DL></DD></DL><HR><A NAME="getKeys()"><!-- --></A><H3>getKeys</H3><PRE>public java.util.List <B>getKeys</B>()</PRE><DL><DD>Returns the keys.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues.html#getKeys()">getKeys</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The keys.</DL></DD></DL><HR><A NAME="getValue(java.lang.Comparable)"><!-- --></A><H3>getValue</H3><PRE>public java.lang.Number <B>getValue</B>(java.lang.Comparable&nbsp;key)</PRE><DL><DD>Returns the value for a given key.  If the key is not recognised, the method should  return <code>null</code> (but note that <code>null</code> can be associated with a  valid key also).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/KeyedValues.html#getValue(java.lang.Comparable)">getValue</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/KeyedValues.html" title="interface in org.jfree.data">KeyedValues</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>key</CODE> - the key.<DT><B>Returns:</B><DD>The value (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="datasetChanged(org.jfree.data.DatasetChangeEvent)"><!-- --></A><H3>datasetChanged</H3><PRE>public void <B>datasetChanged</B>(<A HREF="../../../org/jfree/data/DatasetChangeEvent.html" title="class in org.jfree.data">DatasetChangeEvent</A>&nbsp;event)</PRE><DL><DD>Passes the <A HREF="../../../org/jfree/data/DatasetChangeEvent.html" title="class in org.jfree.data"><CODE>DatasetChangeEvent</CODE></A> through.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/data/DatasetChangeListener.html#datasetChanged(org.jfree.data.DatasetChangeEvent)">datasetChanged</A></CODE> in interface <CODE><A HREF="../../../org/jfree/data/DatasetChangeListener.html" title="interface in org.jfree.data">DatasetChangeListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - the event.</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="../../../org/jfree/data/CategoryTableXYDataset.html" title="class in org.jfree.data"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/data/CombinedDataset.html" title="class in org.jfree.data"><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="CategoryToPieDataset.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 + -