abstractxyitemrenderer.html

来自「JFreeChart的帮助文档」· HTML 代码 · 共 862 行 · 第 1/4 页

HTML
862 行
字号
<A NAME="fillRangeGridBand(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, java.awt.geom.Rectangle2D, double, double)"><!-- --></A><H3>fillRangeGridBand</H3><PRE>public void <B>fillRangeGridBand</B>(java.awt.Graphics2D&nbsp;g2,                              <A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A>&nbsp;plot,                              <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;axis,                              java.awt.geom.Rectangle2D&nbsp;dataArea,                              double&nbsp;start,                              double&nbsp;end)</PRE><DL><DD>Fills a band between two values on the range axis.  This can be used to color bands between the grid lines.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html#fillRangeGridBand(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, java.awt.geom.Rectangle2D, double, double)">fillRangeGridBand</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html">XYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plot</CODE> - the plot.<DD><CODE>axis</CODE> - the range axis.<DD><CODE>dataArea</CODE> - the data area.<DD><CODE>start</CODE> - the start value.<DD><CODE>end</CODE> - the end value.</DL></DD></DL><HR><A NAME="drawDomainGridLine(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, java.awt.geom.Rectangle2D, double)"><!-- --></A><H3>drawDomainGridLine</H3><PRE>public void <B>drawDomainGridLine</B>(java.awt.Graphics2D&nbsp;g2,                               <A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A>&nbsp;plot,                               <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;axis,                               java.awt.geom.Rectangle2D&nbsp;dataArea,                               double&nbsp;value)</PRE><DL><DD>Draws a grid line against the range axis.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html#drawDomainGridLine(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, java.awt.geom.Rectangle2D, double)">drawDomainGridLine</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html">XYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plot</CODE> - the plot.<DD><CODE>axis</CODE> - the value axis.<DD><CODE>dataArea</CODE> - the area for plotting data (not yet adjusted for any 3D effect).<DD><CODE>value</CODE> - the value at which the grid line should be drawn.</DL></DD></DL><HR><A NAME="drawRangeGridLine(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, java.awt.geom.Rectangle2D, double)"><!-- --></A><H3>drawRangeGridLine</H3><PRE>public void <B>drawRangeGridLine</B>(java.awt.Graphics2D&nbsp;g2,                              <A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A>&nbsp;plot,                              <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;axis,                              java.awt.geom.Rectangle2D&nbsp;dataArea,                              double&nbsp;value)</PRE><DL><DD>Draws a grid line against the range axis.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html#drawRangeGridLine(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, java.awt.geom.Rectangle2D, double)">drawRangeGridLine</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html">XYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plot</CODE> - the plot.<DD><CODE>axis</CODE> - the value axis.<DD><CODE>dataArea</CODE> - the area for plotting data (not yet adjusted for any 3D effect).<DD><CODE>value</CODE> - the value at which the grid line should be drawn.</DL></DD></DL><HR><A NAME="drawDomainMarker(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.Marker, java.awt.geom.Rectangle2D)"><!-- --></A><H3>drawDomainMarker</H3><PRE>public void <B>drawDomainMarker</B>(java.awt.Graphics2D&nbsp;g2,                             <A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A>&nbsp;plot,                             <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;domainAxis,                             <A HREF="../../../../org/jfree/chart/Marker.html">Marker</A>&nbsp;marker,                             java.awt.geom.Rectangle2D&nbsp;dataArea)</PRE><DL><DD>Draws a vertical line on the chart to represent a 'range marker'.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html#drawDomainMarker(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.Marker, java.awt.geom.Rectangle2D)">drawDomainMarker</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html">XYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plot</CODE> - the plot.<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>marker</CODE> - the marker line.<DD><CODE>dataArea</CODE> - the axis data area.</DL></DD></DL><HR><A NAME="drawRangeMarker(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.Marker, java.awt.geom.Rectangle2D)"><!-- --></A><H3>drawRangeMarker</H3><PRE>public void <B>drawRangeMarker</B>(java.awt.Graphics2D&nbsp;g2,                            <A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A>&nbsp;plot,                            <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;rangeAxis,                            <A HREF="../../../../org/jfree/chart/Marker.html">Marker</A>&nbsp;marker,                            java.awt.geom.Rectangle2D&nbsp;dataArea)</PRE><DL><DD>Draws a horizontal line across the chart to represent a 'range marker'.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html#drawRangeMarker(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.Marker, java.awt.geom.Rectangle2D)">drawRangeMarker</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/renderer/XYItemRenderer.html">XYItemRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>plot</CODE> - the plot.<DD><CODE>rangeAxis</CODE> - the range axis.<DD><CODE>marker</CODE> - the marker line.<DD><CODE>dataArea</CODE> - the axis data area.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>protected java.lang.Object <B>clone</B>()                          throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the renderer.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html">AbstractRenderer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - if the renderer does not support cloning.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;obj)</PRE><DL><DD>Tests this renderer for equality with another object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html">AbstractRenderer</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object.<DT><B>Returns:</B><DD><code>true</code> or <code>false</code>.</DL></DD></DL><HR><A NAME="getDrawingSupplier()"><!-- --></A><H3>getDrawingSupplier</H3><PRE>public <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><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html#getDrawingSupplier()">getDrawingSupplier</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html">AbstractRenderer</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>The drawing supplier (possibly <code>null</code>).</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>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;<A HREF="../../../../org/jfree/chart/renderer/AbstractRenderer.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/renderer/AreaRenderer.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>  &nbsp;&nbsp;<A HREF="AbstractXYItemRenderer.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<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:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.jfree.chart.renderer.AbstractRenderer">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR></BODY></HTML>

⌨️ 快捷键说明

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