DialTextAnnotation.html 35 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711
  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:34 CEST 2014 -->
  6. <title>DialTextAnnotation (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="DialTextAnnotation (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,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10,"i13":10,"i14":10,"i15":10,"i16":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/DialTextAnnotation.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/plot/dial/DialScale.html" title="interface in org.jfree.chart.plot.dial"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../../org/jfree/chart/plot/dial/DialValueIndicator.html" title="class in org.jfree.chart.plot.dial"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../../index.html?org/jfree/chart/plot/dial/DialTextAnnotation.html" target="_top">Frames</a></li>
  57. <li><a href="DialTextAnnotation.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.plot.dial</div>
  96. <h2 title="Class DialTextAnnotation" class="title">Class DialTextAnnotation</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/plot/dial/AbstractDialLayer.html" title="class in org.jfree.chart.plot.dial">org.jfree.chart.plot.dial.AbstractDialLayer</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li>org.jfree.chart.plot.dial.DialTextAnnotation</li>
  107. </ul>
  108. </li>
  109. </ul>
  110. </li>
  111. </ul>
  112. <div class="description">
  113. <ul class="blockList">
  114. <li class="blockList">
  115. <dl>
  116. <dt>All Implemented Interfaces:</dt>
  117. <dd>java.io.Serializable, java.lang.Cloneable, <a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html" title="interface in org.jfree.chart.plot.dial">DialLayer</a>, org.jfree.util.PublicCloneable</dd>
  118. </dl>
  119. <hr>
  120. <br>
  121. <pre>public class <a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.72">DialTextAnnotation</a>
  122. extends <a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html" title="class in org.jfree.chart.plot.dial">AbstractDialLayer</a>
  123. implements <a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html" title="interface in org.jfree.chart.plot.dial">DialLayer</a>, java.lang.Cloneable, org.jfree.util.PublicCloneable, java.io.Serializable</pre>
  124. <div class="block">A text annotation for a <a href="../../../../../org/jfree/chart/plot/dial/DialPlot.html" title="class in org.jfree.chart.plot.dial"><code>DialPlot</code></a>.</div>
  125. <dl>
  126. <dt><span class="simpleTagLabel">Since:</span></dt>
  127. <dd>1.0.7</dd>
  128. <dt><span class="seeLabel">See Also:</span></dt>
  129. <dd><a href="../../../../../serialized-form.html#org.jfree.chart.plot.dial.DialTextAnnotation">Serialized Form</a></dd>
  130. </dl>
  131. </li>
  132. </ul>
  133. </div>
  134. <div class="summary">
  135. <ul class="blockList">
  136. <li class="blockList">
  137. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  138. <ul class="blockList">
  139. <li class="blockList"><a name="constructor.summary">
  140. <!-- -->
  141. </a>
  142. <h3>Constructor Summary</h3>
  143. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  144. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  145. <tr>
  146. <th class="colOne" scope="col">Constructor and Description</th>
  147. </tr>
  148. <tr class="altColor">
  149. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#DialTextAnnotation-java.lang.String-">DialTextAnnotation</a></span>(java.lang.String&nbsp;label)</code>
  150. <div class="block">Creates a new instance of <code>DialTextAnnotation</code>.</div>
  151. </td>
  152. </tr>
  153. </table>
  154. </li>
  155. </ul>
  156. <!-- ========== METHOD SUMMARY =========== -->
  157. <ul class="blockList">
  158. <li class="blockList"><a name="method.summary">
  159. <!-- -->
  160. </a>
  161. <h3>Method Summary</h3>
  162. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  163. <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>
  164. <tr>
  165. <th class="colFirst" scope="col">Modifier and Type</th>
  166. <th class="colLast" scope="col">Method and Description</th>
  167. </tr>
  168. <tr id="i0" class="altColor">
  169. <td class="colFirst"><code>java.lang.Object</code></td>
  170. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#clone--">clone</a></span>()</code>
  171. <div class="block">Returns a clone of this instance.</div>
  172. </td>
  173. </tr>
  174. <tr id="i1" class="rowColor">
  175. <td class="colFirst"><code>void</code></td>
  176. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#draw-java.awt.Graphics2D-org.jfree.chart.plot.dial.DialPlot-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-">draw</a></span>(java.awt.Graphics2D&nbsp;g2,
  177. <a href="../../../../../org/jfree/chart/plot/dial/DialPlot.html" title="class in org.jfree.chart.plot.dial">DialPlot</a>&nbsp;plot,
  178. java.awt.geom.Rectangle2D&nbsp;frame,
  179. java.awt.geom.Rectangle2D&nbsp;view)</code>
  180. <div class="block">Draws the background to the specified graphics device.</div>
  181. </td>
  182. </tr>
  183. <tr id="i2" class="altColor">
  184. <td class="colFirst"><code>boolean</code></td>
  185. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>
  186. <div class="block">Tests this instance for equality with an arbitrary object.</div>
  187. </td>
  188. </tr>
  189. <tr id="i3" class="rowColor">
  190. <td class="colFirst"><code>org.jfree.ui.TextAnchor</code></td>
  191. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getAnchor--">getAnchor</a></span>()</code>
  192. <div class="block">Returns the text anchor point that will be aligned to the position
  193. specified by <a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getAngle--"><code>getAngle()</code></a> and <a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getRadius--"><code>getRadius()</code></a>.</div>
  194. </td>
  195. </tr>
  196. <tr id="i4" class="altColor">
  197. <td class="colFirst"><code>double</code></td>
  198. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getAngle--">getAngle</a></span>()</code>
  199. <div class="block">Returns the angle used to calculate the anchor point.</div>
  200. </td>
  201. </tr>
  202. <tr id="i5" class="rowColor">
  203. <td class="colFirst"><code>java.awt.Font</code></td>
  204. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getFont--">getFont</a></span>()</code>
  205. <div class="block">Returns the font used to display the label.</div>
  206. </td>
  207. </tr>
  208. <tr id="i6" class="altColor">
  209. <td class="colFirst"><code>java.lang.String</code></td>
  210. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getLabel--">getLabel</a></span>()</code>
  211. <div class="block">Returns the label text.</div>
  212. </td>
  213. </tr>
  214. <tr id="i7" class="rowColor">
  215. <td class="colFirst"><code>java.awt.Paint</code></td>
  216. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getPaint--">getPaint</a></span>()</code>
  217. <div class="block">Returns the paint used to display the label.</div>
  218. </td>
  219. </tr>
  220. <tr id="i8" class="altColor">
  221. <td class="colFirst"><code>double</code></td>
  222. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getRadius--">getRadius</a></span>()</code>
  223. <div class="block">Returns the radius used to calculate the anchor point.</div>
  224. </td>
  225. </tr>
  226. <tr id="i9" class="rowColor">
  227. <td class="colFirst"><code>int</code></td>
  228. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#hashCode--">hashCode</a></span>()</code>
  229. <div class="block">Returns a hash code for this instance.</div>
  230. </td>
  231. </tr>
  232. <tr id="i10" class="altColor">
  233. <td class="colFirst"><code>boolean</code></td>
  234. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#isClippedToWindow--">isClippedToWindow</a></span>()</code>
  235. <div class="block">Returns <code>true</code> to indicate that this layer should be
  236. clipped within the dial window.</div>
  237. </td>
  238. </tr>
  239. <tr id="i11" class="rowColor">
  240. <td class="colFirst"><code>void</code></td>
  241. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setAnchor-org.jfree.ui.TextAnchor-">setAnchor</a></span>(org.jfree.ui.TextAnchor&nbsp;anchor)</code>
  242. <div class="block">Sets the text anchor point and sends a <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to
  243. all registered listeners.</div>
  244. </td>
  245. </tr>
  246. <tr id="i12" class="altColor">
  247. <td class="colFirst"><code>void</code></td>
  248. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setAngle-double-">setAngle</a></span>(double&nbsp;angle)</code>
  249. <div class="block">Sets the angle used to calculate the anchor point and sends a
  250. <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all registered listeners.</div>
  251. </td>
  252. </tr>
  253. <tr id="i13" class="rowColor">
  254. <td class="colFirst"><code>void</code></td>
  255. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setFont-java.awt.Font-">setFont</a></span>(java.awt.Font&nbsp;font)</code>
  256. <div class="block">Sets the font used to display the label and sends a
  257. <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all registered listeners.</div>
  258. </td>
  259. </tr>
  260. <tr id="i14" class="altColor">
  261. <td class="colFirst"><code>void</code></td>
  262. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setLabel-java.lang.String-">setLabel</a></span>(java.lang.String&nbsp;label)</code>
  263. <div class="block">Sets the label and sends a <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all
  264. registered listeners.</div>
  265. </td>
  266. </tr>
  267. <tr id="i15" class="rowColor">
  268. <td class="colFirst"><code>void</code></td>
  269. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setPaint-java.awt.Paint-">setPaint</a></span>(java.awt.Paint&nbsp;paint)</code>
  270. <div class="block">Sets the paint used to display the label and sends a
  271. <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all registered listeners.</div>
  272. </td>
  273. </tr>
  274. <tr id="i16" class="altColor">
  275. <td class="colFirst"><code>void</code></td>
  276. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setRadius-double-">setRadius</a></span>(double&nbsp;radius)</code>
  277. <div class="block">Sets the radius used to calculate the anchor point and sends a
  278. <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all registered listeners.</div>
  279. </td>
  280. </tr>
  281. </table>
  282. <ul class="blockList">
  283. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.plot.dial.AbstractDialLayer">
  284. <!-- -->
  285. </a>
  286. <h3>Methods inherited from class&nbsp;org.jfree.chart.plot.dial.<a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html" title="class in org.jfree.chart.plot.dial">AbstractDialLayer</a></h3>
  287. <code><a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#addChangeListener-org.jfree.chart.plot.dial.DialLayerChangeListener-">addChangeListener</a>, <a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#hasListener-java.util.EventListener-">hasListener</a>, <a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#isVisible--">isVisible</a>, <a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#notifyListeners-org.jfree.chart.plot.dial.DialLayerChangeEvent-">notifyListeners</a>, <a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#removeChangeListener-org.jfree.chart.plot.dial.DialLayerChangeListener-">removeChangeListener</a>, <a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#setVisible-boolean-">setVisible</a></code></li>
  288. </ul>
  289. <ul class="blockList">
  290. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  291. <!-- -->
  292. </a>
  293. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  294. <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
  295. </ul>
  296. <ul class="blockList">
  297. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.plot.dial.DialLayer">
  298. <!-- -->
  299. </a>
  300. <h3>Methods inherited from interface&nbsp;org.jfree.chart.plot.dial.<a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html" title="interface in org.jfree.chart.plot.dial">DialLayer</a></h3>
  301. <code><a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html#addChangeListener-org.jfree.chart.plot.dial.DialLayerChangeListener-">addChangeListener</a>, <a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html#hasListener-java.util.EventListener-">hasListener</a>, <a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html#isVisible--">isVisible</a>, <a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html#removeChangeListener-org.jfree.chart.plot.dial.DialLayerChangeListener-">removeChangeListener</a></code></li>
  302. </ul>
  303. </li>
  304. </ul>
  305. </li>
  306. </ul>
  307. </div>
  308. <div class="details">
  309. <ul class="blockList">
  310. <li class="blockList">
  311. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  312. <ul class="blockList">
  313. <li class="blockList"><a name="constructor.detail">
  314. <!-- -->
  315. </a>
  316. <h3>Constructor Detail</h3>
  317. <a name="DialTextAnnotation-java.lang.String-">
  318. <!-- -->
  319. </a>
  320. <ul class="blockListLast">
  321. <li class="blockList">
  322. <h4>DialTextAnnotation</h4>
  323. <pre>public&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.104">DialTextAnnotation</a>(java.lang.String&nbsp;label)</pre>
  324. <div class="block">Creates a new instance of <code>DialTextAnnotation</code>.</div>
  325. <dl>
  326. <dt><span class="paramLabel">Parameters:</span></dt>
  327. <dd><code>label</code> - the label (<code>null</code> not permitted).</dd>
  328. </dl>
  329. </li>
  330. </ul>
  331. </li>
  332. </ul>
  333. <!-- ============ METHOD DETAIL ========== -->
  334. <ul class="blockList">
  335. <li class="blockList"><a name="method.detail">
  336. <!-- -->
  337. </a>
  338. <h3>Method Detail</h3>
  339. <a name="getLabel--">
  340. <!-- -->
  341. </a>
  342. <ul class="blockList">
  343. <li class="blockList">
  344. <h4>getLabel</h4>
  345. <pre>public&nbsp;java.lang.String&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.121">getLabel</a>()</pre>
  346. <div class="block">Returns the label text.</div>
  347. <dl>
  348. <dt><span class="returnLabel">Returns:</span></dt>
  349. <dd>The label text (never <code>null</code>).</dd>
  350. <dt><span class="seeLabel">See Also:</span></dt>
  351. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setLabel-java.lang.String-"><code>setLabel(String)</code></a></dd>
  352. </dl>
  353. </li>
  354. </ul>
  355. <a name="setLabel-java.lang.String-">
  356. <!-- -->
  357. </a>
  358. <ul class="blockList">
  359. <li class="blockList">
  360. <h4>setLabel</h4>
  361. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.133">setLabel</a>(java.lang.String&nbsp;label)</pre>
  362. <div class="block">Sets the label and sends a <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all
  363. registered listeners.</div>
  364. <dl>
  365. <dt><span class="paramLabel">Parameters:</span></dt>
  366. <dd><code>label</code> - the label (<code>null</code> not permitted).</dd>
  367. <dt><span class="seeLabel">See Also:</span></dt>
  368. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getLabel--"><code>getLabel()</code></a></dd>
  369. </dl>
  370. </li>
  371. </ul>
  372. <a name="getFont--">
  373. <!-- -->
  374. </a>
  375. <ul class="blockList">
  376. <li class="blockList">
  377. <h4>getFont</h4>
  378. <pre>public&nbsp;java.awt.Font&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.146">getFont</a>()</pre>
  379. <div class="block">Returns the font used to display the label.</div>
  380. <dl>
  381. <dt><span class="returnLabel">Returns:</span></dt>
  382. <dd>The font (never <code>null</code>).</dd>
  383. <dt><span class="seeLabel">See Also:</span></dt>
  384. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setFont-java.awt.Font-"><code>setFont(Font)</code></a></dd>
  385. </dl>
  386. </li>
  387. </ul>
  388. <a name="setFont-java.awt.Font-">
  389. <!-- -->
  390. </a>
  391. <ul class="blockList">
  392. <li class="blockList">
  393. <h4>setFont</h4>
  394. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.158">setFont</a>(java.awt.Font&nbsp;font)</pre>
  395. <div class="block">Sets the font used to display the label and sends a
  396. <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all registered listeners.</div>
  397. <dl>
  398. <dt><span class="paramLabel">Parameters:</span></dt>
  399. <dd><code>font</code> - the font (<code>null</code> not permitted).</dd>
  400. <dt><span class="seeLabel">See Also:</span></dt>
  401. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getFont--"><code>getFont()</code></a></dd>
  402. </dl>
  403. </li>
  404. </ul>
  405. <a name="getPaint--">
  406. <!-- -->
  407. </a>
  408. <ul class="blockList">
  409. <li class="blockList">
  410. <h4>getPaint</h4>
  411. <pre>public&nbsp;java.awt.Paint&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.171">getPaint</a>()</pre>
  412. <div class="block">Returns the paint used to display the label.</div>
  413. <dl>
  414. <dt><span class="returnLabel">Returns:</span></dt>
  415. <dd>The paint (never <code>null</code>).</dd>
  416. <dt><span class="seeLabel">See Also:</span></dt>
  417. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setPaint-java.awt.Paint-"><code>setPaint(Paint)</code></a></dd>
  418. </dl>
  419. </li>
  420. </ul>
  421. <a name="setPaint-java.awt.Paint-">
  422. <!-- -->
  423. </a>
  424. <ul class="blockList">
  425. <li class="blockList">
  426. <h4>setPaint</h4>
  427. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.183">setPaint</a>(java.awt.Paint&nbsp;paint)</pre>
  428. <div class="block">Sets the paint used to display the label and sends a
  429. <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all registered listeners.</div>
  430. <dl>
  431. <dt><span class="paramLabel">Parameters:</span></dt>
  432. <dd><code>paint</code> - the paint (<code>null</code> not permitted).</dd>
  433. <dt><span class="seeLabel">See Also:</span></dt>
  434. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getPaint--"><code>getPaint()</code></a></dd>
  435. </dl>
  436. </li>
  437. </ul>
  438. <a name="getAngle--">
  439. <!-- -->
  440. </a>
  441. <ul class="blockList">
  442. <li class="blockList">
  443. <h4>getAngle</h4>
  444. <pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.197">getAngle</a>()</pre>
  445. <div class="block">Returns the angle used to calculate the anchor point.</div>
  446. <dl>
  447. <dt><span class="returnLabel">Returns:</span></dt>
  448. <dd>The angle (in degrees).</dd>
  449. <dt><span class="seeLabel">See Also:</span></dt>
  450. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setAngle-double-"><code>setAngle(double)</code></a>,
  451. <a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getRadius--"><code>getRadius()</code></a></dd>
  452. </dl>
  453. </li>
  454. </ul>
  455. <a name="setAngle-double-">
  456. <!-- -->
  457. </a>
  458. <ul class="blockList">
  459. <li class="blockList">
  460. <h4>setAngle</h4>
  461. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.210">setAngle</a>(double&nbsp;angle)</pre>
  462. <div class="block">Sets the angle used to calculate the anchor point and sends a
  463. <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all registered listeners.</div>
  464. <dl>
  465. <dt><span class="paramLabel">Parameters:</span></dt>
  466. <dd><code>angle</code> - the angle (in degrees).</dd>
  467. <dt><span class="seeLabel">See Also:</span></dt>
  468. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getAngle--"><code>getAngle()</code></a>,
  469. <a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setRadius-double-"><code>setRadius(double)</code></a></dd>
  470. </dl>
  471. </li>
  472. </ul>
  473. <a name="getRadius--">
  474. <!-- -->
  475. </a>
  476. <ul class="blockList">
  477. <li class="blockList">
  478. <h4>getRadius</h4>
  479. <pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.224">getRadius</a>()</pre>
  480. <div class="block">Returns the radius used to calculate the anchor point. This is
  481. specified as a percentage relative to the dial's framing rectangle.</div>
  482. <dl>
  483. <dt><span class="returnLabel">Returns:</span></dt>
  484. <dd>The radius.</dd>
  485. <dt><span class="seeLabel">See Also:</span></dt>
  486. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setRadius-double-"><code>setRadius(double)</code></a>,
  487. <a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getAngle--"><code>getAngle()</code></a></dd>
  488. </dl>
  489. </li>
  490. </ul>
  491. <a name="setRadius-double-">
  492. <!-- -->
  493. </a>
  494. <ul class="blockList">
  495. <li class="blockList">
  496. <h4>setRadius</h4>
  497. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.238">setRadius</a>(double&nbsp;radius)</pre>
  498. <div class="block">Sets the radius used to calculate the anchor point and sends a
  499. <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to all registered listeners.</div>
  500. <dl>
  501. <dt><span class="paramLabel">Parameters:</span></dt>
  502. <dd><code>radius</code> - the radius (as a percentage of the dial's framing
  503. rectangle).</dd>
  504. <dt><span class="seeLabel">See Also:</span></dt>
  505. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getRadius--"><code>getRadius()</code></a>,
  506. <a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setAngle-double-"><code>setAngle(double)</code></a></dd>
  507. </dl>
  508. </li>
  509. </ul>
  510. <a name="getAnchor--">
  511. <!-- -->
  512. </a>
  513. <ul class="blockList">
  514. <li class="blockList">
  515. <h4>getAnchor</h4>
  516. <pre>public&nbsp;org.jfree.ui.TextAnchor&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.255">getAnchor</a>()</pre>
  517. <div class="block">Returns the text anchor point that will be aligned to the position
  518. specified by <a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getAngle--"><code>getAngle()</code></a> and <a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getRadius--"><code>getRadius()</code></a>.</div>
  519. <dl>
  520. <dt><span class="returnLabel">Returns:</span></dt>
  521. <dd>The anchor point.</dd>
  522. <dt><span class="seeLabel">See Also:</span></dt>
  523. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#setAnchor-org.jfree.ui.TextAnchor-"><code>setAnchor(TextAnchor)</code></a></dd>
  524. </dl>
  525. </li>
  526. </ul>
  527. <a name="setAnchor-org.jfree.ui.TextAnchor-">
  528. <!-- -->
  529. </a>
  530. <ul class="blockList">
  531. <li class="blockList">
  532. <h4>setAnchor</h4>
  533. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.267">setAnchor</a>(org.jfree.ui.TextAnchor&nbsp;anchor)</pre>
  534. <div class="block">Sets the text anchor point and sends a <a href="../../../../../org/jfree/chart/plot/dial/DialLayerChangeEvent.html" title="class in org.jfree.chart.plot.dial"><code>DialLayerChangeEvent</code></a> to
  535. all registered listeners.</div>
  536. <dl>
  537. <dt><span class="paramLabel">Parameters:</span></dt>
  538. <dd><code>anchor</code> - the anchor point (<code>null</code> not permitted).</dd>
  539. <dt><span class="seeLabel">See Also:</span></dt>
  540. <dd><a href="../../../../../org/jfree/chart/plot/dial/DialTextAnnotation.html#getAnchor--"><code>getAnchor()</code></a></dd>
  541. </dl>
  542. </li>
  543. </ul>
  544. <a name="isClippedToWindow--">
  545. <!-- -->
  546. </a>
  547. <ul class="blockList">
  548. <li class="blockList">
  549. <h4>isClippedToWindow</h4>
  550. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.280">isClippedToWindow</a>()</pre>
  551. <div class="block">Returns <code>true</code> to indicate that this layer should be
  552. clipped within the dial window.</div>
  553. <dl>
  554. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  555. <dd><code><a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html#isClippedToWindow--">isClippedToWindow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html" title="interface in org.jfree.chart.plot.dial">DialLayer</a></code></dd>
  556. <dt><span class="returnLabel">Returns:</span></dt>
  557. <dd><code>true</code>.</dd>
  558. </dl>
  559. </li>
  560. </ul>
  561. <a name="draw-java.awt.Graphics2D-org.jfree.chart.plot.dial.DialPlot-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-">
  562. <!-- -->
  563. </a>
  564. <ul class="blockList">
  565. <li class="blockList">
  566. <h4>draw</h4>
  567. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.295">draw</a>(java.awt.Graphics2D&nbsp;g2,
  568. <a href="../../../../../org/jfree/chart/plot/dial/DialPlot.html" title="class in org.jfree.chart.plot.dial">DialPlot</a>&nbsp;plot,
  569. java.awt.geom.Rectangle2D&nbsp;frame,
  570. java.awt.geom.Rectangle2D&nbsp;view)</pre>
  571. <div class="block">Draws the background to the specified graphics device. If the dial
  572. frame specifies a window, the clipping region will already have been
  573. set to this window before this method is called.</div>
  574. <dl>
  575. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  576. <dd><code><a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html#draw-java.awt.Graphics2D-org.jfree.chart.plot.dial.DialPlot-java.awt.geom.Rectangle2D-java.awt.geom.Rectangle2D-">draw</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/chart/plot/dial/DialLayer.html" title="interface in org.jfree.chart.plot.dial">DialLayer</a></code></dd>
  577. <dt><span class="paramLabel">Parameters:</span></dt>
  578. <dd><code>g2</code> - the graphics device (<code>null</code> not permitted).</dd>
  579. <dd><code>plot</code> - the plot (ignored here).</dd>
  580. <dd><code>frame</code> - the dial frame (ignored here).</dd>
  581. <dd><code>view</code> - the view rectangle (<code>null</code> not permitted).</dd>
  582. </dl>
  583. </li>
  584. </ul>
  585. <a name="equals-java.lang.Object-">
  586. <!-- -->
  587. </a>
  588. <ul class="blockList">
  589. <li class="blockList">
  590. <h4>equals</h4>
  591. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.318">equals</a>(java.lang.Object&nbsp;obj)</pre>
  592. <div class="block">Tests this instance for equality with an arbitrary object.</div>
  593. <dl>
  594. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  595. <dd><code><a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html" title="class in org.jfree.chart.plot.dial">AbstractDialLayer</a></code></dd>
  596. <dt><span class="paramLabel">Parameters:</span></dt>
  597. <dd><code>obj</code> - the object (<code>null</code> permitted).</dd>
  598. <dt><span class="returnLabel">Returns:</span></dt>
  599. <dd>A boolean.</dd>
  600. </dl>
  601. </li>
  602. </ul>
  603. <a name="hashCode--">
  604. <!-- -->
  605. </a>
  606. <ul class="blockList">
  607. <li class="blockList">
  608. <h4>hashCode</h4>
  609. <pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.353">hashCode</a>()</pre>
  610. <div class="block">Returns a hash code for this instance.</div>
  611. <dl>
  612. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  613. <dd><code><a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#hashCode--">hashCode</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html" title="class in org.jfree.chart.plot.dial">AbstractDialLayer</a></code></dd>
  614. <dt><span class="returnLabel">Returns:</span></dt>
  615. <dd>The hash code.</dd>
  616. </dl>
  617. </li>
  618. </ul>
  619. <a name="clone--">
  620. <!-- -->
  621. </a>
  622. <ul class="blockListLast">
  623. <li class="blockList">
  624. <h4>clone</h4>
  625. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../../../src-html/org/jfree/chart/plot/dial/DialTextAnnotation.html#line.375">clone</a>()
  626. throws java.lang.CloneNotSupportedException</pre>
  627. <div class="block">Returns a clone of this instance.</div>
  628. <dl>
  629. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  630. <dd><code>clone</code>&nbsp;in interface&nbsp;<code>org.jfree.util.PublicCloneable</code></dd>
  631. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  632. <dd><code><a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/jfree/chart/plot/dial/AbstractDialLayer.html" title="class in org.jfree.chart.plot.dial">AbstractDialLayer</a></code></dd>
  633. <dt><span class="returnLabel">Returns:</span></dt>
  634. <dd>The clone.</dd>
  635. <dt><span class="throwsLabel">Throws:</span></dt>
  636. <dd><code>java.lang.CloneNotSupportedException</code> - if some attribute of this instance
  637. cannot be cloned.</dd>
  638. </dl>
  639. </li>
  640. </ul>
  641. </li>
  642. </ul>
  643. </li>
  644. </ul>
  645. </div>
  646. </div>
  647. <!-- ========= END OF CLASS DATA ========= -->
  648. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  649. <div class="bottomNav"><a name="navbar.bottom">
  650. <!-- -->
  651. </a>
  652. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  653. <a name="navbar.bottom.firstrow">
  654. <!-- -->
  655. </a>
  656. <ul class="navList" title="Navigation">
  657. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  658. <li><a href="package-summary.html">Package</a></li>
  659. <li class="navBarCell1Rev">Class</li>
  660. <li><a href="class-use/DialTextAnnotation.html">Use</a></li>
  661. <li><a href="package-tree.html">Tree</a></li>
  662. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  663. <li><a href="../../../../../index-files/index-1.html">Index</a></li>
  664. <li><a href="../../../../../help-doc.html">Help</a></li>
  665. </ul>
  666. </div>
  667. <div class="subNav">
  668. <ul class="navList">
  669. <li><a href="../../../../../org/jfree/chart/plot/dial/DialScale.html" title="interface in org.jfree.chart.plot.dial"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  670. <li><a href="../../../../../org/jfree/chart/plot/dial/DialValueIndicator.html" title="class in org.jfree.chart.plot.dial"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  671. </ul>
  672. <ul class="navList">
  673. <li><a href="../../../../../index.html?org/jfree/chart/plot/dial/DialTextAnnotation.html" target="_top">Frames</a></li>
  674. <li><a href="DialTextAnnotation.html" target="_top">No&nbsp;Frames</a></li>
  675. </ul>
  676. <ul class="navList" id="allclasses_navbar_bottom">
  677. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  678. </ul>
  679. <div>
  680. <script type="text/javascript"><!--
  681. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  682. if(window==top) {
  683. allClassesLink.style.display = "block";
  684. }
  685. else {
  686. allClassesLink.style.display = "none";
  687. }
  688. //-->
  689. </script>
  690. </div>
  691. <div>
  692. <ul class="subNavList">
  693. <li>Summary:&nbsp;</li>
  694. <li>Nested&nbsp;|&nbsp;</li>
  695. <li>Field&nbsp;|&nbsp;</li>
  696. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  697. <li><a href="#method.summary">Method</a></li>
  698. </ul>
  699. <ul class="subNavList">
  700. <li>Detail:&nbsp;</li>
  701. <li>Field&nbsp;|&nbsp;</li>
  702. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  703. <li><a href="#method.detail">Method</a></li>
  704. </ul>
  705. </div>
  706. <a name="skip.navbar.bottom">
  707. <!-- -->
  708. </a></div>
  709. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  710. </body>
  711. </html>