XYImageAnnotation.html 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555
  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>XYImageAnnotation (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="XYImageAnnotation (JFreeChart Class Library (version 1.0.19-fx))";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":10,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete 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/XYImageAnnotation.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/XYDrawableAnnotation.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/XYLineAnnotation.html" title="class 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/XYImageAnnotation.html" target="_top">Frames</a></li>
  57. <li><a href="XYImageAnnotation.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><a href="#constructor.summary">Constr</a>&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><a href="#constructor.detail">Constr</a>&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="Class XYImageAnnotation" class="title">Class XYImageAnnotation</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <ul class="inheritance">
  100. <li>java.lang.Object</li>
  101. <li>
  102. <ul class="inheritance">
  103. <li><a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html" title="class in org.jfree.chart.annotations">org.jfree.chart.annotations.AbstractAnnotation</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html" title="class in org.jfree.chart.annotations">org.jfree.chart.annotations.AbstractXYAnnotation</a></li>
  107. <li>
  108. <ul class="inheritance">
  109. <li>org.jfree.chart.annotations.XYImageAnnotation</li>
  110. </ul>
  111. </li>
  112. </ul>
  113. </li>
  114. </ul>
  115. </li>
  116. </ul>
  117. <div class="description">
  118. <ul class="blockList">
  119. <li class="blockList">
  120. <dl>
  121. <dt>All Implemented Interfaces:</dt>
  122. <dd>java.io.Serializable, java.lang.Cloneable, <a href="../../../../org/jfree/chart/annotations/Annotation.html" title="interface in org.jfree.chart.annotations">Annotation</a>, <a href="../../../../org/jfree/chart/annotations/XYAnnotation.html" title="interface in org.jfree.chart.annotations">XYAnnotation</a>, org.jfree.util.PublicCloneable</dd>
  123. </dl>
  124. <hr>
  125. <br>
  126. <pre>public class <a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.79">XYImageAnnotation</a>
  127. extends <a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html" title="class in org.jfree.chart.annotations">AbstractXYAnnotation</a>
  128. implements java.lang.Cloneable, org.jfree.util.PublicCloneable, java.io.Serializable</pre>
  129. <div class="block">An annotation that allows an image to be placed at some location on
  130. an <a href="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot"><code>XYPlot</code></a>.
  131. TODO: implement serialization properly (image is not serializable).</div>
  132. <dl>
  133. <dt><span class="seeLabel">See Also:</span></dt>
  134. <dd><a href="../../../../serialized-form.html#org.jfree.chart.annotations.XYImageAnnotation">Serialized Form</a></dd>
  135. </dl>
  136. </li>
  137. </ul>
  138. </div>
  139. <div class="summary">
  140. <ul class="blockList">
  141. <li class="blockList">
  142. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  143. <ul class="blockList">
  144. <li class="blockList"><a name="constructor.summary">
  145. <!-- -->
  146. </a>
  147. <h3>Constructor Summary</h3>
  148. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  149. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  150. <tr>
  151. <th class="colOne" scope="col">Constructor and Description</th>
  152. </tr>
  153. <tr class="altColor">
  154. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#XYImageAnnotation-double-double-java.awt.Image-">XYImageAnnotation</a></span>(double&nbsp;x,
  155. double&nbsp;y,
  156. java.awt.Image&nbsp;image)</code>
  157. <div class="block">Creates a new annotation to be displayed at the specified (x, y)
  158. location.</div>
  159. </td>
  160. </tr>
  161. <tr class="rowColor">
  162. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#XYImageAnnotation-double-double-java.awt.Image-org.jfree.ui.RectangleAnchor-">XYImageAnnotation</a></span>(double&nbsp;x,
  163. double&nbsp;y,
  164. java.awt.Image&nbsp;image,
  165. org.jfree.ui.RectangleAnchor&nbsp;anchor)</code>
  166. <div class="block">Creates a new annotation to be displayed at the specified (x, y)
  167. location.</div>
  168. </td>
  169. </tr>
  170. </table>
  171. </li>
  172. </ul>
  173. <!-- ========== METHOD SUMMARY =========== -->
  174. <ul class="blockList">
  175. <li class="blockList"><a name="method.summary">
  176. <!-- -->
  177. </a>
  178. <h3>Method Summary</h3>
  179. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  180. <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="t4" class="tableTab"><span><a href="javascript:show(8);">Concrete Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  181. <tr>
  182. <th class="colFirst" scope="col">Modifier and Type</th>
  183. <th class="colLast" scope="col">Method and Description</th>
  184. </tr>
  185. <tr id="i0" class="altColor">
  186. <td class="colFirst"><code>java.lang.Object</code></td>
  187. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#clone--">clone</a></span>()</code>
  188. <div class="block">Returns a clone of the annotation.</div>
  189. </td>
  190. </tr>
  191. <tr id="i1" class="rowColor">
  192. <td class="colFirst"><code>void</code></td>
  193. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.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,
  194. <a href="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</a>&nbsp;plot,
  195. java.awt.geom.Rectangle2D&nbsp;dataArea,
  196. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;domainAxis,
  197. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;rangeAxis,
  198. int&nbsp;rendererIndex,
  199. <a href="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</a>&nbsp;info)</code>
  200. <div class="block">Draws the annotation.</div>
  201. </td>
  202. </tr>
  203. <tr id="i2" class="altColor">
  204. <td class="colFirst"><code>boolean</code></td>
  205. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>
  206. <div class="block">Tests this object for equality with an arbitrary object.</div>
  207. </td>
  208. </tr>
  209. <tr id="i3" class="rowColor">
  210. <td class="colFirst"><code>java.awt.Image</code></td>
  211. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#getImage--">getImage</a></span>()</code>
  212. <div class="block">Returns the image for the annotation.</div>
  213. </td>
  214. </tr>
  215. <tr id="i4" class="altColor">
  216. <td class="colFirst"><code>org.jfree.ui.RectangleAnchor</code></td>
  217. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#getImageAnchor--">getImageAnchor</a></span>()</code>
  218. <div class="block">Returns the image anchor for the annotation.</div>
  219. </td>
  220. </tr>
  221. <tr id="i5" class="rowColor">
  222. <td class="colFirst"><code>double</code></td>
  223. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#getX--">getX</a></span>()</code>
  224. <div class="block">Returns the x-coordinate (in data space) for the annotation.</div>
  225. </td>
  226. </tr>
  227. <tr id="i6" class="altColor">
  228. <td class="colFirst"><code>double</code></td>
  229. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#getY--">getY</a></span>()</code>
  230. <div class="block">Returns the y-coordinate (in data space) for the annotation.</div>
  231. </td>
  232. </tr>
  233. <tr id="i7" class="rowColor">
  234. <td class="colFirst"><code>int</code></td>
  235. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/annotations/XYImageAnnotation.html#hashCode--">hashCode</a></span>()</code>
  236. <div class="block">Returns a hash code for this object.</div>
  237. </td>
  238. </tr>
  239. </table>
  240. <ul class="blockList">
  241. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.annotations.AbstractXYAnnotation">
  242. <!-- -->
  243. </a>
  244. <h3>Methods inherited from class&nbsp;org.jfree.chart.annotations.<a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html" title="class in org.jfree.chart.annotations">AbstractXYAnnotation</a></h3>
  245. <code><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html#addEntity-org.jfree.chart.plot.PlotRenderingInfo-java.awt.Shape-int-java.lang.String-java.lang.String-">addEntity</a>, <a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html#getToolTipText--">getToolTipText</a>, <a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html#getURL--">getURL</a>, <a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html#setToolTipText-java.lang.String-">setToolTipText</a>, <a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html#setURL-java.lang.String-">setURL</a></code></li>
  246. </ul>
  247. <ul class="blockList">
  248. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.annotations.AbstractAnnotation">
  249. <!-- -->
  250. </a>
  251. <h3>Methods inherited from class&nbsp;org.jfree.chart.annotations.<a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html" title="class in org.jfree.chart.annotations">AbstractAnnotation</a></h3>
  252. <code><a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html#addChangeListener-org.jfree.chart.event.AnnotationChangeListener-">addChangeListener</a>, <a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html#fireAnnotationChanged--">fireAnnotationChanged</a>, <a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html#getNotify--">getNotify</a>, <a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html#hasListener-java.util.EventListener-">hasListener</a>, <a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html#notifyListeners-org.jfree.chart.event.AnnotationChangeEvent-">notifyListeners</a>, <a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html#removeChangeListener-org.jfree.chart.event.AnnotationChangeListener-">removeChangeListener</a>, <a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html#setNotify-boolean-">setNotify</a></code></li>
  253. </ul>
  254. <ul class="blockList">
  255. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  256. <!-- -->
  257. </a>
  258. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  259. <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
  260. </ul>
  261. <ul class="blockList">
  262. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.annotations.Annotation">
  263. <!-- -->
  264. </a>
  265. <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>
  266. <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>
  267. </ul>
  268. </li>
  269. </ul>
  270. </li>
  271. </ul>
  272. </div>
  273. <div class="details">
  274. <ul class="blockList">
  275. <li class="blockList">
  276. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  277. <ul class="blockList">
  278. <li class="blockList"><a name="constructor.detail">
  279. <!-- -->
  280. </a>
  281. <h3>Constructor Detail</h3>
  282. <a name="XYImageAnnotation-double-double-java.awt.Image-">
  283. <!-- -->
  284. </a>
  285. <ul class="blockList">
  286. <li class="blockList">
  287. <h4>XYImageAnnotation</h4>
  288. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.109">XYImageAnnotation</a>(double&nbsp;x,
  289. double&nbsp;y,
  290. java.awt.Image&nbsp;image)</pre>
  291. <div class="block">Creates a new annotation to be displayed at the specified (x, y)
  292. location.</div>
  293. <dl>
  294. <dt><span class="paramLabel">Parameters:</span></dt>
  295. <dd><code>x</code> - the x-coordinate (in data space).</dd>
  296. <dd><code>y</code> - the y-coordinate (in data space).</dd>
  297. <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
  298. </dl>
  299. </li>
  300. </ul>
  301. <a name="XYImageAnnotation-double-double-java.awt.Image-org.jfree.ui.RectangleAnchor-">
  302. <!-- -->
  303. </a>
  304. <ul class="blockListLast">
  305. <li class="blockList">
  306. <h4>XYImageAnnotation</h4>
  307. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.124">XYImageAnnotation</a>(double&nbsp;x,
  308. double&nbsp;y,
  309. java.awt.Image&nbsp;image,
  310. org.jfree.ui.RectangleAnchor&nbsp;anchor)</pre>
  311. <div class="block">Creates a new annotation to be displayed at the specified (x, y)
  312. location.</div>
  313. <dl>
  314. <dt><span class="paramLabel">Parameters:</span></dt>
  315. <dd><code>x</code> - the x-coordinate (in data space).</dd>
  316. <dd><code>y</code> - the y-coordinate (in data space).</dd>
  317. <dd><code>image</code> - the image (<code>null</code> not permitted).</dd>
  318. <dd><code>anchor</code> - the image anchor (<code>null</code> not permitted).</dd>
  319. <dt><span class="simpleTagLabel">Since:</span></dt>
  320. <dd>1.0.4</dd>
  321. </dl>
  322. </li>
  323. </ul>
  324. </li>
  325. </ul>
  326. <!-- ============ METHOD DETAIL ========== -->
  327. <ul class="blockList">
  328. <li class="blockList"><a name="method.detail">
  329. <!-- -->
  330. </a>
  331. <h3>Method Detail</h3>
  332. <a name="getX--">
  333. <!-- -->
  334. </a>
  335. <ul class="blockList">
  336. <li class="blockList">
  337. <h4>getX</h4>
  338. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.142">getX</a>()</pre>
  339. <div class="block">Returns the x-coordinate (in data space) for the annotation.</div>
  340. <dl>
  341. <dt><span class="returnLabel">Returns:</span></dt>
  342. <dd>The x-coordinate.</dd>
  343. <dt><span class="simpleTagLabel">Since:</span></dt>
  344. <dd>1.0.4</dd>
  345. </dl>
  346. </li>
  347. </ul>
  348. <a name="getY--">
  349. <!-- -->
  350. </a>
  351. <ul class="blockList">
  352. <li class="blockList">
  353. <h4>getY</h4>
  354. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.153">getY</a>()</pre>
  355. <div class="block">Returns the y-coordinate (in data space) for the annotation.</div>
  356. <dl>
  357. <dt><span class="returnLabel">Returns:</span></dt>
  358. <dd>The y-coordinate.</dd>
  359. <dt><span class="simpleTagLabel">Since:</span></dt>
  360. <dd>1.0.4</dd>
  361. </dl>
  362. </li>
  363. </ul>
  364. <a name="getImage--">
  365. <!-- -->
  366. </a>
  367. <ul class="blockList">
  368. <li class="blockList">
  369. <h4>getImage</h4>
  370. <pre>public&nbsp;java.awt.Image&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.164">getImage</a>()</pre>
  371. <div class="block">Returns the image for the annotation.</div>
  372. <dl>
  373. <dt><span class="returnLabel">Returns:</span></dt>
  374. <dd>The image.</dd>
  375. <dt><span class="simpleTagLabel">Since:</span></dt>
  376. <dd>1.0.4</dd>
  377. </dl>
  378. </li>
  379. </ul>
  380. <a name="getImageAnchor--">
  381. <!-- -->
  382. </a>
  383. <ul class="blockList">
  384. <li class="blockList">
  385. <h4>getImageAnchor</h4>
  386. <pre>public&nbsp;org.jfree.ui.RectangleAnchor&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.175">getImageAnchor</a>()</pre>
  387. <div class="block">Returns the image anchor for the annotation.</div>
  388. <dl>
  389. <dt><span class="returnLabel">Returns:</span></dt>
  390. <dd>The image anchor.</dd>
  391. <dt><span class="simpleTagLabel">Since:</span></dt>
  392. <dd>1.0.4</dd>
  393. </dl>
  394. </li>
  395. </ul>
  396. <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-">
  397. <!-- -->
  398. </a>
  399. <ul class="blockList">
  400. <li class="blockList">
  401. <h4>draw</h4>
  402. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.194">draw</a>(java.awt.Graphics2D&nbsp;g2,
  403. <a href="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot">XYPlot</a>&nbsp;plot,
  404. java.awt.geom.Rectangle2D&nbsp;dataArea,
  405. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;domainAxis,
  406. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;rangeAxis,
  407. int&nbsp;rendererIndex,
  408. <a href="../../../../org/jfree/chart/plot/PlotRenderingInfo.html" title="class in org.jfree.chart.plot">PlotRenderingInfo</a>&nbsp;info)</pre>
  409. <div class="block">Draws the annotation. This method is called by the drawing code in the
  410. <a href="../../../../org/jfree/chart/plot/XYPlot.html" title="class in org.jfree.chart.plot"><code>XYPlot</code></a> class, you don't normally need to call this method
  411. directly.</div>
  412. <dl>
  413. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  414. <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-int-org.jfree.chart.plot.PlotRenderingInfo-">draw</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/jfree/chart/annotations/XYAnnotation.html" title="interface in org.jfree.chart.annotations">XYAnnotation</a></code></dd>
  415. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  416. <dd><code><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.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></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html" title="class in org.jfree.chart.annotations">AbstractXYAnnotation</a></code></dd>
  417. <dt><span class="paramLabel">Parameters:</span></dt>
  418. <dd><code>g2</code> - the graphics device.</dd>
  419. <dd><code>plot</code> - the plot.</dd>
  420. <dd><code>dataArea</code> - the data area.</dd>
  421. <dd><code>domainAxis</code> - the domain axis.</dd>
  422. <dd><code>rangeAxis</code> - the range axis.</dd>
  423. <dd><code>rendererIndex</code> - the renderer index.</dd>
  424. <dd><code>info</code> - if supplied, this info object will be populated with
  425. entity information.</dd>
  426. </dl>
  427. </li>
  428. </ul>
  429. <a name="equals-java.lang.Object-">
  430. <!-- -->
  431. </a>
  432. <ul class="blockList">
  433. <li class="blockList">
  434. <h4>equals</h4>
  435. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.246">equals</a>(java.lang.Object&nbsp;obj)</pre>
  436. <div class="block">Tests this object for equality with an arbitrary object.</div>
  437. <dl>
  438. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  439. <dd><code><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html" title="class in org.jfree.chart.annotations">AbstractXYAnnotation</a></code></dd>
  440. <dt><span class="paramLabel">Parameters:</span></dt>
  441. <dd><code>obj</code> - the object (<code>null</code> permitted).</dd>
  442. <dt><span class="returnLabel">Returns:</span></dt>
  443. <dd>A boolean.</dd>
  444. </dl>
  445. </li>
  446. </ul>
  447. <a name="hashCode--">
  448. <!-- -->
  449. </a>
  450. <ul class="blockList">
  451. <li class="blockList">
  452. <h4>hashCode</h4>
  453. <pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.280">hashCode</a>()</pre>
  454. <div class="block">Returns a hash code for this object.</div>
  455. <dl>
  456. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  457. <dd><code><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html#hashCode--">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/annotations/AbstractXYAnnotation.html" title="class in org.jfree.chart.annotations">AbstractXYAnnotation</a></code></dd>
  458. <dt><span class="returnLabel">Returns:</span></dt>
  459. <dd>A hash code.</dd>
  460. </dl>
  461. </li>
  462. </ul>
  463. <a name="clone--">
  464. <!-- -->
  465. </a>
  466. <ul class="blockListLast">
  467. <li class="blockList">
  468. <h4>clone</h4>
  469. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../../src-html/org/jfree/chart/annotations/XYImageAnnotation.html#line.292">clone</a>()
  470. throws java.lang.CloneNotSupportedException</pre>
  471. <div class="block">Returns a clone of the annotation.</div>
  472. <dl>
  473. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  474. <dd><code>clone</code>&nbsp;in interface&nbsp;<code>org.jfree.util.PublicCloneable</code></dd>
  475. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  476. <dd><code><a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/annotations/AbstractAnnotation.html" title="class in org.jfree.chart.annotations">AbstractAnnotation</a></code></dd>
  477. <dt><span class="returnLabel">Returns:</span></dt>
  478. <dd>A clone.</dd>
  479. <dt><span class="throwsLabel">Throws:</span></dt>
  480. <dd><code>java.lang.CloneNotSupportedException</code> - if the annotation can't be cloned.</dd>
  481. </dl>
  482. </li>
  483. </ul>
  484. </li>
  485. </ul>
  486. </li>
  487. </ul>
  488. </div>
  489. </div>
  490. <!-- ========= END OF CLASS DATA ========= -->
  491. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  492. <div class="bottomNav"><a name="navbar.bottom">
  493. <!-- -->
  494. </a>
  495. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  496. <a name="navbar.bottom.firstrow">
  497. <!-- -->
  498. </a>
  499. <ul class="navList" title="Navigation">
  500. <li><a href="../../../../overview-summary.html">Overview</a></li>
  501. <li><a href="package-summary.html">Package</a></li>
  502. <li class="navBarCell1Rev">Class</li>
  503. <li><a href="class-use/XYImageAnnotation.html">Use</a></li>
  504. <li><a href="package-tree.html">Tree</a></li>
  505. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  506. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  507. <li><a href="../../../../help-doc.html">Help</a></li>
  508. </ul>
  509. </div>
  510. <div class="subNav">
  511. <ul class="navList">
  512. <li><a href="../../../../org/jfree/chart/annotations/XYDrawableAnnotation.html" title="class in org.jfree.chart.annotations"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  513. <li><a href="../../../../org/jfree/chart/annotations/XYLineAnnotation.html" title="class in org.jfree.chart.annotations"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  514. </ul>
  515. <ul class="navList">
  516. <li><a href="../../../../index.html?org/jfree/chart/annotations/XYImageAnnotation.html" target="_top">Frames</a></li>
  517. <li><a href="XYImageAnnotation.html" target="_top">No&nbsp;Frames</a></li>
  518. </ul>
  519. <ul class="navList" id="allclasses_navbar_bottom">
  520. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  521. </ul>
  522. <div>
  523. <script type="text/javascript"><!--
  524. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  525. if(window==top) {
  526. allClassesLink.style.display = "block";
  527. }
  528. else {
  529. allClassesLink.style.display = "none";
  530. }
  531. //-->
  532. </script>
  533. </div>
  534. <div>
  535. <ul class="subNavList">
  536. <li>Summary:&nbsp;</li>
  537. <li>Nested&nbsp;|&nbsp;</li>
  538. <li>Field&nbsp;|&nbsp;</li>
  539. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  540. <li><a href="#method.summary">Method</a></li>
  541. </ul>
  542. <ul class="subNavList">
  543. <li>Detail:&nbsp;</li>
  544. <li>Field&nbsp;|&nbsp;</li>
  545. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  546. <li><a href="#method.detail">Method</a></li>
  547. </ul>
  548. </div>
  549. <a name="skip.navbar.bottom">
  550. <!-- -->
  551. </a></div>
  552. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  553. </body>
  554. </html>