xypointerannotation.html

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

HTML
725
字号
</DL><HR><A NAME="DEFAULT_BASE_RADIUS"><!-- --></A><H3>DEFAULT_BASE_RADIUS</H3><PRE>public static final double <B>DEFAULT_BASE_RADIUS</B></PRE><DL><DD>The default base radius (in Java2D units).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.annotations.XYPointerAnnotation.DEFAULT_BASE_RADIUS">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_LABEL_OFFSET"><!-- --></A><H3>DEFAULT_LABEL_OFFSET</H3><PRE>public static final double <B>DEFAULT_LABEL_OFFSET</B></PRE><DL><DD>The default label offset (in Java2D units).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.annotations.XYPointerAnnotation.DEFAULT_LABEL_OFFSET">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_ARROW_LENGTH"><!-- --></A><H3>DEFAULT_ARROW_LENGTH</H3><PRE>public static final double <B>DEFAULT_ARROW_LENGTH</B></PRE><DL><DD>The default arrow length (in Java2D units).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.annotations.XYPointerAnnotation.DEFAULT_ARROW_LENGTH">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_ARROW_WIDTH"><!-- --></A><H3>DEFAULT_ARROW_WIDTH</H3><PRE>public static final double <B>DEFAULT_ARROW_WIDTH</B></PRE><DL><DD>The default arrow width (in Java2D units).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.annotations.XYPointerAnnotation.DEFAULT_ARROW_WIDTH">Constant Field Values</A></DL></DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="XYPointerAnnotation(java.lang.String, double, double, double)"><!-- --></A><H3>XYPointerAnnotation</H3><PRE>public <B>XYPointerAnnotation</B>(java.lang.String&nbsp;label,                           double&nbsp;x,                           double&nbsp;y,                           double&nbsp;angle)</PRE><DL><DD>Creates a new label and arrow annotation.<P><DT><B>Parameters:</B><DD><CODE>label</CODE> - the label.<DD><CODE>x</CODE> - the x-coordinate (measured against the chart's domain axis).<DD><CODE>y</CODE> - the y-coordinate (measured against the chart's range axis).<DD><CODE>angle</CODE> - the angle of the arrow's line (in radians).</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="getTipRadius()"><!-- --></A><H3>getTipRadius</H3><PRE>public double <B>getTipRadius</B>()</PRE><DL><DD>Returns the tip radius.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The tip radius.</DL></DD></DL><HR><A NAME="setTipRadius(double)"><!-- --></A><H3>setTipRadius</H3><PRE>public void <B>setTipRadius</B>(double&nbsp;radius)</PRE><DL><DD>Sets the tip radius.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>radius</CODE> - the radius.</DL></DD></DL><HR><A NAME="getBaseRadius()"><!-- --></A><H3>getBaseRadius</H3><PRE>public double <B>getBaseRadius</B>()</PRE><DL><DD>Sets the base radius.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The base radius.</DL></DD></DL><HR><A NAME="setBaseRadius(double)"><!-- --></A><H3>setBaseRadius</H3><PRE>public void <B>setBaseRadius</B>(double&nbsp;radius)</PRE><DL><DD>Sets the base radius.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>radius</CODE> - The radius.</DL></DD></DL><HR><A NAME="getLabelOffset()"><!-- --></A><H3>getLabelOffset</H3><PRE>public double <B>getLabelOffset</B>()</PRE><DL><DD>Sets the label offset.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The label offset.</DL></DD></DL><HR><A NAME="setLabelOffset(double)"><!-- --></A><H3>setLabelOffset</H3><PRE>public void <B>setLabelOffset</B>(double&nbsp;offset)</PRE><DL><DD>Sets the label offset (from the arrow base, continuing in a straight line, in Java2D units).<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>offset</CODE> - the offset.</DL></DD></DL><HR><A NAME="getArrowLength()"><!-- --></A><H3>getArrowLength</H3><PRE>public double <B>getArrowLength</B>()</PRE><DL><DD>Returns the arrow length.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The arrow length.</DL></DD></DL><HR><A NAME="setArrowLength(double)"><!-- --></A><H3>setArrowLength</H3><PRE>public void <B>setArrowLength</B>(double&nbsp;length)</PRE><DL><DD>Sets the arrow length.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>length</CODE> - the length.</DL></DD></DL><HR><A NAME="getArrowWidth()"><!-- --></A><H3>getArrowWidth</H3><PRE>public double <B>getArrowWidth</B>()</PRE><DL><DD>Returns the arrow width.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The arrow width.</DL></DD></DL><HR><A NAME="setArrowWidth(double)"><!-- --></A><H3>setArrowWidth</H3><PRE>public void <B>setArrowWidth</B>(double&nbsp;width)</PRE><DL><DD>Sets the arrow width.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>width</CODE> - the width.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, java.awt.geom.Rectangle2D, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis)"><!-- --></A><H3>draw</H3><PRE>public void <B>draw</B>(java.awt.Graphics2D&nbsp;g2,                 <A HREF="../../../../org/jfree/chart/plot/XYPlot.html">XYPlot</A>&nbsp;plot,                 java.awt.geom.Rectangle2D&nbsp;dataArea,                 <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;domainAxis,                 <A HREF="../../../../org/jfree/chart/axis/ValueAxis.html">ValueAxis</A>&nbsp;rangeAxis)</PRE><DL><DD>Draws the annotation.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/annotations/XYAnnotation.html#draw(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, java.awt.geom.Rectangle2D, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis)">draw</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/annotations/XYAnnotation.html">XYAnnotation</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/annotations/XYTextAnnotation.html#draw(java.awt.Graphics2D, org.jfree.chart.plot.XYPlot, java.awt.geom.Rectangle2D, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis)">draw</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/annotations/XYTextAnnotation.html">XYTextAnnotation</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>dataArea</CODE> - the data area.<DD><CODE>domainAxis</CODE> - the domain axis.<DD><CODE>rangeAxis</CODE> - the range axis.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <B>equals</B>(java.lang.Object&nbsp;object)</PRE><DL><DD>Tests this annotation for equality with an object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/annotations/TextAnnotation.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/annotations/TextAnnotation.html">TextAnnotation</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>object</CODE> - the object to test against.<DT><B>Returns:</B><DD><code>true</code> or <code>false</code>.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <B>clone</B>()                       throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of the annotation.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/annotations/XYTextAnnotation.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/annotations/XYTextAnnotation.html">XYTextAnnotation</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 annotation can't be cloned.</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/annotations/XYLineAnnotation.html"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/annotations/XYTextAnnotation.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="XYPointerAnnotation.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="#field_summary">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;<A HREF="#field_detail">FIELD</A>&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 + -
显示快捷键?