📄 legendtitle.html
字号:
<DD><DL><DT><B>Returns:</B><DD>The paint (never <code>null</code>).</DL></DD></DL><HR><A NAME="setItemPaint(java.awt.Paint)"><!-- --></A><H3>setItemPaint</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.350"><B>setItemPaint</B></A>(java.awt.Paint paint)</PRE><DL><DD>Sets the item paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getItemLabelPadding()"><!-- --></A><H3>getItemLabelPadding</H3><PRE>public org.jfree.ui.RectangleInsets <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.363"><B>getItemLabelPadding</B></A>()</PRE><DL><DD>Returns the padding used for the items labels.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The padding (never <code>null</code>).</DL></DD></DL><HR><A NAME="setItemLabelPadding(org.jfree.ui.RectangleInsets)"><!-- --></A><H3>setItemLabelPadding</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.372"><B>setItemLabelPadding</B></A>(org.jfree.ui.RectangleInsets padding)</PRE><DL><DD>Sets the padding used for the item labels in the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>padding</CODE> - the padding (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="fetchLegendItems()"><!-- --></A><H3>fetchLegendItems</H3><PRE>protected void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.383"><B>fetchLegendItems</B></A>()</PRE><DL><DD>Fetches the latest legend items.<P><DD><DL></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="createLegendItemBlock(org.jfree.chart.LegendItem)"><!-- --></A><H3>createLegendItemBlock</H3><PRE>protected <A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</A> <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.411"><B>createLegendItemBlock</B></A>(<A HREF="../../../../org/jfree/chart/LegendItem.html" title="class in org.jfree.chart">LegendItem</A> item)</PRE><DL><DD>Creates a legend item block.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>item</CODE> - the legend item.<DT><B>Returns:</B><DD>The block.</DL></DD></DL><HR><A NAME="getItemContainer()"><!-- --></A><H3>getItemContainer</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/BlockContainer.html" title="class in org.jfree.chart.block">BlockContainer</A> <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.449"><B>getItemContainer</B></A>()</PRE><DL><DD>Returns the container that holds the legend items.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The container for the legend items.</DL></DD></DL><HR><A NAME="arrange(java.awt.Graphics2D, org.jfree.chart.block.RectangleConstraint)"><!-- --></A><H3>arrange</H3><PRE>public org.jfree.ui.Size2D <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.462"><B>arrange</B></A>(java.awt.Graphics2D g2, <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A> constraint)</PRE><DL><DD>Arranges the contents of the block, within the given constraints, and returns the block size.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/block/Block.html#arrange(java.awt.Graphics2D, org.jfree.chart.block.RectangleConstraint)">arrange</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/block/AbstractBlock.html#arrange(java.awt.Graphics2D, org.jfree.chart.block.RectangleConstraint)">arrange</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/block/AbstractBlock.html" title="class in org.jfree.chart.block">AbstractBlock</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>constraint</CODE> - the constraint (<code>null</code> not permitted).<DT><B>Returns:</B><DD>The block size (in Java2D units, never <code>null</code>).</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D)"><!-- --></A><H3>draw</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.486"><B>draw</B></A>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)</PRE><DL><DD>Draws the title on a Java 2D graphics device (such as the screen or a printer).<P><DD><DL><DT><B>Specified by:</B><DD><CODE>draw</CODE> in interface <CODE>org.jfree.ui.Drawable</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/title/Title.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">draw</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>area</CODE> - the available area for the title.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.lang.Object)"><!-- --></A><H3>draw</H3><PRE>public java.lang.Object <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.500"><B>draw</B></A>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, java.lang.Object params)</PRE><DL><DD>Draws the block within the specified area.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/block/Block.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.lang.Object)">draw</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>area</CODE> - the area.<DD><CODE>params</CODE> - ignored (<code>null</code> permitted).<DT><B>Returns:</B><DD>An <A HREF="../../../../org/jfree/chart/block/EntityBlockResult.html" title="interface in org.jfree.chart.block"><CODE>EntityBlockResult</CODE></A> or <code>null</code>.</DL></DD></DL><HR><A NAME="setWrapper(org.jfree.chart.block.BlockContainer)"><!-- --></A><H3>setWrapper</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.522"><B>setWrapper</B></A>(<A HREF="../../../../org/jfree/chart/block/BlockContainer.html" title="class in org.jfree.chart.block">BlockContainer</A> wrapper)</PRE><DL><DD>Sets the wrapper container for the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>wrapper</CODE> - the wrapper container.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.533"><B>equals</B></A>(java.lang.Object obj)</PRE><DL><DD>Tests this title for equality with an arbitrary object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/title/Title.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</A></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><!-- ========= 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/LegendTitle.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/title/LegendItemBlockContainer.html" title="class in org.jfree.chart.title"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html?org/jfree/chart/title/LegendTitle.html" target="_top"><B>FRAMES</B></A> <A HREF="LegendTitle.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 | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <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 + -