barrenderer.html
来自「JFreeChart的帮助文档」· HTML 代码 · 共 803 行 · 第 1/4 页
HTML
803 行
<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the value.</DL></DD></DL><HR><A NAME="initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, java.lang.Integer, org.jfree.chart.ChartRenderingInfo)"><!-- --></A><H3>initialise</H3><PRE>public void <B>initialise</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A> plot, java.lang.Integer index, <A HREF="../../../../org/jfree/chart/ChartRenderingInfo.html">ChartRenderingInfo</A> info)</PRE><DL><DD>Initialises the renderer. <p> This method gets called once at the start of the process of drawing a chart.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html#initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, java.lang.Integer, org.jfree.chart.ChartRenderingInfo)">initialise</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html">CategoryItemRenderer</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html#initialise(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, java.lang.Integer, org.jfree.chart.ChartRenderingInfo)">initialise</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html">AbstractCategoryItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the area in which the data is to be plotted.<DD><CODE>plot</CODE> - the plot.<DD><CODE>index</CODE> - the renderer index (<code>null</code> for the primary renderer).<DD><CODE>info</CODE> - collects chart rendering information for return to caller.</DL></DD></DL><HR><A NAME="drawItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.CategoryDataset, int, int)"><!-- --></A><H3>drawItem</H3><PRE>public void <B>drawItem</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A> plot, <A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html">CategoryAxis</A> domainAxis, <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A> rangeAxis, <A HREF="../../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, int row, int column)</PRE><DL><DD>Draws the bar for a single (series, category) data item.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html#drawItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.CategoryDataset, int, int)">drawItem</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/CategoryItemRenderer.html">CategoryItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>plot</CODE> - the plot.<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>rangeAxis</CODE> - the range axis.<DD><CODE>data</CODE> - the data.<DD><CODE>row</CODE> - the row index (zero-based).<DD><CODE>column</CODE> - the column index (zero-based).</DL></DD></DL><HR><A NAME="drawHorizontalItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.CategoryDataset, int, int)"><!-- --></A><H3>drawHorizontalItem</H3><PRE>protected void <B>drawHorizontalItem</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A> plot, <A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html">CategoryAxis</A> domainAxis, <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A> rangeAxis, <A HREF="../../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> dataset, int row, int column)</PRE><DL><DD>Draws the bar for a single (series, category) data item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>plot</CODE> - the plot.<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>rangeAxis</CODE> - the range axis.<DD><CODE>dataset</CODE> - the dataset.<DD><CODE>row</CODE> - the row index (zero-based).<DD><CODE>column</CODE> - the column index (zero-based).</DL></DD></DL><HR><A NAME="drawItemLabel(java.awt.Graphics2D, org.jfree.data.CategoryDataset, int, int, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.labels.CategoryItemLabelGenerator, java.awt.geom.Rectangle2D, boolean)"><!-- --></A><H3>drawItemLabel</H3><PRE>protected void <B>drawItemLabel</B>(java.awt.Graphics2D g2, <A HREF="../../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> data, int row, int column, <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A> plot, <A HREF="../../../../org/jfree/chart/labels/CategoryItemLabelGenerator.html">CategoryItemLabelGenerator</A> generator, java.awt.geom.Rectangle2D bar, boolean negative)</PRE><DL><DD>Draws an item label.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>data</CODE> - the dataset.<DD><CODE>row</CODE> - the row.<DD><CODE>column</CODE> - the column.<DD><CODE>plot</CODE> - the plot.<DD><CODE>generator</CODE> - the label generator.<DD><CODE>bar</CODE> - the bar.<DD><CODE>negative</CODE> - a flag indicating a negative value.</DL></DD></DL><HR><A NAME="drawVerticalItem(java.awt.Graphics2D, java.awt.geom.Rectangle2D, org.jfree.chart.plot.CategoryPlot, org.jfree.chart.axis.CategoryAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.CategoryDataset, int, int)"><!-- --></A><H3>drawVerticalItem</H3><PRE>protected void <B>drawVerticalItem</B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, <A HREF="../../../../org/jfree/chart/plot/CategoryPlot.html">CategoryPlot</A> plot, <A HREF="../../../../org/jfree/chart/axis/CategoryAxis.html">CategoryAxis</A> domainAxis, <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A> rangeAxis, <A HREF="../../../../org/jfree/data/CategoryDataset.html">CategoryDataset</A> dataset, int row, int column)</PRE><DL><DD>Draws the bar for a single (series, category) data item.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>plot</CODE> - the plot.<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>rangeAxis</CODE> - the range axis.<DD><CODE>dataset</CODE> - the dataset.<DD><CODE>row</CODE> - the row index (zero-based).<DD><CODE>column</CODE> - the column index (zero-based).</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object object)</PRE><DL><DD>Tests an object for equality with this instance.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractCategoryItemRenderer.html">AbstractCategoryItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the object.<DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <TR ALIGN="center" VALIGN="top"> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/chart/renderer/AreaXYRenderer.html"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/renderer/BarRenderer3D.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="BarRenderer.html" TARGET="_top"><B>NO FRAMES</B></A> <SCRIPT> <!-- if(window==top) { document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>'); } //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?