📄 chartpanel.html
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#getZoomOutFactor()">getZoomOutFactor</A></B>()</CODE><BR> Returns the zoom out factor.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#getZoomTriggerDistance()">getZoomTriggerDistance</A></B>()</CODE><BR> Returns the zoom trigger distance.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#isDomainZoomable()">isDomainZoomable</A></B>()</CODE><BR> Returns the flag that determines whether or not zooming is enabled for the domain axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#isEnforceFileExtensions()">isEnforceFileExtensions</A></B>()</CODE><BR> Returns <code>true</code> if file extensions should be enforced, and <code>false</code> otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#isRangeZoomable()">isRangeZoomable</A></B>()</CODE><BR> Returns the flag that determines whether or not zooming is enabled for the range axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#mouseClicked(java.awt.event.MouseEvent)">mouseClicked</A></B>(java.awt.event.MouseEvent event)</CODE><BR> Receives notification of mouse clicks on the panel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#mouseDragged(java.awt.event.MouseEvent)">mouseDragged</A></B>(java.awt.event.MouseEvent e)</CODE><BR> Handles a 'mouse dragged' event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#mouseEntered(java.awt.event.MouseEvent)">mouseEntered</A></B>(java.awt.event.MouseEvent e)</CODE><BR> Handles a 'mouse entered' event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#mouseExited(java.awt.event.MouseEvent)">mouseExited</A></B>(java.awt.event.MouseEvent e)</CODE><BR> Handles a 'mouse exited' event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#mouseMoved(java.awt.event.MouseEvent)">mouseMoved</A></B>(java.awt.event.MouseEvent e)</CODE><BR> Implementation of the MouseMotionListener's method.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#mousePressed(java.awt.event.MouseEvent)">mousePressed</A></B>(java.awt.event.MouseEvent e)</CODE><BR> Handles a 'mouse pressed' event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#mouseReleased(java.awt.event.MouseEvent)">mouseReleased</A></B>(java.awt.event.MouseEvent e)</CODE><BR> Handles a 'mouse released' event.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#paintComponent(java.awt.Graphics)">paintComponent</A></B>(java.awt.Graphics g)</CODE><BR> Paints the component by drawing the chart to fill the entire component, but allowing for the insets (which will be non-zero if a border has been set for this component).</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#print(java.awt.Graphics, java.awt.print.PageFormat, int)">print</A></B>(java.awt.Graphics g, java.awt.print.PageFormat pf, int pageIndex)</CODE><BR> Prints the chart on a single page.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#removeChartMouseListener(org.jfree.chart.ChartMouseListener)">removeChartMouseListener</A></B>(<A HREF="../../../org/jfree/chart/ChartMouseListener.html" title="interface in org.jfree.chart">ChartMouseListener</A> listener)</CODE><BR> Removes a listener from the list of objects listening for chart mouse events.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#restoreAutoBounds()">restoreAutoBounds</A></B>()</CODE><BR> Restores the auto-range calculation on both axes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#restoreAutoDomainBounds()">restoreAutoDomainBounds</A></B>()</CODE><BR> Restores the auto-range calculation on the domain axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#restoreAutoRangeBounds()">restoreAutoRangeBounds</A></B>()</CODE><BR> Restores the auto-range calculation on the range axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.awt.geom.Rectangle2D</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#scale(java.awt.geom.Rectangle2D)">scale</A></B>(java.awt.geom.Rectangle2D rect)</CODE><BR> Applies any scaling that is in effect for the chart drawing to the given rectangle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setAnchor(java.awt.geom.Point2D)">setAnchor</A></B>(java.awt.geom.Point2D anchor)</CODE><BR> Sets the anchor point.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setChart(org.jfree.chart.JFreeChart)">setChart</A></B>(<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> chart)</CODE><BR> Sets the chart that is displayed in the panel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setDismissDelay(int)">setDismissDelay</A></B>(int delay)</CODE><BR> Specifies the dismissal delay value for this chart panel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setDisplayToolTips(boolean)">setDisplayToolTips</A></B>(boolean flag)</CODE><BR> Switches the display of tooltips for the panel on or off.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setDomainZoomable(boolean)">setDomainZoomable</A></B>(boolean flag)</CODE><BR> Sets the flag that controls whether or not zooming is enable for the domain axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setEnforceFileExtensions(boolean)">setEnforceFileExtensions</A></B>(boolean enforce)</CODE><BR> Sets a flag that controls whether or not file extensions are enforced.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setFillZoomRectangle(boolean)">setFillZoomRectangle</A></B>(boolean flag)</CODE><BR> A flag that controls how the zoom rectangle is drawn.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setHorizontalAxisTrace(boolean)">setHorizontalAxisTrace</A></B>(boolean flag)</CODE><BR> A flag that controls trace lines on the horizontal axis.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setHorizontalTraceLine(java.awt.geom.Line2D)">setHorizontalTraceLine</A></B>(java.awt.geom.Line2D line)</CODE><BR> Sets the horizontal trace line.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/ChartPanel.html#setInitialDelay(int)">setInitialDelay</A></B>(int delay)</CODE><BR> Specifies the initial delay value for this chart panel.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -