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

📄 standardlegend.html

📁 JFreeChart的帮助文档
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#setOuterGap(org.jfree.chart.Spacer)">setOuterGap</A></B>(<A HREF="../../../org/jfree/chart/Spacer.html">Spacer</A>&nbsp;outerGap)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the outer gap for the legend.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#setOutlinePaint(java.awt.Paint)">setOutlinePaint</A></B>(java.awt.Paint&nbsp;paint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the outline color.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#setOutlineShapes(boolean)">setOutlineShapes</A></B>(boolean&nbsp;flag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the flag that controls whether or not outlines are drawn around shapes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#setOutlineStroke(java.awt.Stroke)">setOutlineStroke</A></B>(java.awt.Stroke&nbsp;stroke)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the outline pen/brush.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#setShapeOutlinePaint(java.awt.Paint)">setShapeOutlinePaint</A></B>(java.awt.Paint&nbsp;paint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the paint used to outline shapes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#setShapeOutlineStroke(java.awt.Stroke)">setShapeOutlineStroke</A></B>(java.awt.Stroke&nbsp;stroke)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the stroke used to outline shapes.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#setTitle(java.lang.String)">setTitle</A></B>(java.lang.String&nbsp;title)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the title of the legend.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#setTitleFont(java.awt.Font)">setTitleFont</A></B>(java.awt.Font&nbsp;font)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the title font.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.chart.Legend"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.chart.<A HREF="../../../org/jfree/chart/Legend.html">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#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#notifyListeners(org.jfree.chart.event.LegendChangeEvent)">notifyListeners</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" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="DEFAULT_OUTER_GAP"><!-- --></A><H3>DEFAULT_OUTER_GAP</H3><PRE>public static final <A HREF="../../../org/jfree/chart/Spacer.html">Spacer</A> <B>DEFAULT_OUTER_GAP</B></PRE><DL><DD>The default outer gap.<P><DL></DL></DL><HR><A NAME="DEFAULT_INNER_GAP"><!-- --></A><H3>DEFAULT_INNER_GAP</H3><PRE>public static final <A HREF="../../../org/jfree/chart/Spacer.html">Spacer</A> <B>DEFAULT_INNER_GAP</B></PRE><DL><DD>The default inner gap.<P><DL></DL></DL><HR><A NAME="DEFAULT_OUTLINE_STROKE"><!-- --></A><H3>DEFAULT_OUTLINE_STROKE</H3><PRE>public static final java.awt.Stroke <B>DEFAULT_OUTLINE_STROKE</B></PRE><DL><DD>The default outline stroke.<P><DL></DL></DL><HR><A NAME="DEFAULT_OUTLINE_PAINT"><!-- --></A><H3>DEFAULT_OUTLINE_PAINT</H3><PRE>public static final java.awt.Paint <B>DEFAULT_OUTLINE_PAINT</B></PRE><DL><DD>The default outline paint.<P><DL></DL></DL><HR><A NAME="DEFAULT_BACKGROUND_PAINT"><!-- --></A><H3>DEFAULT_BACKGROUND_PAINT</H3><PRE>public static final java.awt.Paint <B>DEFAULT_BACKGROUND_PAINT</B></PRE><DL><DD>The default background paint.<P><DL></DL></DL><HR><A NAME="DEFAULT_TITLE_FONT"><!-- --></A><H3>DEFAULT_TITLE_FONT</H3><PRE>public static final java.awt.Font <B>DEFAULT_TITLE_FONT</B></PRE><DL><DD>The default title font.<P><DL></DL></DL><HR><A NAME="DEFAULT_ITEM_FONT"><!-- --></A><H3>DEFAULT_ITEM_FONT</H3><PRE>public static final java.awt.Font <B>DEFAULT_ITEM_FONT</B></PRE><DL><DD>The default item font.<P><DL></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="StandardLegend(org.jfree.chart.JFreeChart)"><!-- --></A><H3>StandardLegend</H3><PRE>public <B>StandardLegend</B>(<A HREF="../../../org/jfree/chart/JFreeChart.html">JFreeChart</A>&nbsp;chart)</PRE><DL><DD>Constructs a new legend with default settings.<P><DT><B>Parameters:</B><DD><CODE>chart</CODE> - the chart that the legend belongs to.</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getOuterGap()"><!-- --></A><H3>getOuterGap</H3><PRE>public <A HREF="../../../org/jfree/chart/Spacer.html">Spacer</A> <B>getOuterGap</B>()</PRE><DL><DD>Returns the outer gap for the legend. <P> This is the amount of blank space around the outside of the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the gap.</DL></DD></DL><HR><A NAME="setOuterGap(org.jfree.chart.Spacer)"><!-- --></A><H3>setOuterGap</H3><PRE>public void <B>setOuterGap</B>(<A HREF="../../../org/jfree/chart/Spacer.html">Spacer</A>&nbsp;outerGap)</PRE><DL><DD>Sets the outer gap for the legend.  A <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html"><CODE>LegendChangeEvent</CODE></A> is sent to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>outerGap</CODE> - the outer gap.</DL></DD></DL><HR><A NAME="getBackgroundPaint()"><!-- --></A><H3>getBackgroundPaint</H3><PRE>public java.awt.Paint <B>getBackgroundPaint</B>()</PRE><DL><DD>Returns the background color for the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the background color.</DL></DD></DL><HR><A NAME="setBackgroundPaint(java.awt.Paint)"><!-- --></A><H3>setBackgroundPaint</H3><PRE>public void <B>setBackgroundPaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the background color of the legend. <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 background color.</DL></DD></DL><HR><A NAME="getOutlineStroke()"><!-- --></A><H3>getOutlineStroke</H3><PRE>public java.awt.Stroke <B>getOutlineStroke</B>()</PRE><DL><DD>Returns the outline pen/brush.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the outline pen/brush.</DL></DD></DL><HR><A NAME="setOutlineStroke(java.awt.Stroke)"><!-- --></A><H3>setOutlineStroke</H3><PRE>public void <B>setOutlineStroke</B>(java.awt.Stroke&nbsp;stroke)</PRE><DL><DD>Sets the outline pen/brush. <P> Registered listeners are notified that the legend has changed.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the new outline pen/brush.</DL></DD></DL><HR><A NAME="getOutlinePaint()"><!-- --></A><H3>getOutlinePaint</H3><PRE>public java.awt.Paint <B>getOutlinePaint</B>()</PRE><DL><DD>Returns the outline color.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the outline color.</DL></DD></DL><HR><A NAME="setOutlinePaint(java.awt.Paint)"><!-- --></A><H3>setOutlinePaint</H3><PRE>public void <B>setOutlinePaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the outline 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 outline color.</DL></DD></DL><HR><A NAME="getTitle()"><!-- --></A><H3>getTitle</H3><PRE>public java.lang.String <B>getTitle</B>()</PRE><DL><DD>Gets the title for the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The title of the legend; which may be null.</DL>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -