📄 compassplot.html
字号:
<DT><B>Parameters:</B><DD><CODE>series</CODE> - the series index.<DD><CODE>stroke</CODE> - the stroke.</DL></DD></DL><HR><A NAME="setSeriesNeedle(int)"><!-- --></A><H3>setSeriesNeedle</H3><PRE>public void <B>setSeriesNeedle</B>(int type)</PRE><DL><DD>Sets the needle type.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the type.</DL></DD></DL><HR><A NAME="setSeriesNeedle(int, int)"><!-- --></A><H3>setSeriesNeedle</H3><PRE>public void <B>setSeriesNeedle</B>(int index, int type)</PRE><DL><DD>Sets the needle for a series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the series index.<DD><CODE>type</CODE> - the needle type.</DL></DD></DL><HR><A NAME="setSeriesNeedle(int, org.jfree.chart.needle.MeterNeedle)"><!-- --></A><H3>setSeriesNeedle</H3><PRE>public void <B>setSeriesNeedle</B>(int index, <A HREF="../../../../org/jfree/chart/needle/MeterNeedle.html" title="class in org.jfree.chart.needle">MeterNeedle</A> needle)</PRE><DL><DD>Sets the needle for a series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the series index.<DD><CODE>needle</CODE> - the needle.</DL></DD></DL><HR><A NAME="getData()"><!-- --></A><H3>getData</H3><PRE>public <A HREF="../../../../org/jfree/data/ValueDataset.html" title="interface in org.jfree.data">ValueDataset</A>[] <B>getData</B>()</PRE><DL><DD>Returns the dataset. <P> Provided for convenience.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The dataset for the plot, cast as a ValueDataset.</DL></DD></DL><HR><A NAME="addData(org.jfree.data.ValueDataset)"><!-- --></A><H3>addData</H3><PRE>public void <B>addData</B>(<A HREF="../../../../org/jfree/data/ValueDataset.html" title="interface in org.jfree.data">ValueDataset</A> data)</PRE><DL><DD>Adds a dataset to the compass.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the new dataset.</DL></DD></DL><HR><A NAME="addData(org.jfree.data.ValueDataset, org.jfree.chart.needle.MeterNeedle)"><!-- --></A><H3>addData</H3><PRE>public void <B>addData</B>(<A HREF="../../../../org/jfree/data/ValueDataset.html" title="interface in org.jfree.data">ValueDataset</A> data, <A HREF="../../../../org/jfree/chart/needle/MeterNeedle.html" title="class in org.jfree.chart.needle">MeterNeedle</A> needle)</PRE><DL><DD>Adds a dataset to the compass.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>data</CODE> - the new dataset.<DD><CODE>needle</CODE> - the needle.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotState, org.jfree.chart.plot.PlotRenderingInfo)"><!-- --></A><H3>draw</H3><PRE>public void <B>draw</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D plotArea, <A HREF="../../../../org/jfree/chart/plot/PlotState.html" title="class in org.jfree.chart.plot">PlotState</A> parentState, <A HREF="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</A> info)</PRE><DL><DD>Draws the plot on a Java 2D graphics device (such as the screen or a printer).<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotState, org.jfree.chart.plot.PlotRenderingInfo)">draw</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plotArea</CODE> - the area within which the plot should be drawn.<DD><CODE>parentState</CODE> - the state from the parent plot, if there is one.<DD><CODE>info</CODE> - collects info about the drawing.</DL></DD></DL><HR><A NAME="getPlotType()"><!-- --></A><H3>getPlotType</H3><PRE>public java.lang.String <B>getPlotType</B>()</PRE><DL><DD>Returns a short string describing the type of plot.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html#getPlotType()">getPlotType</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>a string describing the plot.</DL></DD></DL><HR><A NAME="getLegendItems()"><!-- --></A><H3>getLegendItems</H3><PRE>public <A HREF="../../../../org/jfree/chart/LegendItemCollection.html" title="class in org.jfree.chart">LegendItemCollection</A> <B>getLegendItems</B>()</PRE><DL><DD>Returns the legend items for the plot. For now, no legend is available - this method returns null.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html#getLegendItems()">getLegendItems</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>the legend items.</DL></DD></DL><HR><A NAME="zoom(double)"><!-- --></A><H3>zoom</H3><PRE>public void <B>zoom</B>(double percent)</PRE><DL><DD>No zooming is implemented for compass plot, so this method is empty.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html#zoom(double)">zoom</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>percent</CODE> - the zoom amount.</DL></DD></DL><HR><A NAME="getCompassFont(int)"><!-- --></A><H3>getCompassFont</H3><PRE>protected java.awt.Font <B>getCompassFont</B>(int radius)</PRE><DL><DD>Returns the font for the compass.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>radius</CODE> - the radius.<DT><B>Returns:</B><DD>the font.</DL></DD></DL><HR><A NAME="getLegendItemLabels()"><!-- --></A><H3>getLegendItemLabels</H3><PRE>public java.util.List <B>getLegendItemLabels</B>()</PRE><DL><DD><B>Deprecated.</B> <I>use getLegendItems().</I><P><DD>Returns a list of legend item labels.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>a list of legend item labels.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object object)</PRE><DL><DD>Tests an object for equality with this plot.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the object.<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>() throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the annotation.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - this class will not throw this exception, but subclasses (if any) might.</DL></DD></DL><HR><A NAME="setRevolutionDistance(double)"><!-- --></A><H3>setRevolutionDistance</H3><PRE>public void <B>setRevolutionDistance</B>(double size)</PRE><DL><DD>Sets the count to complete one revolution. Can be arbitaly set For degrees (the default) it is 360, for radians this is 2*Pi, etc<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>size</CODE> - the count to complete one revolution.</DL></DD></DL><HR><A NAME="getRevolutionDistance()"><!-- --></A><H3>getRevolutionDistance</H3><PRE>public double <B>getRevolutionDistance</B>()</PRE><DL><DD>Gets the count to complete one revolution.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the count to complete one revolution</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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/chart/plot/CombinedRangeXYPlot.html" title="class in org.jfree.chart.plot"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/plot/ContourPlot.html" title="class in org.jfree.chart.plot"><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> <A HREF="CompassPlot.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + -