XYAnnotation.html 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_05) on Thu Jul 31 14:50:27 CEST 2014 -->
  6. <title>XYAnnotation (JFreeChart Class Library (version 1.0.19-fx))</title>
  7. <meta name="date" content="2014-07-31">
  8. <link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
  9. <script type="text/javascript" src="../../../../script.js"></script>
  10. </head>
  11. <body>
  12. <script type="text/javascript"><!--
  13. try {
  14. if (location.href.indexOf('is-external=true') == -1) {
  15. parent.document.title="XYAnnotation (JFreeChart Class Library (version 1.0.19-fx))";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":6};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"]};
  23. var altColor = "altColor";
  24. var rowColor = "rowColor";
  25. var tableTab = "tableTab";
  26. var activeTableTab = "activeTableTab";
  27. </script>
  28. <noscript>
  29. <div>JavaScript is disabled on your browser.</div>
  30. </noscript>
  31. <!-- ========= START OF TOP NAVBAR ======= -->
  32. <div class="topNav"><a name="navbar.top">
  33. <!-- -->
  34. </a>
  35. <div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
  36. <a name="navbar.top.firstrow">
  37. <!-- -->
  38. </a>
  39. <ul class="navList" title="Navigation">
  40. <li><a href="../../../../overview-summary.html">Overview</a></li>
  41. <li><a href="package-summary.html">Package</a></li>
  42. <li class="navBarCell1Rev">Class</li>
  43. <li><a href="class-use/XYAnnotation.html">Use</a></li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  47. <li><a href="../../../../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../../../../org/jfree/chart/annotations/TextAnnotation.html" title="class in org.jfree.chart.annotations"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../org/jfree/chart/annotations/XYAnnotationBoundsInfo.html" title="interface in org.jfree.chart.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../index.html?org/jfree/chart/annotations/XYAnnotation.html" target="_top">Frames</a></li>
  57. <li><a href="XYAnnotation.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li>Nested&nbsp;|&nbsp;</li>
  78. <li>Field&nbsp;|&nbsp;</li>
  79. <li>Constr&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li>Field&nbsp;|&nbsp;</li>
  85. <li>Constr&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">org.jfree.chart.annotations</div>
  96. <h2 title="Interface XYAnnotation" class="title">Interface XYAnnotation</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <div class="description">
  100. <ul class="blockList">
  101. <li class="blockList">
  102. <dl>
  103. <dt>All Superinterfaces:</dt>
  104. <dd><a href="../../../../org/jfree/chart/annotations/Annotation.html" title="interface in org.jfree.chart.annotations">Annotation</a></dd>
  105. </dl>
  106. <dl>
  107. <dt>All Known Implementing Classes:</dt>
  108. <dd><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html" title="class in org.jfree.chart.annotations">AbstractXYAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYBoxAnnotation.html" title="class in org.jfree.chart.annotations">XYBoxAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYDataImageAnnotation.html" title="class in org.jfree.chart.annotations">XYDataImageAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYDrawableAnnotation.html" title="class in org.jfree.chart.annotations">XYDrawableAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html" title="class in org.jfree.chart.annotations">XYImageAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYLineAnnotation.html" title="class in org.jfree.chart.annotations">XYLineAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYPointerAnnotation.html" title="class in org.jfree.chart.annotations">XYPointerAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYPolygonAnnotation.html" title="class in org.jfree.chart.annotations">XYPolygonAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYShapeAnnotation.html" title="class in org.jfree.chart.annotations">XYShapeAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYTextAnnotation.html" title="class in org.jfree.chart.annotations">XYTextAnnotation</a>, <a href="../../../../org/jfree/chart/annotations/XYTitleAnnotation.html" title="class in org.jfree.chart.annotations">XYTitleAnnotation</a></dd>
  109. </dl>
  110. <hr>
  111. <br>
  112. <pre>public interface <a href="../../../../src-html/org/jfree/chart/annotations/XYAnnotation.html#line.63">XYAnnotation</a>
  113. extends <a href="../../../../org/jfree/chart/annotations/Annotation.html" title="interface in org.jfree.chart.annotations">Annotation</a></pre>
  114. <div class="block">The interface that must be supported by annotations that are to be added to
  115. an <a href="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot"><code>XYPlot</code></a>. Note that, in JFreeChart 1.0.14, a non-compatible
  116. change has been made to this interface (it now extends the Annotation
  117. interface to support change notifications).</div>
  118. </li>
  119. </ul>
  120. </div>
  121. <div class="summary">
  122. <ul class="blockList">
  123. <li class="blockList">
  124. <!-- ========== METHOD SUMMARY =========== -->
  125. <ul class="blockList">
  126. <li class="blockList"><a name="method.summary">
  127. <!-- -->
  128. </a>
  129. <h3>Method Summary</h3>
  130. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  131. <caption><span id="t0" class="activeTableTab"><span>All Methods</span><span class="tabEnd">&nbsp;</span></span><span id="t2" class="tableTab"><span><a href="javascript:show(2);">Instance Methods</a></span><span class="tabEnd">&nbsp;</span></span><span id="t3" class="tableTab"><span><a href="javascript:show(4);">Abstract Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  132. <tr>
  133. <th class="colFirst" scope="col">Modifier and Type</th>
  134. <th class="colLast" scope="col">Method and Description</th>
  135. </tr>
  136. <tr id="i0" class="altColor">
  137. <td class="colFirst"><code>void</code></td>
  138. <td class="colLast"><code><span class="memberNameLink"><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-int-org.jfree.chart.plot.PlotRenderingInfo-">draw</a></span>(java.awt.Graphics2D&nbsp;g2,
  139. <a href="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</a>&nbsp;plot,
  140. java.awt.geom.Rectangle2D&nbsp;dataArea,
  141. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;domainAxis,
  142. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;rangeAxis,
  143. int&nbsp;rendererIndex,
  144. <a href="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</a>&nbsp;info)</code>
  145. <div class="block">Draws the annotation.</div>
  146. </td>
  147. </tr>
  148. </table>
  149. <ul class="blockList">
  150. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.annotations.Annotation">
  151. <!-- -->
  152. </a>
  153. <h3>Methods inherited from interface&nbsp;org.jfree.chart.annotations.<a href="../../../../org/jfree/chart/annotations/Annotation.html" title="interface in org.jfree.chart.annotations">Annotation</a></h3>
  154. <code><a href="../../../../org/jfree/chart/annotations/Annotation.html#addChangeListener-org.jfree.chart.event.AnnotationChangeListener-">addChangeListener</a>, <a href="../../../../org/jfree/chart/annotations/Annotation.html#removeChangeListener-org.jfree.chart.event.AnnotationChangeListener-">removeChangeListener</a></code></li>
  155. </ul>
  156. </li>
  157. </ul>
  158. </li>
  159. </ul>
  160. </div>
  161. <div class="details">
  162. <ul class="blockList">
  163. <li class="blockList">
  164. <!-- ============ METHOD DETAIL ========== -->
  165. <ul class="blockList">
  166. <li class="blockList"><a name="method.detail">
  167. <!-- -->
  168. </a>
  169. <h3>Method Detail</h3>
  170. <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-int-org.jfree.chart.plot.PlotRenderingInfo-">
  171. <!-- -->
  172. </a>
  173. <ul class="blockListLast">
  174. <li class="blockList">
  175. <h4>draw</h4>
  176. <pre>void&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYAnnotation.html#line.77">draw</a>(java.awt.Graphics2D&nbsp;g2,
  177. <a href="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</a>&nbsp;plot,
  178. java.awt.geom.Rectangle2D&nbsp;dataArea,
  179. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;domainAxis,
  180. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;rangeAxis,
  181. int&nbsp;rendererIndex,
  182. <a href="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</a>&nbsp;info)</pre>
  183. <div class="block">Draws the annotation.</div>
  184. <dl>
  185. <dt><span class="paramLabel">Parameters:</span></dt>
  186. <dd><code>g2</code> - the graphics device.</dd>
  187. <dd><code>plot</code> - the plot.</dd>
  188. <dd><code>dataArea</code> - the data area.</dd>
  189. <dd><code>domainAxis</code> - the domain axis.</dd>
  190. <dd><code>rangeAxis</code> - the range axis.</dd>
  191. <dd><code>rendererIndex</code> - the renderer index.</dd>
  192. <dd><code>info</code> - an optional info object that will be populated with
  193. entity information.</dd>
  194. </dl>
  195. </li>
  196. </ul>
  197. </li>
  198. </ul>
  199. </li>
  200. </ul>
  201. </div>
  202. </div>
  203. <!-- ========= END OF CLASS DATA ========= -->
  204. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  205. <div class="bottomNav"><a name="navbar.bottom">
  206. <!-- -->
  207. </a>
  208. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  209. <a name="navbar.bottom.firstrow">
  210. <!-- -->
  211. </a>
  212. <ul class="navList" title="Navigation">
  213. <li><a href="../../../../overview-summary.html">Overview</a></li>
  214. <li><a href="package-summary.html">Package</a></li>
  215. <li class="navBarCell1Rev">Class</li>
  216. <li><a href="class-use/XYAnnotation.html">Use</a></li>
  217. <li><a href="package-tree.html">Tree</a></li>
  218. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  219. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  220. <li><a href="../../../../help-doc.html">Help</a></li>
  221. </ul>
  222. </div>
  223. <div class="subNav">
  224. <ul class="navList">
  225. <li><a href="../../../../org/jfree/chart/annotations/TextAnnotation.html" title="class in org.jfree.chart.annotations"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  226. <li><a href="../../../../org/jfree/chart/annotations/XYAnnotationBoundsInfo.html" title="interface in org.jfree.chart.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  227. </ul>
  228. <ul class="navList">
  229. <li><a href="../../../../index.html?org/jfree/chart/annotations/XYAnnotation.html" target="_top">Frames</a></li>
  230. <li><a href="XYAnnotation.html" target="_top">No&nbsp;Frames</a></li>
  231. </ul>
  232. <ul class="navList" id="allclasses_navbar_bottom">
  233. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  234. </ul>
  235. <div>
  236. <script type="text/javascript"><!--
  237. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  238. if(window==top) {
  239. allClassesLink.style.display = "block";
  240. }
  241. else {
  242. allClassesLink.style.display = "none";
  243. }
  244. //-->
  245. </script>
  246. </div>
  247. <div>
  248. <ul class="subNavList">
  249. <li>Summary:&nbsp;</li>
  250. <li>Nested&nbsp;|&nbsp;</li>
  251. <li>Field&nbsp;|&nbsp;</li>
  252. <li>Constr&nbsp;|&nbsp;</li>
  253. <li><a href="#method.summary">Method</a></li>
  254. </ul>
  255. <ul class="subNavList">
  256. <li>Detail:&nbsp;</li>
  257. <li>Field&nbsp;|&nbsp;</li>
  258. <li>Constr&nbsp;|&nbsp;</li>
  259. <li><a href="#method.detail">Method</a></li>
  260. </ul>
  261. </div>
  262. <a name="skip.navbar.bottom">
  263. <!-- -->
  264. </a></div>
  265. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  266. </body>
  267. </html>