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

📄 meterlegend.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the legend text.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.chart.StandardLegend"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.chart.<A HREF="../../../org/jfree/chart/StandardLegend.html" title="class in org.jfree.chart">StandardLegend</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/jfree/chart/StandardLegend.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, boolean, boolean, org.jfree.chart.ChartRenderingInfo)">draw</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)">draw</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getBackgroundPaint()">getBackgroundPaint</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getBoundingBoxArcHeight()">getBoundingBoxArcHeight</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getBoundingBoxArcWidth()">getBoundingBoxArcWidth</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getDisplaySeriesLines()">getDisplaySeriesLines</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getDisplaySeriesShapes()">getDisplaySeriesShapes</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getInnerGap()">getInnerGap</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getItemFont()">getItemFont</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getItemPaint()">getItemPaint</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getOuterGap()">getOuterGap</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getOutlinePaint()">getOutlinePaint</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getOutlineShapes()">getOutlineShapes</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getOutlineStroke()">getOutlineStroke</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getPreferredWidth()">getPreferredWidth</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getRenderingOrder()">getRenderingOrder</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getShapeOutlinePaint()">getShapeOutlinePaint</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getShapeOutlineStroke()">getShapeOutlineStroke</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getShapeScaleX()">getShapeScaleX</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getShapeScaleY()">getShapeScaleY</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getTitle()">getTitle</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#getTitleFont()">getTitleFont</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setBackgroundPaint(java.awt.Paint)">setBackgroundPaint</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setBoundingBoxArcHeight(int)">setBoundingBoxArcHeight</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setBoundingBoxArcWidth(int)">setBoundingBoxArcWidth</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setDisplaySeriesLines(boolean)">setDisplaySeriesLines</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setDisplaySeriesShapes(boolean)">setDisplaySeriesShapes</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setInnerGap(org.jfree.ui.Spacer)">setInnerGap</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setItemFont(java.awt.Font)">setItemFont</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setItemPaint(java.awt.Paint)">setItemPaint</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setOuterGap(org.jfree.ui.Spacer)">setOuterGap</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setOutlinePaint(java.awt.Paint)">setOutlinePaint</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setOutlineShapes(boolean)">setOutlineShapes</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setOutlineStroke(java.awt.Stroke)">setOutlineStroke</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setPreferredWidth(double)">setPreferredWidth</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setRenderingOrder(org.jfree.chart.LegendRenderingOrder)">setRenderingOrder</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setShapeOutlinePaint(java.awt.Paint)">setShapeOutlinePaint</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setShapeOutlineStroke(java.awt.Stroke)">setShapeOutlineStroke</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setShapeScaleX(double)">setShapeScaleX</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setShapeScaleY(double)">setShapeScaleY</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setTitle(java.lang.String)">setTitle</A>, <A HREF="../../../org/jfree/chart/StandardLegend.html#setTitleFont(java.awt.Font)">setTitleFont</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.chart.Legend"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.chart.<A HREF="../../../org/jfree/chart/Legend.html" title="class in org.jfree.chart">Legend</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../org/jfree/chart/Legend.html#addChangeListener(org.jfree.chart.event.LegendChangeListener)">addChangeListener</A>, <A HREF="../../../org/jfree/chart/Legend.html#clone()">clone</A>, <A HREF="../../../org/jfree/chart/Legend.html#createInstance(org.jfree.chart.JFreeChart)">createInstance</A>, <A HREF="../../../org/jfree/chart/Legend.html#getAnchor()">getAnchor</A>, <A HREF="../../../org/jfree/chart/Legend.html#getChart()">getChart</A>, <A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToBottom()">isAnchoredToBottom</A>, <A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToCenter()">isAnchoredToCenter</A>, <A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToLeft()">isAnchoredToLeft</A>, <A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToMiddle()">isAnchoredToMiddle</A>, <A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToRight()">isAnchoredToRight</A>, <A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToTop()">isAnchoredToTop</A>, <A HREF="../../../org/jfree/chart/Legend.html#notifyListeners(org.jfree.chart.event.LegendChangeEvent)">notifyListeners</A>, <A HREF="../../../org/jfree/chart/Legend.html#registerChart(org.jfree.chart.JFreeChart)">registerChart</A>, <A HREF="../../../org/jfree/chart/Legend.html#removeChangeListener(org.jfree.chart.event.LegendChangeListener)">removeChangeListener</A>, <A HREF="../../../org/jfree/chart/Legend.html#setAnchor(int)">setAnchor</A></CODE></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>finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= 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="MeterLegend()"><!-- --></A><H3>MeterLegend</H3><PRE>public <B>MeterLegend</B>()</PRE><DL><DD>The default constructor; sets an empty legend text.<P></DL><HR><A NAME="MeterLegend(java.lang.String)"><!-- --></A><H3>MeterLegend</H3><PRE>public <B>MeterLegend</B>(java.lang.String&nbsp;legendText)</PRE><DL><DD>Constructs a new legend.<P><DT><B>Parameters:</B><DD><CODE>legendText</CODE> - the legend text.</DL><HR><A NAME="MeterLegend(org.jfree.chart.JFreeChart, java.lang.String)"><!-- --></A><H3>MeterLegend</H3><PRE>public <B>MeterLegend</B>(<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart,                   java.lang.String&nbsp;legendText)</PRE><DL><DD><B>Deprecated.</B>&nbsp;<I>use the default constructor instead and let JFreeChart manage the chart reference</I><P><DD>Creates a new legend.<P><DT><B>Parameters:</B><DD><CODE>chart</CODE> - the chart that the legend belongs to.<DD><CODE>legendText</CODE> - the legend text.</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="getLegendText()"><!-- --></A><H3>getLegendText</H3><PRE>public java.lang.String <B>getLegendText</B>()</PRE><DL><DD>Returns the legend text.<P><DD><DL><DT><B>Returns:</B><DD>the legend text.</DL></DD></DL><HR><A NAME="setLegendText(java.lang.String)"><!-- --></A><H3>setLegendText</H3><PRE>public void <B>setLegendText</B>(java.lang.String&nbsp;text)</PRE><DL><DD>Sets the legend text.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>text</CODE> - the new legend text.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D)"><!-- --></A><H3>draw</H3><PRE>public java.awt.geom.Rectangle2D <B>draw</B>(java.awt.Graphics2D&nbsp;g2,                                      java.awt.geom.Rectangle2D&nbsp;available)</PRE><DL><DD>Draws the legend.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>available</CODE> - the available area.<DT><B>Returns:</B><DD>the remaining available drawing area.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, boolean, boolean)"><!-- --></A><H3>draw</H3><PRE>protected java.awt.geom.Rectangle2D <B>draw</B>(java.awt.Graphics2D&nbsp;g2,                                         java.awt.geom.Rectangle2D&nbsp;available,                                         boolean&nbsp;horizontal,                                         boolean&nbsp;inverted)</PRE><DL><DD>Draws the legend.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>available</CODE> - the available drawing area.<DD><CODE>horizontal</CODE> - if <code>true</code> draw a horizontal legend.<DD><CODE>inverted</CODE> - ???<DT><B>Returns:</B><DD>the remaining available drawing area.</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/chart/LegendRenderingOrder.html" title="class in org.jfree.chart"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/chart/PolarChartPanel.html" title="class in org.jfree.chart"><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="MeterLegend.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="#fields_inherited_from_class_org.jfree.chart.StandardLegend">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;FIELD&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 + -