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

📄 standardlegend.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>outerGap</CODE> - the outer gap (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getInnerGap()"><!-- --></A><H3>getInnerGap</H3><PRE>public org.jfree.ui.Spacer <B>getInnerGap</B>()</PRE><DL><DD>Returns the inner gap for the legend.  This is the amount of blank space around the inside of the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The gap (never <code>null</code>).</DL></DD></DL><HR><A NAME="setInnerGap(org.jfree.ui.Spacer)"><!-- --></A><H3>setInnerGap</H3><PRE>public void <B>setInnerGap</B>(org.jfree.ui.Spacer&nbsp;innerGap)</PRE><DL><DD>Sets the inner gap for the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>innerGap</CODE> - the inner gap (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getBackgroundPaint()"><!-- --></A><H3>getBackgroundPaint</H3><PRE>public java.awt.Paint <B>getBackgroundPaint</B>()</PRE><DL><DD>Returns the background paint for the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The background paint (never <code>null</code>).</DL></DD></DL><HR><A NAME="setBackgroundPaint(java.awt.Paint)"><!-- --></A><H3>setBackgroundPaint</H3><PRE>public void <B>setBackgroundPaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the background paint for the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</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> not permitted).</DL></DD></DL><HR><A NAME="getOutlineStroke()"><!-- --></A><H3>getOutlineStroke</H3><PRE>public java.awt.Stroke <B>getOutlineStroke</B>()</PRE><DL><DD>Returns the outline stroke.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The outline stroke (never <code>null</code>).</DL></DD></DL><HR><A NAME="setOutlineStroke(java.awt.Stroke)"><!-- --></A><H3>setOutlineStroke</H3><PRE>public void <B>setOutlineStroke</B>(java.awt.Stroke&nbsp;stroke)</PRE><DL><DD>Sets the outline stroke and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered  listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the stroke (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getOutlinePaint()"><!-- --></A><H3>getOutlinePaint</H3><PRE>public java.awt.Paint <B>getOutlinePaint</B>()</PRE><DL><DD>Returns the outline paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The outline paint (never <code>null</code>).</DL></DD></DL><HR><A NAME="setOutlinePaint(java.awt.Paint)"><!-- --></A><H3>setOutlinePaint</H3><PRE>public void <B>setOutlinePaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the outline paint and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</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> not permitted).</DL></DD></DL><HR><A NAME="getTitle()"><!-- --></A><H3>getTitle</H3><PRE>public java.lang.String <B>getTitle</B>()</PRE><DL><DD>Gets the title for the legend.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The title (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="setTitle(java.lang.String)"><!-- --></A><H3>setTitle</H3><PRE>public void <B>setTitle</B>(java.lang.String&nbsp;title)</PRE><DL><DD>Sets the title of the legend and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered  listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>title</CODE> - the title (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="getTitleFont()"><!-- --></A><H3>getTitleFont</H3><PRE>public java.awt.Font <B>getTitleFont</B>()</PRE><DL><DD>Returns the title 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="setTitleFont(java.awt.Font)"><!-- --></A><H3>setTitleFont</H3><PRE>public void <B>setTitleFont</B>(java.awt.Font&nbsp;font)</PRE><DL><DD>Sets the title font and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</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="getItemFont()"><!-- --></A><H3>getItemFont</H3><PRE>public java.awt.Font <B>getItemFont</B>()</PRE><DL><DD>Returns the series label 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 <B>setItemFont</B>(java.awt.Font&nbsp;font)</PRE><DL><DD>Sets the series label font and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</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 <B>getItemPaint</B>()</PRE><DL><DD>Returns the series label paint.<P><DD><DL></DL></DD><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 <B>setItemPaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the series label paint and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</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> not permitted).</DL></DD></DL><HR><A NAME="getOutlineShapes()"><!-- --></A><H3>getOutlineShapes</H3><PRE>public boolean <B>getOutlineShapes</B>()</PRE><DL><DD>Returns the flag that indicates whether or not outlines are drawn around shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The flag.</DL></DD></DL><HR><A NAME="setOutlineShapes(boolean)"><!-- --></A><H3>setOutlineShapes</H3><PRE>public void <B>setOutlineShapes</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets the flag that controls whether or not outlines are drawn around shapes, and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the flag.</DL></DD></DL><HR><A NAME="getShapeOutlineStroke()"><!-- --></A><H3>getShapeOutlineStroke</H3><PRE>public java.awt.Stroke <B>getShapeOutlineStroke</B>()</PRE><DL><DD>Returns the stroke used to outline shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The stroke (never <code>null</code>).</DL></DD></DL><HR><A NAME="setShapeOutlineStroke(java.awt.Stroke)"><!-- --></A><H3>setShapeOutlineStroke</H3><PRE>public void <B>setShapeOutlineStroke</B>(java.awt.Stroke&nbsp;stroke)</PRE><DL><DD>Sets the stroke used to outline shapes and sends a <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> to all  registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the stroke (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="getShapeOutlinePaint()"><!-- --></A><H3>getShapeOutlinePaint</H3><PRE>public java.awt.Paint <B>getShapeOutlinePaint</B>()</PRE><DL><DD>Returns the paint used to outline shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setShapeOutlinePaint(java.awt.Paint)"><!-- --></A><H3>setShapeOutlinePaint</H3><PRE>public void <B>setShapeOutlinePaint</B>(java.awt.Paint&nbsp;paint)</PRE><DL><DD>Sets the paint used to outline shapes.  A <A HREF="../../../org/jfree/chart/event/LegendChangeEvent.html" title="class in org.jfree.chart.event"><CODE>LegendChangeEvent</CODE></A> is sent to all registered listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint.</DL></DD></DL><HR><A NAME="setDisplaySeriesShapes(boolean)"><!-- --></A><H3>setDisplaySeriesShapes</H3><PRE>public void <B>setDisplaySeriesShapes</B>(boolean&nbsp;flag)</PRE><DL><DD>Sets a flag that controls whether or not the legend displays the series shapes.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>flag</CODE> - the new value of the flag.</DL></DD>

⌨️ 快捷键说明

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