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

📄 standardlegend.html

📁 JFreeChart的帮助文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
</DD></DL><HR><A NAME="setTitle(java.lang.String)"><!-- --></A><H3>setTitle</H3><PRE>public void <B>setTitle</B>(java.lang.String&nbsp;title)</PRE><DL><DD>Sets the title of the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - The title to use. Pass <code>null</code> if you don't              want a title.</DL></DD></DL><HR><A NAME="getTitleFont()"><!-- --></A><H3>getTitleFont</H3><PRE>public java.awt.Font <B>getTitleFont</B>()</PRE><DL><DD>Returns the title font.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The font.</DL></DD></DL><HR><A NAME="setTitleFont(java.awt.Font)"><!-- --></A><H3>setTitleFont</H3><PRE>public void <B>setTitleFont</B>(java.awt.Font&nbsp;font)</PRE><DL><DD>Sets the title font.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>font</CODE> - the new font.</DL></DD></DL><HR><A NAME="getItemFont()"><!-- --></A><H3>getItemFont</H3><PRE>public java.awt.Font <B>getItemFont</B>()</PRE><DL><DD>Returns the series label font.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the series label font.</DL></DD></DL><HR><A NAME="setItemFont(java.awt.Font)"><!-- --></A><H3>setItemFont</H3><PRE>public void <B>setItemFont</B>(java.awt.Font&nbsp;font)</PRE><DL><DD>Sets the series label font. <P> Registered listeners are notified that the legend has changed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>font</CODE> - the new series label font.</DL></DD></DL><HR><A NAME="getItemPaint()"><!-- --></A><H3>getItemPaint</H3><PRE>public java.awt.Paint <B>getItemPaint</B>()</PRE><DL><DD>Returns the series label color.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the series label color.</DL></DD></DL><HR><A NAME="setItemPaint(java.awt.Paint)"><!-- --></A><H3>setItemPaint</H3><PRE>public void <B>setItemPaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the series label color. <P> Registered listeners are notified that the legend has changed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the new series label color.</DL></DD></DL><HR><A NAME="getOutlineShapes()"><!-- --></A><H3>getOutlineShapes</H3><PRE>public boolean <B>getOutlineShapes</B>()</PRE><DL><DD>Returns the flag that indicates whether or not outlines are drawn around shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the flag.</DL></DD></DL><HR><A NAME="setOutlineShapes(boolean)"><!-- --></A><H3>setOutlineShapes</H3><PRE>public void <B>setOutlineShapes</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets the flag that controls whether or not outlines are drawn around shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - The flag.</DL></DD></DL><HR><A NAME="getShapeOutlineStroke()"><!-- --></A><H3>getShapeOutlineStroke</H3><PRE>public java.awt.Stroke <B>getShapeOutlineStroke</B>()</PRE><DL><DD>Returns the stroke used to outline shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the stroke.</DL></DD></DL><HR><A NAME="setShapeOutlineStroke(java.awt.Stroke)"><!-- --></A><H3>setShapeOutlineStroke</H3><PRE>public void <B>setShapeOutlineStroke</B>(java.awt.Stroke&nbsp;stroke)</PRE><DL><DD>Sets the stroke used to outline shapes. <P> Registered listeners are notified of the change.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the stroke.</DL></DD></DL><HR><A NAME="getShapeOutlinePaint()"><!-- --></A><H3>getShapeOutlinePaint</H3><PRE>public java.awt.Paint <B>getShapeOutlinePaint</B>()</PRE><DL><DD>Returns the paint used to outline shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the paint.</DL></DD></DL><HR><A NAME="setShapeOutlinePaint(java.awt.Paint)"><!-- --></A><H3>setShapeOutlinePaint</H3><PRE>public void <B>setShapeOutlinePaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the paint used to outline shapes. <P> Registered listeners are notified of the change.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint.</DL></DD></DL><HR><A NAME="setDisplaySeriesShapes(boolean)"><!-- --></A><H3>setDisplaySeriesShapes</H3><PRE>public void <B>setDisplaySeriesShapes</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets a flag that controls whether or not the legend displays the series shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the new value of the flag.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>draw</H3><PRE>public java.awt.geom.Rectangle2D <B>draw</B>(java.awt.Graphics2D&nbsp;g2,                                      java.awt.geom.Rectangle2D&nbsp;available,                                      <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info)</PRE><DL><DD>Draws the legend 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/Legend.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.ChartRenderingInfo)">draw</A></CODE> in class <CODE><A HREF="../../../org/jfree/chart/Legend.html">Legend</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>available</CODE> - the area within which the legend, and afterwards the plot, should be                   drawn.<DD><CODE>info</CODE> - collects rendering info (optional).<DT><B>Returns:</B><DD>The area used by the legend.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, boolean, boolean, org.jfree.chart.ChartRenderingInfo)"><!-- --></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,                                         <A HREF="../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A>&nbsp;info)</PRE><DL><DD>Draws the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>available</CODE> - the area available for drawing the chart.<DD><CODE>horizontal</CODE> - a flag indicating whether the legend items are laid out horizontally.<DD><CODE>inverted</CODE> - ???<DD><CODE>info</CODE> - collects rendering info (optional).<DT><B>Returns:</B><DD>the remaining available drawing area.</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 an object for equality with this legend.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../org/jfree/chart/Legend.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../org/jfree/chart/Legend.html">Legend</A></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><!-- ========= 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/Spacer.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../org/jfree/chart/StandardLegendItemLayout.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="StandardLegend.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 + -