abstractrenderer.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 1,735 行 · 第 1/5 页
HTML
1,735 行
<HR><A NAME="getDrawingSupplier()"><!-- --></A><H3>getDrawingSupplier</H3><PRE>public abstract <A HREF="../../../../org/jfree/chart/plot/DrawingSupplier.html">DrawingSupplier</A> <B>getDrawingSupplier</B>()</PRE><DL><DD>Returns the drawing supplier from the plot.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The drawing supplier.</DL></DD></DL><HR><A NAME="getItemPaint(int, int)"><!-- --></A><H3>getItemPaint</H3><PRE>public java.awt.Paint <B>getItemPaint</B>(int row, int column)</PRE><DL><DD>Returns the paint used to fill data items as they are drawn. <p> The default implementation passes control to the <code>getSeriesPaint</code> method. You can override this method if you require different behaviour.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row (or series) index (zero-based).<DD><CODE>column</CODE> - the column (or category) index (zero-based).<DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="getSeriesPaint(int)"><!-- --></A><H3>getSeriesPaint</H3><PRE>public java.awt.Paint <B>getSeriesPaint</B>(int series)</PRE><DL><DD>Returns the color used to fill an item drawn by the renderer.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series index (zero-based).<DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setPaint(java.awt.Paint)"><!-- --></A><H3>setPaint</H3><PRE>public void <B>setPaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the paint to be used for ALL series. Most of the time, you will want to leave this set to <code>null</code> so that the paint lookup table is used instead.<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="setSeriesPaint(int, java.awt.Paint)"><!-- --></A><H3>setSeriesPaint</H3><PRE>public void <B>setSeriesPaint</B>(int series, java.awt.Paint paint)</PRE><DL><DD>Sets the paint used for a series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series index (zero-based).<DD><CODE>paint</CODE> - the paint.</DL></DD></DL><HR><A NAME="getBasePaint()"><!-- --></A><H3>getBasePaint</H3><PRE>public java.awt.Paint <B>getBasePaint</B>()</PRE><DL><DD>Returns the base paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The base paint.</DL></DD></DL><HR><A NAME="setBasePaint(java.awt.Paint)"><!-- --></A><H3>setBasePaint</H3><PRE>public void <B>setBasePaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the base paint. <p> In most cases, the renderer's paint table will be active and so this default value will not be used.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint.</DL></DD></DL><HR><A NAME="getItemOutlinePaint(int, int)"><!-- --></A><H3>getItemOutlinePaint</H3><PRE>public java.awt.Paint <B>getItemOutlinePaint</B>(int row, int column)</PRE><DL><DD>Returns the paint used to outline data items as they are drawn. <p> The default implementation passes control to the getSeriesOutlinePaint method. You can override this method if you require different behaviour.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row (or series) index (zero-based).<DD><CODE>column</CODE> - the column (or category) index (zero-based).<DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="getSeriesOutlinePaint(int)"><!-- --></A><H3>getSeriesOutlinePaint</H3><PRE>public java.awt.Paint <B>getSeriesOutlinePaint</B>(int series)</PRE><DL><DD>Returns the color used to outline an item drawn by the renderer.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series (zero-based index).<DT><B>Returns:</B><DD>The paint.</DL></DD></DL><HR><A NAME="setSeriesOutlinePaint(int, java.awt.Paint)"><!-- --></A><H3>setSeriesOutlinePaint</H3><PRE>public void <B>setSeriesOutlinePaint</B>(int series, java.awt.Paint paint)</PRE><DL><DD>Sets the paint used for a series outline.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series index (zero-based).<DD><CODE>paint</CODE> - the paint.</DL></DD></DL><HR><A NAME="getBaseOutlinePaint()"><!-- --></A><H3>getBaseOutlinePaint</H3><PRE>public java.awt.Paint <B>getBaseOutlinePaint</B>()</PRE><DL><DD>Returns the base outline paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The base outline paint.</DL></DD></DL><HR><A NAME="setBaseOutlinePaint(java.awt.Paint)"><!-- --></A><H3>setBaseOutlinePaint</H3><PRE>public void <B>setBaseOutlinePaint</B>(java.awt.Paint paint)</PRE><DL><DD>Sets the base outline paint.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>paint</CODE> - the paint.</DL></DD></DL><HR><A NAME="getItemStroke(int, int)"><!-- --></A><H3>getItemStroke</H3><PRE>public java.awt.Stroke <B>getItemStroke</B>(int row, int column)</PRE><DL><DD>Returns the stroke used to draw data items. <p> The default implementation passes control to the getSeriesStroke method. You can override this method if you require different behaviour.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row (or series) index (zero-based).<DD><CODE>column</CODE> - the column (or category) index (zero-based).<DT><B>Returns:</B><DD>The stroke.</DL></DD></DL><HR><A NAME="getSeriesStroke(int)"><!-- --></A><H3>getSeriesStroke</H3><PRE>public java.awt.Stroke <B>getSeriesStroke</B>(int series)</PRE><DL><DD>Returns the stroke used to draw the items in a series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series (zero-based index).<DT><B>Returns:</B><DD>The stroke.</DL></DD></DL><HR><A NAME="setStroke(java.awt.Stroke)"><!-- --></A><H3>setStroke</H3><PRE>public void <B>setStroke</B>(java.awt.Stroke stroke)</PRE><DL><DD>Sets the stroke for ALL series (optional).<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="setSeriesStroke(int, java.awt.Stroke)"><!-- --></A><H3>setSeriesStroke</H3><PRE>public void <B>setSeriesStroke</B>(int series, java.awt.Stroke stroke)</PRE><DL><DD>Sets the stroke used for a series.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>series</CODE> - the series index (zero-based).<DD><CODE>stroke</CODE> - the stroke.</DL></DD></DL><HR><A NAME="getBaseStroke()"><!-- --></A><H3>getBaseStroke</H3><PRE>public java.awt.Stroke <B>getBaseStroke</B>()</PRE><DL><DD>Returns the base stroke.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The base stroke.</DL></DD></DL><HR><A NAME="setBaseStroke(java.awt.Stroke)"><!-- --></A><H3>setBaseStroke</H3><PRE>public void <B>setBaseStroke</B>(java.awt.Stroke stroke)</PRE><DL><DD>Sets the base stroke.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>stroke</CODE> - the stroke.</DL></DD></DL><HR><A NAME="getItemOutlineStroke(int, int)"><!-- --></A><H3>getItemOutlineStroke</H3><PRE>public java.awt.Stroke <B>getItemOutlineStroke</B>(int row, int column)</PRE><DL><DD>Returns the stroke used to outline data items. <p> The default implementation passes control to the getSeriesOutlineStroke method. You can override this method if you require different behaviour.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>row</CODE> - the row (or series) index (zero-based).<DD><CODE>column</CODE> - the column (or category) index (zero-based).<DT><B>Returns:</B><DD>The stroke.</DL></DD></DL><HR><A NAME="getSeriesOutlineStroke(int)"><!-- --></A><H3>getSeriesOutlineStroke</H3><PRE>public java.awt.Stroke <B>getSeriesOutlineStroke</B>(int series)</PRE><DL><DD>Returns the stroke used to outline the items in a series.<P>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?