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

📄 jfreechart.html

📁 JFreeChart的帮助文档
💻 HTML
📖 第 1 页 / 共 5 页
字号:
</DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the width.<DD><CODE>height</CODE> - the height.<DT><B>Returns:</B><DD>a buffered image.</DL></DD></DL><HR><A NAME="createBufferedImage(int, int, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>createBufferedImage</H3><PRE>public java.awt.image.BufferedImage <B>createBufferedImage</B>(int&nbsp;width,                                                        int&nbsp;height,                                                        <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info)</PRE><DL><DD>Creates and returns a buffered image into which the chart has been drawn.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the width.<DD><CODE>height</CODE> - the height.<DD><CODE>info</CODE> - optional object for collection chart dimension and entity information.<DT><B>Returns:</B><DD>a buffered image.</DL></DD></DL><HR><A NAME="handleClick(int, int, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>handleClick</H3><PRE>public void <B>handleClick</B>(int&nbsp;x,                        int&nbsp;y,                        <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info)</PRE><DL><DD>Handles a 'click' on the chart. <P> JFreeChart is not a UI component, so some other object (e.g. ChartPanel) needs to capture the click event and pass it onto the JFreeChart object. If you are not using JFreeChart in a client application, then this method is not required (and hopefully it doesn't get in the way).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>x</CODE> - x-coordinate of the click.<DD><CODE>y</CODE> - y-coordinate of the click.<DD><CODE>info</CODE> - optional object for collection chart dimension and entity information.</DL></DD></DL><HR><A NAME="addChangeListener(org.jfree.chart.event.ChartChangeListener)"><!-- --></A><H3>addChangeListener</H3><PRE>public void <B>addChangeListener</B>(<A HREF="../../../org/jfree/chart/event/ChartChangeListener.html">ChartChangeListener</A>&nbsp;listener)</PRE><DL><DD>Registers an object for notification of changes to the chart.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the object being registered.</DL></DD></DL><HR><A NAME="removeChangeListener(org.jfree.chart.event.ChartChangeListener)"><!-- --></A><H3>removeChangeListener</H3><PRE>public void <B>removeChangeListener</B>(<A HREF="../../../org/jfree/chart/event/ChartChangeListener.html">ChartChangeListener</A>&nbsp;listener)</PRE><DL><DD>Deregisters an object for notification of changes to the chart.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the object being deregistered.</DL></DD></DL><HR><A NAME="fireChartChanged()"><!-- --></A><H3>fireChartChanged</H3><PRE>public void <B>fireChartChanged</B>()</PRE><DL><DD>Sends a default <A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html"><CODE>ChartChangeEvent</CODE></A> to all registered listeners. <P> This method is for convenience only.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="notifyListeners(org.jfree.chart.event.ChartChangeEvent)"><!-- --></A><H3>notifyListeners</H3><PRE>protected void <B>notifyListeners</B>(<A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html">ChartChangeEvent</A>&nbsp;event)</PRE><DL><DD>Sends a <A HREF="../../../org/jfree/chart/event/ChartChangeEvent.html"><CODE>ChartChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - information about the event that triggered the notification.</DL></DD></DL><HR><A NAME="addProgressListener(org.jfree.chart.event.ChartProgressListener)"><!-- --></A><H3>addProgressListener</H3><PRE>public void <B>addProgressListener</B>(<A HREF="../../../org/jfree/chart/event/ChartProgressListener.html">ChartProgressListener</A>&nbsp;listener)</PRE><DL><DD>Registers an object for notification of progress events relating to the chart.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the object being registered.</DL></DD></DL><HR><A NAME="removeProgressListener(org.jfree.chart.event.ChartProgressListener)"><!-- --></A><H3>removeProgressListener</H3><PRE>public void <B>removeProgressListener</B>(<A HREF="../../../org/jfree/chart/event/ChartProgressListener.html">ChartProgressListener</A>&nbsp;listener)</PRE><DL><DD>Deregisters an object for notification of changes to the chart.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>listener</CODE> - the object being deregistered.</DL></DD></DL><HR><A NAME="notifyListeners(org.jfree.chart.event.ChartProgressEvent)"><!-- --></A><H3>notifyListeners</H3><PRE>protected void <B>notifyListeners</B>(<A HREF="../../../org/jfree/chart/event/ChartProgressEvent.html">ChartProgressEvent</A>&nbsp;event)</PRE><DL><DD>Sends a <A HREF="../../../org/jfree/chart/event/ChartProgressEvent.html"><CODE>ChartProgressEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - information about the event that triggered the notification.</DL></DD></DL><HR><A NAME="titleChanged(org.jfree.chart.event.TitleChangeEvent)"><!-- --></A><H3>titleChanged</H3><PRE>public void <B>titleChanged</B>(<A HREF="../../../org/jfree/chart/event/TitleChangeEvent.html">TitleChangeEvent</A>&nbsp;event)</PRE><DL><DD>Receives notification that a chart title has changed, and passes this on to registered listeners.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/chart/event/TitleChangeListener.html#titleChanged(org.jfree.chart.event.TitleChangeEvent)">titleChanged</A></CODE> in interface <CODE><A HREF="../../../org/jfree/chart/event/TitleChangeListener.html">TitleChangeListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - information about the chart title change.</DL></DD></DL><HR><A NAME="legendChanged(org.jfree.chart.event.LegendChangeEvent)"><!-- --></A><H3>legendChanged</H3><PRE>public void <B>legendChanged</B>(<A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html">LegendChangeEvent</A>&nbsp;event)</PRE><DL><DD>Receives notification that the chart legend has changed, and passes this on to registered listeners.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/chart/event/LegendChangeListener.html#legendChanged(org.jfree.chart.event.LegendChangeEvent)">legendChanged</A></CODE> in interface <CODE><A HREF="../../../org/jfree/chart/event/LegendChangeListener.html">LegendChangeListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - information about the chart legend change.</DL></DD></DL><HR><A NAME="plotChanged(org.jfree.chart.event.PlotChangeEvent)"><!-- --></A><H3>plotChanged</H3><PRE>public void <B>plotChanged</B>(<A HREF="../../../org/jfree/chart/event/PlotChangeEvent.html">PlotChangeEvent</A>&nbsp;event)</PRE><DL><DD>Receives notification that the plot has changed, and passes this on to registered listeners.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../org/jfree/chart/event/PlotChangeListener.html#plotChanged(org.jfree.chart.event.PlotChangeEvent)">plotChanged</A></CODE> in interface <CODE><A HREF="../../../org/jfree/chart/event/PlotChangeListener.html">PlotChangeListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>event</CODE> - information about the plot change.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>Tests this chart for equality with another object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object.<DT><B>Returns:</B><DD><code>true</code> or <code>false</code>.</DL></DD></DL><HR><A NAME="main(java.lang.String[])"><!-- --></A><H3>main</H3><PRE>public static void <B>main</B>(java.lang.String[]&nbsp;args)</PRE><DL><DD>Prints information about JFreeChart to standard output.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>args</CODE> - no arguments are honored.</DL></DD></DL><HR><A NAME="getSuppressChartChangeEvents()"><!-- --></A><H3>getSuppressChartChangeEvents</H3><PRE>public boolean <B>getSuppressChartChangeEvents</B>()</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use isNotify() instead.</I><P><DD>Returns the flag that controls whether notification of chart change events is suppressed.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The flag.</DL></DD></DL><HR><A NAME="setSuppressChartChangeEvents(boolean)"><!-- --></A><H3>setSuppressChartChangeEvents</H3><PRE>public void <B>setSuppressChartChangeEvents</B>(boolean&nbsp;flag)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>Use setNotify(boolean) instead.</I><P><DD>Sets a flag that is used to suppress notification of chart change events.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag.</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="../../../org/jfree/chart/IntervalMarker.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/chart/Legend.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="JFreeChart.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 + -