📄 legenditemcollection.html
字号:
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="LegendItemCollection()"><!-- --></A><H3>LegendItemCollection</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItemCollection.html#line.67"><B>LegendItemCollection</B></A>()</PRE><DL><DD>Constructs a new legend item collection, initially empty.<P></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="add(org.jfree.chart.LegendItem)"><!-- --></A><H3>add</H3><PRE>public void <A HREF="../../../src-html/org/jfree/chart/LegendItemCollection.html#line.76"><B>add</B></A>(<A HREF="../../../org/jfree/chart/LegendItem.html" title="class in org.jfree.chart">LegendItem</A> item)</PRE><DL><DD>Adds a legend item to the collection.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>item</CODE> - the item to add.</DL></DD></DL><HR><A NAME="addAll(org.jfree.chart.LegendItemCollection)"><!-- --></A><H3>addAll</H3><PRE>public void <A HREF="../../../src-html/org/jfree/chart/LegendItemCollection.html#line.85"><B>addAll</B></A>(<A HREF="../../../org/jfree/chart/LegendItemCollection.html" title="class in org.jfree.chart">LegendItemCollection</A> collection)</PRE><DL><DD>Adds the legend items from another collection to this collection.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>collection</CODE> - the other collection.</DL></DD></DL><HR><A NAME="get(int)"><!-- --></A><H3>get</H3><PRE>public <A HREF="../../../org/jfree/chart/LegendItem.html" title="class in org.jfree.chart">LegendItem</A> <A HREF="../../../src-html/org/jfree/chart/LegendItemCollection.html#line.96"><B>get</B></A>(int index)</PRE><DL><DD>Returns a legend item from the collection.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the legend item index (zero-based).<DT><B>Returns:</B><DD>The legend item.</DL></DD></DL><HR><A NAME="getItemCount()"><!-- --></A><H3>getItemCount</H3><PRE>public int <A HREF="../../../src-html/org/jfree/chart/LegendItemCollection.html#line.105"><B>getItemCount</B></A>()</PRE><DL><DD>Returns the number of legend items in the collection.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The item count.</DL></DD></DL><HR><A NAME="iterator()"><!-- --></A><H3>iterator</H3><PRE>public java.util.Iterator <A HREF="../../../src-html/org/jfree/chart/LegendItemCollection.html#line.114"><B>iterator</B></A>()</PRE><DL><DD>Returns an iterator that provides access to all the legend items.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An iterator.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <A HREF="../../../src-html/org/jfree/chart/LegendItemCollection.html#line.125"><B>equals</B></A>(java.lang.Object obj)</PRE><DL><DD>Tests this collection for equality with an arbitrary object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>equals</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object (<code>null</code> permitted).<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <A HREF="../../../src-html/org/jfree/chart/LegendItemCollection.html#line.147"><B>clone</B></A>() throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the collection.<P><DD><DL><DT><B>Overrides:</B><DD><CODE>clone</CODE> in class <CODE>java.lang.Object</CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if an item in the collection is not cloneable.</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=2 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/LegendItemCollection.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/jfree/chart/LegendItem.html" title="class in org.jfree.chart"><B>PREV CLASS</B></A> <A HREF="../../../org/jfree/chart/LegendItemSource.html" title="interface in org.jfree.chart"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/jfree/chart/LegendItemCollection.html" target="_top"><B>FRAMES</B></A> <A HREF="LegendItemCollection.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | FIELD | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: FIELD | <A HREF="#constructor_detail">CONSTR</A> | <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 + -