📄 legenditem.html
字号:
<TD><CODE><B><A HREF="../../../org/jfree/chart/LegendItem.html#getToolTipText()">getToolTipText</A></B>()</CODE><BR> Returns the tool tip text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.String</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/LegendItem.html#getURLText()">getURLText</A></B>()</CODE><BR> Returns the URL text.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/LegendItem.html#isLineVisible()">isLineVisible</A></B>()</CODE><BR> Returns a flag that indicates whether or not the line is visible.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/LegendItem.html#isShapeFilled()">isShapeFilled</A></B>()</CODE><BR> Returns a flag that controls whether or not the shape is filled.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/LegendItem.html#isShapeOutlineVisible()">isShapeOutlineVisible</A></B>()</CODE><BR> Returns the flag that controls whether or not the shape outline is visible.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/LegendItem.html#isShapeVisible()">isShapeVisible</A></B>()</CODE><BR> Returns a flag that indicates whether or not the shape is visible.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/LegendItem.html#setDatasetIndex(int)">setDatasetIndex</A></B>(int index)</CODE><BR> Sets the dataset index for this legend item.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../org/jfree/chart/LegendItem.html#setSeriesIndex(int)">setSeriesIndex</A></B>(int index)</CODE><BR> Sets the series index for this legend item.</TD></TR></TABLE> <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"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="LegendItem(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.awt.Shape, java.awt.Paint)"><!-- --></A><H3>LegendItem</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.171"><B>LegendItem</B></A>(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint)</PRE><DL><DD>Creates a legend item with a filled shape. The shape is not outlined, and no line is visible.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label (<code>null</code> not permitted).<DD><CODE>description</CODE> - the description (<code>null</code> permitted).<DD><CODE>toolTipText</CODE> - the tool tip text (<code>null</code> permitted).<DD><CODE>urlText</CODE> - the URL text (<code>null</code> permitted).<DD><CODE>shape</CODE> - the shape (<code>null</code> not permitted).<DD><CODE>fillPaint</CODE> - the paint used to fill the shape (<code>null</code> not permitted).</DL></DL><HR><A NAME="LegendItem(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.awt.Shape, java.awt.Paint, java.awt.Stroke, java.awt.Paint)"><!-- --></A><H3>LegendItem</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.199"><B>LegendItem</B></A>(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint, java.awt.Stroke outlineStroke, java.awt.Paint outlinePaint)</PRE><DL><DD>Creates a legend item with a filled and outlined shape.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label (<code>null</code> not permitted).<DD><CODE>description</CODE> - the description (<code>null</code> permitted).<DD><CODE>toolTipText</CODE> - the tool tip text (<code>null</code> permitted).<DD><CODE>urlText</CODE> - the URL text (<code>null</code> permitted).<DD><CODE>shape</CODE> - the shape (<code>null</code> not permitted).<DD><CODE>fillPaint</CODE> - the paint used to fill the shape (<code>null</code> not permitted).<DD><CODE>outlineStroke</CODE> - the outline stroke (<code>null</code> not permitted).<DD><CODE>outlinePaint</CODE> - the outline paint (<code>null</code> not permitted).</DL></DL><HR><A NAME="LegendItem(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.awt.Shape, java.awt.Stroke, java.awt.Paint)"><!-- --></A><H3>LegendItem</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.224"><B>LegendItem</B></A>(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)</PRE><DL><DD>Creates a legend item using a line.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label (<code>null</code> not permitted).<DD><CODE>description</CODE> - the description (<code>null</code> permitted).<DD><CODE>toolTipText</CODE> - the tool tip text (<code>null</code> permitted).<DD><CODE>urlText</CODE> - the URL text (<code>null</code> permitted).<DD><CODE>line</CODE> - the line (<code>null</code> not permitted).<DD><CODE>lineStroke</CODE> - the line stroke (<code>null</code> not permitted).<DD><CODE>linePaint</CODE> - the line paint (<code>null</code> not permitted).</DL></DL><HR><A NAME="LegendItem(java.lang.String, java.lang.String, java.lang.String, java.lang.String, boolean, java.awt.Shape, boolean, java.awt.Paint, boolean, java.awt.Paint, java.awt.Stroke, boolean, java.awt.Shape, java.awt.Stroke, java.awt.Paint)"><!-- --></A><H3>LegendItem</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.260"><B>LegendItem</B></A>(java.lang.String label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, boolean shapeVisible, java.awt.Shape shape, boolean shapeFilled, java.awt.Paint fillPaint, boolean shapeOutlineVisible, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, boolean lineVisible, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)</PRE><DL><DD>Creates a new legend item.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label (<code>null</code> not permitted).<DD><CODE>description</CODE> - the description (not currently used, <code>null</code> permitted).<DD><CODE>toolTipText</CODE> - the tool tip text (<code>null</code> permitted).<DD><CODE>urlText</CODE> - the URL text (<code>null</code> permitted).<DD><CODE>shapeVisible</CODE> - a flag that controls whether or not the shape is displayed.<DD><CODE>shape</CODE> - the shape (<code>null</code> permitted).<DD><CODE>shapeFilled</CODE> - a flag that controls whether or not the shape is filled.<DD><CODE>fillPaint</CODE> - the fill paint (<code>null</code> not permitted).<DD><CODE>shapeOutlineVisible</CODE> - a flag that controls whether or not the shape is outlined.<DD><CODE>outlinePaint</CODE> - the outline paint (<code>null</code> not permitted).<DD><CODE>outlineStroke</CODE> - the outline stroke (<code>null</code> not permitted).<DD><CODE>lineVisible</CODE> - a flag that controls whether or not the line is visible.<DD><CODE>line</CODE> - the line.<DD><CODE>lineStroke</CODE> - the stroke (<code>null</code> not permitted).<DD><CODE>linePaint</CODE> - the line paint (<code>null</code> not permitted).</DL></DL><HR><A NAME="LegendItem(java.text.AttributedString, java.lang.String, java.lang.String, java.lang.String, java.awt.Shape, java.awt.Paint)"><!-- --></A><H3>LegendItem</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.315"><B>LegendItem</B></A>(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint)</PRE><DL><DD>Creates a legend item with a filled shape. The shape is not outlined, and no line is visible.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label (<code>null</code> not permitted).<DD><CODE>description</CODE> - the description (<code>null</code> permitted).<DD><CODE>toolTipText</CODE> - the tool tip text (<code>null</code> permitted).<DD><CODE>urlText</CODE> - the URL text (<code>null</code> permitted).<DD><CODE>shape</CODE> - the shape (<code>null</code> not permitted).<DD><CODE>fillPaint</CODE> - the paint used to fill the shape (<code>null</code> not permitted).</DL></DL><HR><A NAME="LegendItem(java.text.AttributedString, java.lang.String, java.lang.String, java.lang.String, java.awt.Shape, java.awt.Paint, java.awt.Stroke, java.awt.Paint)"><!-- --></A><H3>LegendItem</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.343"><B>LegendItem</B></A>(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape shape, java.awt.Paint fillPaint, java.awt.Stroke outlineStroke, java.awt.Paint outlinePaint)</PRE><DL><DD>Creates a legend item with a filled and outlined shape.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label (<code>null</code> not permitted).<DD><CODE>description</CODE> - the description (<code>null</code> permitted).<DD><CODE>toolTipText</CODE> - the tool tip text (<code>null</code> permitted).<DD><CODE>urlText</CODE> - the URL text (<code>null</code> permitted).<DD><CODE>shape</CODE> - the shape (<code>null</code> not permitted).<DD><CODE>fillPaint</CODE> - the paint used to fill the shape (<code>null</code> not permitted).<DD><CODE>outlineStroke</CODE> - the outline stroke (<code>null</code> not permitted).<DD><CODE>outlinePaint</CODE> - the outline paint (<code>null</code> not permitted).</DL></DL><HR><A NAME="LegendItem(java.text.AttributedString, java.lang.String, java.lang.String, java.lang.String, java.awt.Shape, java.awt.Stroke, java.awt.Paint)"><!-- --></A><H3>LegendItem</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.367"><B>LegendItem</B></A>(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)</PRE><DL><DD>Creates a legend item using a line.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label (<code>null</code> not permitted).<DD><CODE>description</CODE> - the description (<code>null</code> permitted).<DD><CODE>toolTipText</CODE> - the tool tip text (<code>null</code> permitted).<DD><CODE>urlText</CODE> - the URL text (<code>null</code> permitted).<DD><CODE>line</CODE> - the line (<code>null</code> not permitted).<DD><CODE>lineStroke</CODE> - the line stroke (<code>null</code> not permitted).<DD><CODE>linePaint</CODE> - the line paint (<code>null</code> not permitted).</DL></DL><HR><A NAME="LegendItem(java.text.AttributedString, java.lang.String, java.lang.String, java.lang.String, boolean, java.awt.Shape, boolean, java.awt.Paint, boolean, java.awt.Paint, java.awt.Stroke, boolean, java.awt.Shape, java.awt.Stroke, java.awt.Paint)"><!-- --></A><H3>LegendItem</H3><PRE>public <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.404"><B>LegendItem</B></A>(java.text.AttributedString label, java.lang.String description, java.lang.String toolTipText, java.lang.String urlText, boolean shapeVisible, java.awt.Shape shape, boolean shapeFilled, java.awt.Paint fillPaint, boolean shapeOutlineVisible, java.awt.Paint outlinePaint, java.awt.Stroke outlineStroke, boolean lineVisible, java.awt.Shape line, java.awt.Stroke lineStroke, java.awt.Paint linePaint)</PRE><DL><DD>Creates a new legend item.<P><DL><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label (<code>null</code> not permitted).<DD><CODE>description</CODE> - the description (not currently used, <code>null</code> permitted).<DD><CODE>toolTipText</CODE> - the tool tip text (<code>null</code> permitted).<DD><CODE>urlText</CODE> - the URL text (<code>null</code> permitted).<DD><CODE>shapeVisible</CODE> - a flag that controls whether or not the shape is displayed.<DD><CODE>shape</CODE> - the shape (<code>null</code> permitted).<DD><CODE>shapeFilled</CODE> - a flag that controls whether or not the shape is filled.<DD><CODE>fillPaint</CODE> - the fill paint (<code>null</code> not permitted).<DD><CODE>shapeOutlineVisible</CODE> - a flag that controls whether or not the shape is outlined.<DD><CODE>outlinePaint</CODE> - the outline paint (<code>null</code> not permitted).<DD><CODE>outlineStroke</CODE> - the outline stroke (<code>null</code> not permitted).<DD><CODE>lineVisible</CODE> - a flag that controls whether or not the line is visible.<DD><CODE>line</CODE> - the line.<DD><CODE>lineStroke</CODE> - the stroke (<code>null</code> not permitted).<DD><CODE>linePaint</CODE> - the line paint (<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="getDatasetIndex()"><!-- --></A><H3>getDatasetIndex</H3><PRE>public int <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.479"><B>getDatasetIndex</B></A>()</PRE><DL><DD>Returns the dataset index for this legend item.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The dataset index.<DT><B>Since:</B></DT> <DD>1.0.2</DD></DL></DD></DL><HR><A NAME="setDatasetIndex(int)"><!-- --></A><H3>setDatasetIndex</H3><PRE>public void <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.490"><B>setDatasetIndex</B></A>(int index)</PRE><DL><DD>Sets the dataset index for this legend item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index.<DT><B>Since:</B></DT> <DD>1.0.2</DD></DL></DD></DL><HR><A NAME="getSeriesIndex()"><!-- --></A><H3>getSeriesIndex</H3><PRE>public int <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.501"><B>getSeriesIndex</B></A>()</PRE><DL><DD>Returns the series index for this legend item.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The series index.<DT><B>Since:</B></DT> <DD>1.0.2</DD></DL></DD></DL><HR><A NAME="setSeriesIndex(int)"><!-- --></A><H3>setSeriesIndex</H3><PRE>public void <A HREF="../../../src-html/org/jfree/chart/LegendItem.html#line.512"><B>setSeriesIndex</B></A>(int index)</PRE><DL><DD>Sets the series index for this legend item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>index</CODE> - the index.<DT><B>Since:</B></DT> <DD>1.0.2</DD></DL></DD></DL><HR><A NAME="getLabel()"><!-- --></A><H3>getLabel</H3>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -