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

📄 standardlegend.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the x scale factor for shapes displayed in the legend.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;double</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#getShapeScaleY()">getShapeScaleY</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the y scale factor for shapes displayed in the legend.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#getTitle()">getTitle</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Gets the title for the legend.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;java.awt.Font</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/StandardLegend.html#getTitleFont()">getTitleFont</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the title font.</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#setBackgroundPaint(java.awt.Paint)">setBackgroundPaint</A></B>(java.awt.Paint&nbsp;paint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the background paint for the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all  registered listeners.</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#setBoundingBoxArcHeight(int)">setBoundingBoxArcHeight</A></B>(int&nbsp;arcHeight)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the height of the arc used to round off the corners of the bounding box.</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#setBoundingBoxArcWidth(int)">setBoundingBoxArcWidth</A></B>(int&nbsp;arcWidth)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the width of the arc used to round off the corners of the bounding box.</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#setDisplaySeriesLines(boolean)">setDisplaySeriesLines</A></B>(boolean&nbsp;flag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a flag that controls whether or not the legend displays the series line stroke.</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#setDisplaySeriesShapes(boolean)">setDisplaySeriesShapes</A></B>(boolean&nbsp;flag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets a flag that controls whether or not the legend displays the series 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#setInnerGap(org.jfree.ui.Spacer)">setInnerGap</A></B>(org.jfree.ui.Spacer&nbsp;innerGap)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the inner gap for the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.</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#setItemFont(java.awt.Font)">setItemFont</A></B>(java.awt.Font&nbsp;font)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the series label font and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered  listeners.</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#setItemPaint(java.awt.Paint)">setItemPaint</A></B>(java.awt.Paint&nbsp;paint)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the series label paint and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered  listeners.</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#setOuterGap(org.jfree.ui.Spacer)">setOuterGap</A></B>(org.jfree.ui.Spacer&nbsp;outerGap)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the outer gap for the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.</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 paint and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.</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, and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.</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 stroke and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered  listeners.</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#setPreferredWidth(double)">setPreferredWidth</A></B>(double&nbsp;width)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the preferred width of the legend bounding box.</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#setRenderingOrder(org.jfree.chart.LegendRenderingOrder)">setRenderingOrder</A></B>(<A HREF="../../../org/jfree/chart/LegendRenderingOrder.html" title="class in org.jfree.chart">LegendRenderingOrder</A>&nbsp;order)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the legend rendering order and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.</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 and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all  registered listeners.</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#setShapeScaleX(double)">setShapeScaleX</A></B>(double&nbsp;factor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the x scale factor for shapes displayed in the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.</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#setShapeScaleY(double)">setShapeScaleY</A></B>(double&nbsp;factor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the y scale factor for shapes displayed in the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.</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 and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered  listeners.</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 and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.</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 =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><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 org.jfree.ui.Spacer <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 org.jfree.ui.Spacer <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><HR><A NAME="NO_PREFERRED_WIDTH"><!-- --></A><H3>NO_PREFERRED_WIDTH</H3><PRE>public static final double <B>NO_PREFERRED_WIDTH</B></PRE><DL><DD>Used with <A HREF="../../../org/jfree/chart/StandardLegend.html#setPreferredWidth(double)"><CODE>setPreferredWidth(double)</CODE></A> to indicate that no preferred  width is desired and defaults are to be used.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.StandardLegend.NO_PREFERRED_WIDTH">Constant Field Values</A></DL></DL><!-- ========= 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="StandardLegend()"><!-- --></A><H3>StandardLegend</H3><PRE>public <B>StandardLegend</B>()</PRE><DL><DD>Constructs a new legend with default settings.<P></DL><HR><A NAME="StandardLegend(org.jfree.chart.JFreeChart)"><!-- --></A><H3>StandardLegend</H3><PRE>public <B>StandardLegend</B>(<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart)</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.</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="getOuterGap()"><!-- --></A><H3>getOuterGap</H3><PRE>public org.jfree.ui.Spacer <B>getOuterGap</B>()</PRE><DL><DD>Returns the outer gap for the legend.  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 (never <code>null</code>).</DL></DD></DL><HR><A NAME="setOuterGap(org.jfree.ui.Spacer)"><!-- --></A><H3>setOuterGap</H3><PRE>public void <B>setOuterGap</B>(org.jfree.ui.Spacer&nbsp;outerGap)</PRE><DL><DD>Sets the outer gap for the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.

⌨️ 快捷键说明

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