📄 legendtitle.html
字号:
permitted).<DD><CODE>vLayout</CODE> - the vertical item arrangement (<code>null</code> not permitted).</DL></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="getSources()"><!-- --></A><H3>getSources</H3><PRE>public <A HREF="../../../../org/jfree/chart/LegendItemSource.html" title="interface in org.jfree.chart">LegendItemSource</A>[] <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.191"><B>getSources</B></A>()</PRE><DL><DD>Returns the legend item sources.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The sources.</DL></DD></DL><HR><A NAME="setSources(org.jfree.chart.LegendItemSource[])"><!-- --></A><H3>setSources</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.201"><B>setSources</B></A>(<A HREF="../../../../org/jfree/chart/LegendItemSource.html" title="interface in org.jfree.chart">LegendItemSource</A>[] sources)</PRE><DL><DD>Sets the legend item sources and sends a <A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><CODE>TitleChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>sources</CODE> - the sources (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getBackgroundPaint()"><!-- --></A><H3>getBackgroundPaint</H3><PRE>public java.awt.Paint <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.214"><B>getBackgroundPaint</B></A>()</PRE><DL><DD>Returns the background paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The background paint (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="setBackgroundPaint(java.awt.Paint)"><!-- --></A><H3>setBackgroundPaint</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.224"><B>setBackgroundPaint</B></A>(java.awt.Paint paint)</PRE><DL><DD>Sets the background paint for the legend and sends a <A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><CODE>TitleChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="getLegendItemGraphicEdge()"><!-- --></A><H3>getLegendItemGraphicEdge</H3><PRE>public org.jfree.ui.RectangleEdge <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.234"><B>getLegendItemGraphicEdge</B></A>()</PRE><DL><DD>Returns the location of the shape within each legend item.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The location (never <code>null</code>).</DL></DD></DL><HR><A NAME="setLegendItemGraphicEdge(org.jfree.ui.RectangleEdge)"><!-- --></A><H3>setLegendItemGraphicEdge</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.243"><B>setLegendItemGraphicEdge</B></A>(org.jfree.ui.RectangleEdge edge)</PRE><DL><DD>Sets the location of the shape within each legend item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>edge</CODE> - the edge (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getLegendItemGraphicAnchor()"><!-- --></A><H3>getLegendItemGraphicAnchor</H3><PRE>public org.jfree.ui.RectangleAnchor <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.256"><B>getLegendItemGraphicAnchor</B></A>()</PRE><DL><DD>Returns the legend item graphic anchor.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The graphic anchor (never <code>null</code>).</DL></DD></DL><HR><A NAME="setLegendItemGraphicAnchor(org.jfree.ui.RectangleAnchor)"><!-- --></A><H3>setLegendItemGraphicAnchor</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.265"><B>setLegendItemGraphicAnchor</B></A>(org.jfree.ui.RectangleAnchor anchor)</PRE><DL><DD>Sets the anchor point used for the graphic in each legend item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>anchor</CODE> - the anchor point (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getLegendItemGraphicLocation()"><!-- --></A><H3>getLegendItemGraphicLocation</H3><PRE>public org.jfree.ui.RectangleAnchor <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.277"><B>getLegendItemGraphicLocation</B></A>()</PRE><DL><DD>Returns the legend item graphic location.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The location (never <code>null</code>).</DL></DD></DL><HR><A NAME="setLegendItemGraphicLocation(org.jfree.ui.RectangleAnchor)"><!-- --></A><H3>setLegendItemGraphicLocation</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.286"><B>setLegendItemGraphicLocation</B></A>(org.jfree.ui.RectangleAnchor anchor)</PRE><DL><DD>Sets the legend item graphic location.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>anchor</CODE> - the anchor (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getLegendItemGraphicPadding()"><!-- --></A><H3>getLegendItemGraphicPadding</H3><PRE>public org.jfree.ui.RectangleInsets <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.295"><B>getLegendItemGraphicPadding</B></A>()</PRE><DL><DD>Returns the padding that will be applied to each item graphic.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The padding (never <code>null</code>).</DL></DD></DL><HR><A NAME="setLegendItemGraphicPadding(org.jfree.ui.RectangleInsets)"><!-- --></A><H3>setLegendItemGraphicPadding</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.305"><B>setLegendItemGraphicPadding</B></A>(org.jfree.ui.RectangleInsets padding)</PRE><DL><DD>Sets the padding that will be applied to each item graphic in the legend and sends a <A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><CODE>TitleChangeEvent</CODE></A> to all registered listeners.<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="getItemFont()"><!-- --></A><H3>getItemFont</H3><PRE>public java.awt.Font <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.318"><B>getItemFont</B></A>()</PRE><DL><DD>Returns the item font.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The font (never <code>null</code>).</DL></DD></DL><HR><A NAME="setItemFont(java.awt.Font)"><!-- --></A><H3>setItemFont</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.328"><B>setItemFont</B></A>(java.awt.Font font)</PRE><DL><DD>Sets the item font and sends a <A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><CODE>TitleChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>font</CODE> - the font (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getItemPaint()"><!-- --></A><H3>getItemPaint</H3><PRE>public java.awt.Paint <A HREF="../../../../src-html/org/jfree/chart/title/LegendTitle.html#line.341"><B>getItemPaint</B></A>()</PRE><DL><DD>Returns the item paint.<P><DD><DL></DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -