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

📄 legend.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if and only if this legend is anchored to bottom.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToCenter()">isAnchoredToCenter</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if and only if this legend is anchored to center.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToLeft()">isAnchoredToLeft</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if and only if this legend is anchored to left.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToMiddle()">isAnchoredToMiddle</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if and only if this legend is anchored to middle.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToRight()">isAnchoredToRight</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if and only if this legend is anchored to right.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/Legend.html#isAnchoredToTop()">isAnchoredToTop</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns <code>true</code> if and only if this legend is anchored to top.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/Legend.html#notifyListeners(org.jfree.chart.event.LegendChangeEvent)">notifyListeners</A></B>(<A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event">LegendChangeEvent</A>&nbsp;event)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies all registered listeners that the chart legend has changed in some way.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/Legend.html#registerChart(org.jfree.chart.JFreeChart)">registerChart</A></B>(<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Internal maintenance method to update the reference to the central JFreeChart object.</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/Legend.html#removeChangeListener(org.jfree.chart.event.LegendChangeListener)">removeChangeListener</A></B>(<A HREF="../../../org/jfree/chart/event/LegendChangeListener.html" title="interface in org.jfree.chart.event">LegendChangeListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Deregisters an object for notification of changes to 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/Legend.html#setAnchor(int)">setAnchor</A></B>(int&nbsp;anchor)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the current anchor of this legend.</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="WEST"><!-- --></A><H3>WEST</H3><PRE>public static final int <B>WEST</B></PRE><DL><DD>Constant anchor value for legend position WEST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.WEST">Constant Field Values</A></DL></DL><HR><A NAME="WEST_NORTHWEST"><!-- --></A><H3>WEST_NORTHWEST</H3><PRE>public static final int <B>WEST_NORTHWEST</B></PRE><DL><DD>Constant anchor value for legend position WEST_NORTHWEST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.WEST_NORTHWEST">Constant Field Values</A></DL></DL><HR><A NAME="WEST_SOUTHWEST"><!-- --></A><H3>WEST_SOUTHWEST</H3><PRE>public static final int <B>WEST_SOUTHWEST</B></PRE><DL><DD>Constant anchor value for legend position WEST_SOUTHWEST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.WEST_SOUTHWEST">Constant Field Values</A></DL></DL><HR><A NAME="NORTH"><!-- --></A><H3>NORTH</H3><PRE>public static final int <B>NORTH</B></PRE><DL><DD>Constant anchor value for legend position NORTH.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.NORTH">Constant Field Values</A></DL></DL><HR><A NAME="NORTH_NORTHWEST"><!-- --></A><H3>NORTH_NORTHWEST</H3><PRE>public static final int <B>NORTH_NORTHWEST</B></PRE><DL><DD>Constant anchor value for legend position NORTH_NORTHWEST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.NORTH_NORTHWEST">Constant Field Values</A></DL></DL><HR><A NAME="NORTH_NORTHEAST"><!-- --></A><H3>NORTH_NORTHEAST</H3><PRE>public static final int <B>NORTH_NORTHEAST</B></PRE><DL><DD>Constant anchor value for legend position NORTH_NORTHEAST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.NORTH_NORTHEAST">Constant Field Values</A></DL></DL><HR><A NAME="EAST"><!-- --></A><H3>EAST</H3><PRE>public static final int <B>EAST</B></PRE><DL><DD>Constant anchor value for legend position EAST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.EAST">Constant Field Values</A></DL></DL><HR><A NAME="EAST_NORTHEAST"><!-- --></A><H3>EAST_NORTHEAST</H3><PRE>public static final int <B>EAST_NORTHEAST</B></PRE><DL><DD>Constant anchor value for legend position EAST_NORTHEAST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.EAST_NORTHEAST">Constant Field Values</A></DL></DL><HR><A NAME="EAST_SOUTHEAST"><!-- --></A><H3>EAST_SOUTHEAST</H3><PRE>public static final int <B>EAST_SOUTHEAST</B></PRE><DL><DD>Constant anchor value for legend position EAST_SOUTHEAST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.EAST_SOUTHEAST">Constant Field Values</A></DL></DL><HR><A NAME="SOUTH"><!-- --></A><H3>SOUTH</H3><PRE>public static final int <B>SOUTH</B></PRE><DL><DD>Constant anchor value for legend position SOUTH.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.SOUTH">Constant Field Values</A></DL></DL><HR><A NAME="SOUTH_SOUTHWEST"><!-- --></A><H3>SOUTH_SOUTHWEST</H3><PRE>public static final int <B>SOUTH_SOUTHWEST</B></PRE><DL><DD>Constant anchor value for legend position SOUTH_SOUTHWEST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.SOUTH_SOUTHWEST">Constant Field Values</A></DL></DL><HR><A NAME="SOUTH_SOUTHEAST"><!-- --></A><H3>SOUTH_SOUTHEAST</H3><PRE>public static final int <B>SOUTH_SOUTHEAST</B></PRE><DL><DD>Constant anchor value for legend position SOUTH_SOUTHEAST.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.SOUTH_SOUTHEAST">Constant Field Values</A></DL></DL><HR><A NAME="INVERTED"><!-- --></A><H3>INVERTED</H3><PRE>protected static final int <B>INVERTED</B></PRE><DL><DD>Internal value indicating the bit holding the value of interest in the anchor value.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.INVERTED">Constant Field Values</A></DL></DL><HR><A NAME="HORIZONTAL"><!-- --></A><H3>HORIZONTAL</H3><PRE>protected static final int <B>HORIZONTAL</B></PRE><DL><DD>Internal value indicating the bit holding the value of interest in the anchor value.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../constant-values.html#org.jfree.chart.Legend.HORIZONTAL">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="Legend()"><!-- --></A><H3>Legend</H3><PRE>public <B>Legend</B>()</PRE><DL><DD>Default constructor.<P></DL><HR><A NAME="Legend(org.jfree.chart.JFreeChart)"><!-- --></A><H3>Legend</H3><PRE>protected <B>Legend</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="createInstance(org.jfree.chart.JFreeChart)"><!-- --></A><H3>createInstance</H3><PRE>public static <A HREF="../../../org/jfree/chart/Legend.html" title="class in org.jfree.chart">Legend</A> <B>createInstance</B>(<A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A>&nbsp;chart)</PRE><DL><DD>Static factory method that returns a concrete subclass of Legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>chart</CODE> - the chart that the legend belongs to.<DT><B>Returns:</B><DD>a StandardLegend.</DL></DD></DL><HR><A NAME="getChart()"><!-- --></A><H3>getChart</H3><PRE>public <A HREF="../../../org/jfree/chart/JFreeChart.html" title="class in org.jfree.chart">JFreeChart</A> <B>getChart</B>()</PRE><DL><DD>Returns the chart that this legend belongs to.<P><DD><DL></DL></DD>

⌨️ 快捷键说明

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