📄 plot.html
字号:
<DD>Returns the parent plot (or null if this plot is not part of a combined plot).<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the parent plot.</DL></DD></DL><HR><A NAME="setParent(org.jfree.chart.plot.Plot)"><!-- --></A><H3>setParent</H3><PRE>public void <B>setParent</B>(<A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A> parent)</PRE><DL><DD>Sets the parent plot.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>parent</CODE> - the parent plot.</DL></DD></DL><HR><A NAME="getRootPlot()"><!-- --></A><H3>getRootPlot</H3><PRE>public <A HREF="../../../../org/jfree/chart/plot/Plot.html" title="class in org.jfree.chart.plot">Plot</A> <B>getRootPlot</B>()</PRE><DL><DD>Returns the root plot.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The root plot.</DL></DD></DL><HR><A NAME="isSubplot()"><!-- --></A><H3>isSubplot</H3><PRE>public boolean <B>isSubplot</B>()</PRE><DL><DD>Returns true if this plot is part of a combined plot structure.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD><code>true</code> if this plot is part of a combined plot structure.</DL></DD></DL><HR><A NAME="getInsets()"><!-- --></A><H3>getInsets</H3><PRE>public java.awt.Insets <B>getInsets</B>()</PRE><DL><DD>Returns the insets for the plot area.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The insets.</DL></DD></DL><HR><A NAME="setInsets(java.awt.Insets)"><!-- --></A><H3>setInsets</H3><PRE>public void <B>setInsets</B>(java.awt.Insets insets)</PRE><DL><DD>Sets the insets for the plot and notifies registered listeners that the plot has been modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>insets</CODE> - the new insets.</DL></DD></DL><HR><A NAME="setInsets(java.awt.Insets, boolean)"><!-- --></A><H3>setInsets</H3><PRE>public void <B>setInsets</B>(java.awt.Insets insets, boolean notify)</PRE><DL><DD>Sets the insets for the plot and, if requested, notifies registered listeners that the plot has been modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>insets</CODE> - the new insets (<code>null</code> not permitted).<DD><CODE>notify</CODE> - a flag that controls whether the registered listeners are notified.</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 color of the plot area.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the paint (possibly <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 paint)</PRE><DL><DD>Sets the background color of the plot area and sends a <A HREF="../../../../org/jfree/chart/event/PlotChangeEvent.html" title="class in org.jfree.chart.event"><CODE>PlotChangeEvent</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="getBackgroundAlpha()"><!-- --></A><H3>getBackgroundAlpha</H3><PRE>public float <B>getBackgroundAlpha</B>()</PRE><DL><DD>Returns the alpha transparency of the plot area background.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the alpha transparency.</DL></DD></DL><HR><A NAME="setBackgroundAlpha(float)"><!-- --></A><H3>setBackgroundAlpha</H3><PRE>public void <B>setBackgroundAlpha</B>(float alpha)</PRE><DL><DD>Sets the alpha transparency of the plot area background, and notifies registered listeners that the plot has been modified.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>alpha</CODE> - the new alpha value.</DL></DD></DL><HR><A NAME="getDrawingSupplier()"><!-- --></A><H3>getDrawingSupplier</H3><PRE>public <A HREF="../../../../org/jfree/chart/plot/DrawingSupplier.html" title="interface in org.jfree.chart.plot">DrawingSupplier</A> <B>getDrawingSupplier</B>()</PRE><DL><DD>Returns the drawing supplier for the plot.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the drawing supplier (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="setDrawingSupplier(org.jfree.chart.plot.DrawingSupplier)"><!-- --></A><H3>setDrawingSupplier</H3><PRE>public void <B>setDrawingSupplier</B>(<A HREF="../../../../org/jfree/chart/plot/DrawingSupplier.html" title="interface in org.jfree.chart.plot">DrawingSupplier</A> supplier)</PRE><DL><DD>Sets the drawing supplier for the plot. The drawing supplier is responsible for supplying a limitless (possibly repeating) sequence of <code>Paint</code>, <code>Stroke</code> and <code>Shape</code> objects that the plot's renderer(s) can use to populate its(their) tables.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>supplier</CODE> - the new supplier.</DL></DD></DL><HR><A NAME="getBackgroundImage()"><!-- --></A><H3>getBackgroundImage</H3><PRE>public java.awt.Image <B>getBackgroundImage</B>()</PRE><DL><DD>Returns the background image that is used to fill the plot's background area.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The image (possibly <code>null</code>).</DL></DD></DL><HR><A NAME="setBackgroundImage(java.awt.Image)"><!-- --></A><H3>setBackgroundImage</H3><PRE>public void <B>setBackgroundImage</B>(java.awt.Image image)</PRE><DL><DD>Sets the background image for the plot.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>image</CODE> - the image (<code>null</code> permitted).</DL></DD></DL><HR><A NAME="getBackgroundImageAlignment()"><!-- --></A><H3>getBackgroundImageAlignment</H3><PRE>public int <B>getBackgroundImageAlignment</B>()</PRE><DL><DD>Returns the background image alignment. Alignment constants are defined in the <code>org.jfree.ui.Align</code> class in the JCommon class library.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The alignment.</DL></DD></DL><HR><A NAME="setBackgroundImageAlignment(int)"><!-- --></A><H3>setBackgroundImageAlignment</H3><PRE>public void <B>setBackgroundImageAlignment</B>(int alignment)</PRE><DL><DD>Sets the background alignment. <p> Alignment options are defined by the <CODE>Align</CODE> class.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>alignment</CODE> - the alignment.</DL></DD></DL><HR><A NAME="getOutlineStroke()"><!-- --></A><H3>getOutlineStroke</H3><PRE>public java.awt.Stroke <B>getOutlineStroke</B>()</PRE><DL><DD>Returns the stroke used to outline the plot area.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the stroke (possibly <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 stroke)</PRE><DL><DD>Sets the stroke used to outline the plot area and sends a <A HREF="../../../../org/jfree/chart/event/PlotChangeEvent.html" title="class in org.jfree.chart.event"><CODE>PlotChangeEvent</CODE></A> to all registered listeners. If you set this attribute to <code>null<.code>, no outline will be drawn.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the stroke (<code>null</code> 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 color used to draw the outline of the plot area.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The color (possibly <code>null<code>).</DL></DD>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -