PaintScaleLegend.html 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960
  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:41 CEST 2014 -->
  6. <title>PaintScaleLegend (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="PaintScaleLegend (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,"i17":10,"i18":10,"i19":10,"i20":10,"i21":10,"i22":10,"i23":10,"i24":10,"i25":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/PaintScaleLegend.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/title/LegendTitle.html" title="class in org.jfree.chart.title"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../org/jfree/chart/title/ShortTextTitle.html" title="class in org.jfree.chart.title"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../index.html?org/jfree/chart/title/PaintScaleLegend.html" target="_top">Frames</a></li>
  57. <li><a href="PaintScaleLegend.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><a href="#fields.inherited.from.class.org.jfree.chart.title.Title">Field</a>&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.title</div>
  96. <h2 title="Class PaintScaleLegend" class="title">Class PaintScaleLegend</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/block/AbstractBlock.html" title="class in org.jfree.chart.block">org.jfree.chart.block.AbstractBlock</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li><a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">org.jfree.chart.title.Title</a></li>
  107. <li>
  108. <ul class="inheritance">
  109. <li>org.jfree.chart.title.PaintScaleLegend</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, java.util.EventListener, <a href="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</a>, <a href="../../../../org/jfree/chart/event/AxisChangeListener.html" title="interface in org.jfree.chart.event">AxisChangeListener</a>, org.jfree.ui.Drawable, org.jfree.util.PublicCloneable</dd>
  123. </dl>
  124. <hr>
  125. <br>
  126. <pre>public class <a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.82">PaintScaleLegend</a>
  127. extends <a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a>
  128. implements <a href="../../../../org/jfree/chart/event/AxisChangeListener.html" title="interface in org.jfree.chart.event">AxisChangeListener</a>, org.jfree.util.PublicCloneable</pre>
  129. <div class="block">A legend that shows a range of values and their associated colors, driven
  130. by an underlying <a href="../../../../org/jfree/chart/renderer/PaintScale.html" title="interface in org.jfree.chart.renderer"><code>PaintScale</code></a> implementation.</div>
  131. <dl>
  132. <dt><span class="simpleTagLabel">Since:</span></dt>
  133. <dd>1.0.4</dd>
  134. <dt><span class="seeLabel">See Also:</span></dt>
  135. <dd><a href="../../../../serialized-form.html#org.jfree.chart.title.PaintScaleLegend">Serialized Form</a></dd>
  136. </dl>
  137. </li>
  138. </ul>
  139. </div>
  140. <div class="summary">
  141. <ul class="blockList">
  142. <li class="blockList">
  143. <!-- =========== FIELD SUMMARY =========== -->
  144. <ul class="blockList">
  145. <li class="blockList"><a name="field.summary">
  146. <!-- -->
  147. </a>
  148. <h3>Field Summary</h3>
  149. <ul class="blockList">
  150. <li class="blockList"><a name="fields.inherited.from.class.org.jfree.chart.title.Title">
  151. <!-- -->
  152. </a>
  153. <h3>Fields inherited from class&nbsp;org.jfree.chart.title.<a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a></h3>
  154. <code><a href="../../../../org/jfree/chart/title/Title.html#DEFAULT_HORIZONTAL_ALIGNMENT">DEFAULT_HORIZONTAL_ALIGNMENT</a>, <a href="../../../../org/jfree/chart/title/Title.html#DEFAULT_PADDING">DEFAULT_PADDING</a>, <a href="../../../../org/jfree/chart/title/Title.html#DEFAULT_POSITION">DEFAULT_POSITION</a>, <a href="../../../../org/jfree/chart/title/Title.html#DEFAULT_VERTICAL_ALIGNMENT">DEFAULT_VERTICAL_ALIGNMENT</a>, <a href="../../../../org/jfree/chart/title/Title.html#visible">visible</a></code></li>
  155. </ul>
  156. </li>
  157. </ul>
  158. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  159. <ul class="blockList">
  160. <li class="blockList"><a name="constructor.summary">
  161. <!-- -->
  162. </a>
  163. <h3>Constructor Summary</h3>
  164. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  165. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  166. <tr>
  167. <th class="colOne" scope="col">Constructor and Description</th>
  168. </tr>
  169. <tr class="altColor">
  170. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#PaintScaleLegend-org.jfree.chart.renderer.PaintScale-org.jfree.chart.axis.ValueAxis-">PaintScaleLegend</a></span>(<a href="../../../../org/jfree/chart/renderer/PaintScale.html" title="interface in org.jfree.chart.renderer">PaintScale</a>&nbsp;scale,
  171. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;axis)</code>
  172. <div class="block">Creates a new instance.</div>
  173. </td>
  174. </tr>
  175. </table>
  176. </li>
  177. </ul>
  178. <!-- ========== METHOD SUMMARY =========== -->
  179. <ul class="blockList">
  180. <li class="blockList"><a name="method.summary">
  181. <!-- -->
  182. </a>
  183. <h3>Method Summary</h3>
  184. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  185. <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>
  186. <tr>
  187. <th class="colFirst" scope="col">Modifier and Type</th>
  188. <th class="colLast" scope="col">Method and Description</th>
  189. </tr>
  190. <tr id="i0" class="altColor">
  191. <td class="colFirst"><code>org.jfree.ui.Size2D</code></td>
  192. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#arrange-java.awt.Graphics2D-org.jfree.chart.block.RectangleConstraint-">arrange</a></span>(java.awt.Graphics2D&nbsp;g2,
  193. <a href="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</a>&nbsp;constraint)</code>
  194. <div class="block">Arranges the contents of the block, within the given constraints, and
  195. returns the block size.</div>
  196. </td>
  197. </tr>
  198. <tr id="i1" class="rowColor">
  199. <td class="colFirst"><code>protected org.jfree.ui.Size2D</code></td>
  200. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#arrangeRR-java.awt.Graphics2D-org.jfree.data.Range-org.jfree.data.Range-">arrangeRR</a></span>(java.awt.Graphics2D&nbsp;g2,
  201. <a href="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</a>&nbsp;widthRange,
  202. <a href="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</a>&nbsp;heightRange)</code>
  203. <div class="block">Returns the content size for the title.</div>
  204. </td>
  205. </tr>
  206. <tr id="i2" class="altColor">
  207. <td class="colFirst"><code>void</code></td>
  208. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#axisChanged-org.jfree.chart.event.AxisChangeEvent-">axisChanged</a></span>(<a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event">AxisChangeEvent</a>&nbsp;event)</code>
  209. <div class="block">Receives notification of an axis change event and responds by firing
  210. a title change event.</div>
  211. </td>
  212. </tr>
  213. <tr id="i3" class="rowColor">
  214. <td class="colFirst"><code>void</code></td>
  215. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">draw</a></span>(java.awt.Graphics2D&nbsp;g2,
  216. java.awt.geom.Rectangle2D&nbsp;area)</code>
  217. <div class="block">Draws the legend within the specified area.</div>
  218. </td>
  219. </tr>
  220. <tr id="i4" class="altColor">
  221. <td class="colFirst"><code>java.lang.Object</code></td>
  222. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-java.lang.Object-">draw</a></span>(java.awt.Graphics2D&nbsp;g2,
  223. java.awt.geom.Rectangle2D&nbsp;area,
  224. java.lang.Object&nbsp;params)</code>
  225. <div class="block">Draws the legend within the specified area.</div>
  226. </td>
  227. </tr>
  228. <tr id="i5" class="rowColor">
  229. <td class="colFirst"><code>boolean</code></td>
  230. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>
  231. <div class="block">Tests this legend for equality with an arbitrary object.</div>
  232. </td>
  233. </tr>
  234. <tr id="i6" class="altColor">
  235. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a></code></td>
  236. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getAxis--">getAxis</a></span>()</code>
  237. <div class="block">Returns the axis for the paint scale.</div>
  238. </td>
  239. </tr>
  240. <tr id="i7" class="rowColor">
  241. <td class="colFirst"><code><a href="../../../../org/jfree/chart/axis/AxisLocation.html" title="class in org.jfree.chart.axis">AxisLocation</a></code></td>
  242. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getAxisLocation--">getAxisLocation</a></span>()</code>
  243. <div class="block">Returns the axis location.</div>
  244. </td>
  245. </tr>
  246. <tr id="i8" class="altColor">
  247. <td class="colFirst"><code>double</code></td>
  248. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getAxisOffset--">getAxisOffset</a></span>()</code>
  249. <div class="block">Returns the offset between the axis and the paint strip.</div>
  250. </td>
  251. </tr>
  252. <tr id="i9" class="rowColor">
  253. <td class="colFirst"><code>java.awt.Paint</code></td>
  254. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getBackgroundPaint--">getBackgroundPaint</a></span>()</code>
  255. <div class="block">Returns the background paint.</div>
  256. </td>
  257. </tr>
  258. <tr id="i10" class="altColor">
  259. <td class="colFirst"><code><a href="../../../../org/jfree/chart/renderer/PaintScale.html" title="interface in org.jfree.chart.renderer">PaintScale</a></code></td>
  260. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getScale--">getScale</a></span>()</code>
  261. <div class="block">Returns the scale used to convert values to colors.</div>
  262. </td>
  263. </tr>
  264. <tr id="i11" class="rowColor">
  265. <td class="colFirst"><code>java.awt.Paint</code></td>
  266. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getStripOutlinePaint--">getStripOutlinePaint</a></span>()</code>
  267. <div class="block">Returns the paint used to draw the outline of the paint strip.</div>
  268. </td>
  269. </tr>
  270. <tr id="i12" class="altColor">
  271. <td class="colFirst"><code>java.awt.Stroke</code></td>
  272. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getStripOutlineStroke--">getStripOutlineStroke</a></span>()</code>
  273. <div class="block">Returns the stroke used to draw the outline around the paint strip.</div>
  274. </td>
  275. </tr>
  276. <tr id="i13" class="rowColor">
  277. <td class="colFirst"><code>double</code></td>
  278. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getStripWidth--">getStripWidth</a></span>()</code>
  279. <div class="block">Returns the width of the paint strip, in Java2D units.</div>
  280. </td>
  281. </tr>
  282. <tr id="i14" class="altColor">
  283. <td class="colFirst"><code>int</code></td>
  284. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getSubdivisionCount--">getSubdivisionCount</a></span>()</code>
  285. <div class="block">Returns the number of subdivisions used to draw the scale.</div>
  286. </td>
  287. </tr>
  288. <tr id="i15" class="rowColor">
  289. <td class="colFirst"><code>boolean</code></td>
  290. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#isStripOutlineVisible--">isStripOutlineVisible</a></span>()</code>
  291. <div class="block">Returns the flag that controls whether or not an outline is drawn
  292. around the paint strip.</div>
  293. </td>
  294. </tr>
  295. <tr id="i16" class="altColor">
  296. <td class="colFirst"><code>void</code></td>
  297. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setAxis-org.jfree.chart.axis.ValueAxis-">setAxis</a></span>(<a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;axis)</code>
  298. <div class="block">Sets the axis for the paint scale and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a>
  299. to all registered listeners.</div>
  300. </td>
  301. </tr>
  302. <tr id="i17" class="rowColor">
  303. <td class="colFirst"><code>void</code></td>
  304. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setAxisLocation-org.jfree.chart.axis.AxisLocation-">setAxisLocation</a></span>(<a href="../../../../org/jfree/chart/axis/AxisLocation.html" title="class in org.jfree.chart.axis">AxisLocation</a>&nbsp;location)</code>
  305. <div class="block">Sets the axis location and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all
  306. registered listeners.</div>
  307. </td>
  308. </tr>
  309. <tr id="i18" class="altColor">
  310. <td class="colFirst"><code>void</code></td>
  311. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setAxisOffset-double-">setAxisOffset</a></span>(double&nbsp;offset)</code>
  312. <div class="block">Sets the offset between the axis and the paint strip and sends a
  313. <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered listeners.</div>
  314. </td>
  315. </tr>
  316. <tr id="i19" class="rowColor">
  317. <td class="colFirst"><code>void</code></td>
  318. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setBackgroundPaint-java.awt.Paint-">setBackgroundPaint</a></span>(java.awt.Paint&nbsp;paint)</code>
  319. <div class="block">Sets the background paint and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all
  320. registered listeners.</div>
  321. </td>
  322. </tr>
  323. <tr id="i20" class="altColor">
  324. <td class="colFirst"><code>void</code></td>
  325. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setScale-org.jfree.chart.renderer.PaintScale-">setScale</a></span>(<a href="../../../../org/jfree/chart/renderer/PaintScale.html" title="interface in org.jfree.chart.renderer">PaintScale</a>&nbsp;scale)</code>
  326. <div class="block">Sets the scale and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered
  327. listeners.</div>
  328. </td>
  329. </tr>
  330. <tr id="i21" class="rowColor">
  331. <td class="colFirst"><code>void</code></td>
  332. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setStripOutlinePaint-java.awt.Paint-">setStripOutlinePaint</a></span>(java.awt.Paint&nbsp;paint)</code>
  333. <div class="block">Sets the paint used to draw the outline of the paint strip, and sends
  334. a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered listeners.</div>
  335. </td>
  336. </tr>
  337. <tr id="i22" class="altColor">
  338. <td class="colFirst"><code>void</code></td>
  339. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setStripOutlineStroke-java.awt.Stroke-">setStripOutlineStroke</a></span>(java.awt.Stroke&nbsp;stroke)</code>
  340. <div class="block">Sets the stroke used to draw the outline around the paint strip and
  341. sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered listeners.</div>
  342. </td>
  343. </tr>
  344. <tr id="i23" class="rowColor">
  345. <td class="colFirst"><code>void</code></td>
  346. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setStripOutlineVisible-boolean-">setStripOutlineVisible</a></span>(boolean&nbsp;visible)</code>
  347. <div class="block">Sets the flag that controls whether or not an outline is drawn around
  348. the paint strip, and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered
  349. listeners.</div>
  350. </td>
  351. </tr>
  352. <tr id="i24" class="altColor">
  353. <td class="colFirst"><code>void</code></td>
  354. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setStripWidth-double-">setStripWidth</a></span>(double&nbsp;width)</code>
  355. <div class="block">Sets the width of the paint strip and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a>
  356. to all registered listeners.</div>
  357. </td>
  358. </tr>
  359. <tr id="i25" class="rowColor">
  360. <td class="colFirst"><code>void</code></td>
  361. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setSubdivisionCount-int-">setSubdivisionCount</a></span>(int&nbsp;count)</code>
  362. <div class="block">Sets the subdivision count and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to
  363. all registered listeners.</div>
  364. </td>
  365. </tr>
  366. </table>
  367. <ul class="blockList">
  368. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.title.Title">
  369. <!-- -->
  370. </a>
  371. <h3>Methods inherited from class&nbsp;org.jfree.chart.title.<a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a></h3>
  372. <code><a href="../../../../org/jfree/chart/title/Title.html#addChangeListener-org.jfree.chart.event.TitleChangeListener-">addChangeListener</a>, <a href="../../../../org/jfree/chart/title/Title.html#clone--">clone</a>, <a href="../../../../org/jfree/chart/title/Title.html#getHorizontalAlignment--">getHorizontalAlignment</a>, <a href="../../../../org/jfree/chart/title/Title.html#getNotify--">getNotify</a>, <a href="../../../../org/jfree/chart/title/Title.html#getPosition--">getPosition</a>, <a href="../../../../org/jfree/chart/title/Title.html#getVerticalAlignment--">getVerticalAlignment</a>, <a href="../../../../org/jfree/chart/title/Title.html#hashCode--">hashCode</a>, <a href="../../../../org/jfree/chart/title/Title.html#isVisible--">isVisible</a>, <a href="../../../../org/jfree/chart/title/Title.html#notifyListeners-org.jfree.chart.event.TitleChangeEvent-">notifyListeners</a>, <a href="../../../../org/jfree/chart/title/Title.html#removeChangeListener-org.jfree.chart.event.TitleChangeListener-">removeChangeListener</a>, <a href="../../../../org/jfree/chart/title/Title.html#setHorizontalAlignment-org.jfree.ui.HorizontalAlignment-">setHorizontalAlignment</a>, <a href="../../../../org/jfree/chart/title/Title.html#setNotify-boolean-">setNotify</a>, <a href="../../../../org/jfree/chart/title/Title.html#setPosition-org.jfree.ui.RectangleEdge-">setPosition</a>, <a href="../../../../org/jfree/chart/title/Title.html#setVerticalAlignment-org.jfree.ui.VerticalAlignment-">setVerticalAlignment</a>, <a href="../../../../org/jfree/chart/title/Title.html#setVisible-boolean-">setVisible</a></code></li>
  373. </ul>
  374. <ul class="blockList">
  375. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.block.AbstractBlock">
  376. <!-- -->
  377. </a>
  378. <h3>Methods inherited from class&nbsp;org.jfree.chart.block.<a href="../../../../org/jfree/chart/block/AbstractBlock.html" title="class in org.jfree.chart.block">AbstractBlock</a></h3>
  379. <code><a href="../../../../org/jfree/chart/block/AbstractBlock.html#arrange-java.awt.Graphics2D-">arrange</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#calculateTotalHeight-double-">calculateTotalHeight</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#calculateTotalWidth-double-">calculateTotalWidth</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#drawBorder-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">drawBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getBorder--">getBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getBounds--">getBounds</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getContentXOffset--">getContentXOffset</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getContentYOffset--">getContentYOffset</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getFrame--">getFrame</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getHeight--">getHeight</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getID--">getID</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getMargin--">getMargin</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getPadding--">getPadding</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getWidth--">getWidth</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBorder-org.jfree.chart.block.BlockBorder-">setBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBorder-double-double-double-double-">setBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBounds-java.awt.geom.Rectangle2D-">setBounds</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setFrame-org.jfree.chart.block.BlockFrame-">setFrame</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setHeight-double-">setHeight</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setID-java.lang.String-">setID</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setMargin-double-double-double-double-">setMargin</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setMargin-org.jfree.ui.RectangleInsets-">setMargin</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setPadding-double-double-double-double-">setPadding</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setPadding-org.jfree.ui.RectangleInsets-">setPadding</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setWidth-double-">setWidth</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#toContentConstraint-org.jfree.chart.block.RectangleConstraint-">toContentConstraint</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimBorder-java.awt.geom.Rectangle2D-">trimBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimMargin-java.awt.geom.Rectangle2D-">trimMargin</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimPadding-java.awt.geom.Rectangle2D-">trimPadding</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimToContentHeight-double-">trimToContentHeight</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimToContentWidth-double-">trimToContentWidth</a></code></li>
  380. </ul>
  381. <ul class="blockList">
  382. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  383. <!-- -->
  384. </a>
  385. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  386. <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
  387. </ul>
  388. <ul class="blockList">
  389. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.util.PublicCloneable">
  390. <!-- -->
  391. </a>
  392. <h3>Methods inherited from interface&nbsp;org.jfree.util.PublicCloneable</h3>
  393. <code>clone</code></li>
  394. </ul>
  395. <ul class="blockList">
  396. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.block.Block">
  397. <!-- -->
  398. </a>
  399. <h3>Methods inherited from interface&nbsp;org.jfree.chart.block.<a href="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</a></h3>
  400. <code><a href="../../../../org/jfree/chart/block/Block.html#arrange-java.awt.Graphics2D-">arrange</a>, <a href="../../../../org/jfree/chart/block/Block.html#getBounds--">getBounds</a>, <a href="../../../../org/jfree/chart/block/Block.html#getID--">getID</a>, <a href="../../../../org/jfree/chart/block/Block.html#setBounds-java.awt.geom.Rectangle2D-">setBounds</a>, <a href="../../../../org/jfree/chart/block/Block.html#setID-java.lang.String-">setID</a></code></li>
  401. </ul>
  402. </li>
  403. </ul>
  404. </li>
  405. </ul>
  406. </div>
  407. <div class="details">
  408. <ul class="blockList">
  409. <li class="blockList">
  410. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  411. <ul class="blockList">
  412. <li class="blockList"><a name="constructor.detail">
  413. <!-- -->
  414. </a>
  415. <h3>Constructor Detail</h3>
  416. <a name="PaintScaleLegend-org.jfree.chart.renderer.PaintScale-org.jfree.chart.axis.ValueAxis-">
  417. <!-- -->
  418. </a>
  419. <ul class="blockListLast">
  420. <li class="blockList">
  421. <h4>PaintScaleLegend</h4>
  422. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.134">PaintScaleLegend</a>(<a href="../../../../org/jfree/chart/renderer/PaintScale.html" title="interface in org.jfree.chart.renderer">PaintScale</a>&nbsp;scale,
  423. <a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;axis)</pre>
  424. <div class="block">Creates a new instance.</div>
  425. <dl>
  426. <dt><span class="paramLabel">Parameters:</span></dt>
  427. <dd><code>scale</code> - the scale (<code>null</code> not permitted).</dd>
  428. <dd><code>axis</code> - the axis (<code>null</code> not permitted).</dd>
  429. </dl>
  430. </li>
  431. </ul>
  432. </li>
  433. </ul>
  434. <!-- ============ METHOD DETAIL ========== -->
  435. <ul class="blockList">
  436. <li class="blockList"><a name="method.detail">
  437. <!-- -->
  438. </a>
  439. <h3>Method Detail</h3>
  440. <a name="getScale--">
  441. <!-- -->
  442. </a>
  443. <ul class="blockList">
  444. <li class="blockList">
  445. <h4>getScale</h4>
  446. <pre>public&nbsp;<a href="../../../../org/jfree/chart/renderer/PaintScale.html" title="interface in org.jfree.chart.renderer">PaintScale</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.157">getScale</a>()</pre>
  447. <div class="block">Returns the scale used to convert values to colors.</div>
  448. <dl>
  449. <dt><span class="returnLabel">Returns:</span></dt>
  450. <dd>The scale (never <code>null</code>).</dd>
  451. <dt><span class="seeLabel">See Also:</span></dt>
  452. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setScale-org.jfree.chart.renderer.PaintScale-"><code>setScale(PaintScale)</code></a></dd>
  453. </dl>
  454. </li>
  455. </ul>
  456. <a name="setScale-org.jfree.chart.renderer.PaintScale-">
  457. <!-- -->
  458. </a>
  459. <ul class="blockList">
  460. <li class="blockList">
  461. <h4>setScale</h4>
  462. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.169">setScale</a>(<a href="../../../../org/jfree/chart/renderer/PaintScale.html" title="interface in org.jfree.chart.renderer">PaintScale</a>&nbsp;scale)</pre>
  463. <div class="block">Sets the scale and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered
  464. listeners.</div>
  465. <dl>
  466. <dt><span class="paramLabel">Parameters:</span></dt>
  467. <dd><code>scale</code> - the scale (<code>null</code> not permitted).</dd>
  468. <dt><span class="seeLabel">See Also:</span></dt>
  469. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getScale--"><code>getScale()</code></a></dd>
  470. </dl>
  471. </li>
  472. </ul>
  473. <a name="getAxis--">
  474. <!-- -->
  475. </a>
  476. <ul class="blockList">
  477. <li class="blockList">
  478. <h4>getAxis</h4>
  479. <pre>public&nbsp;<a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.182">getAxis</a>()</pre>
  480. <div class="block">Returns the axis for the paint scale.</div>
  481. <dl>
  482. <dt><span class="returnLabel">Returns:</span></dt>
  483. <dd>The axis (never <code>null</code>).</dd>
  484. <dt><span class="seeLabel">See Also:</span></dt>
  485. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setAxis-org.jfree.chart.axis.ValueAxis-"><code>setAxis(ValueAxis)</code></a></dd>
  486. </dl>
  487. </li>
  488. </ul>
  489. <a name="setAxis-org.jfree.chart.axis.ValueAxis-">
  490. <!-- -->
  491. </a>
  492. <ul class="blockList">
  493. <li class="blockList">
  494. <h4>setAxis</h4>
  495. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.194">setAxis</a>(<a href="../../../../org/jfree/chart/axis/ValueAxis.html" title="class in org.jfree.chart.axis">ValueAxis</a>&nbsp;axis)</pre>
  496. <div class="block">Sets the axis for the paint scale and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a>
  497. to all registered listeners.</div>
  498. <dl>
  499. <dt><span class="paramLabel">Parameters:</span></dt>
  500. <dd><code>axis</code> - the axis (<code>null</code> not permitted).</dd>
  501. <dt><span class="seeLabel">See Also:</span></dt>
  502. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getAxis--"><code>getAxis()</code></a></dd>
  503. </dl>
  504. </li>
  505. </ul>
  506. <a name="getAxisLocation--">
  507. <!-- -->
  508. </a>
  509. <ul class="blockList">
  510. <li class="blockList">
  511. <h4>getAxisLocation</h4>
  512. <pre>public&nbsp;<a href="../../../../org/jfree/chart/axis/AxisLocation.html" title="class in org.jfree.chart.axis">AxisLocation</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.209">getAxisLocation</a>()</pre>
  513. <div class="block">Returns the axis location.</div>
  514. <dl>
  515. <dt><span class="returnLabel">Returns:</span></dt>
  516. <dd>The axis location (never <code>null</code>).</dd>
  517. <dt><span class="seeLabel">See Also:</span></dt>
  518. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setAxisLocation-org.jfree.chart.axis.AxisLocation-"><code>setAxisLocation(AxisLocation)</code></a></dd>
  519. </dl>
  520. </li>
  521. </ul>
  522. <a name="setAxisLocation-org.jfree.chart.axis.AxisLocation-">
  523. <!-- -->
  524. </a>
  525. <ul class="blockList">
  526. <li class="blockList">
  527. <h4>setAxisLocation</h4>
  528. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.221">setAxisLocation</a>(<a href="../../../../org/jfree/chart/axis/AxisLocation.html" title="class in org.jfree.chart.axis">AxisLocation</a>&nbsp;location)</pre>
  529. <div class="block">Sets the axis location and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all
  530. registered listeners.</div>
  531. <dl>
  532. <dt><span class="paramLabel">Parameters:</span></dt>
  533. <dd><code>location</code> - the location (<code>null</code> not permitted).</dd>
  534. <dt><span class="seeLabel">See Also:</span></dt>
  535. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getAxisLocation--"><code>getAxisLocation()</code></a></dd>
  536. </dl>
  537. </li>
  538. </ul>
  539. <a name="getAxisOffset--">
  540. <!-- -->
  541. </a>
  542. <ul class="blockList">
  543. <li class="blockList">
  544. <h4>getAxisOffset</h4>
  545. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.234">getAxisOffset</a>()</pre>
  546. <div class="block">Returns the offset between the axis and the paint strip.</div>
  547. <dl>
  548. <dt><span class="returnLabel">Returns:</span></dt>
  549. <dd>The offset between the axis and the paint strip.</dd>
  550. <dt><span class="seeLabel">See Also:</span></dt>
  551. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setAxisOffset-double-"><code>setAxisOffset(double)</code></a></dd>
  552. </dl>
  553. </li>
  554. </ul>
  555. <a name="setAxisOffset-double-">
  556. <!-- -->
  557. </a>
  558. <ul class="blockList">
  559. <li class="blockList">
  560. <h4>setAxisOffset</h4>
  561. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.244">setAxisOffset</a>(double&nbsp;offset)</pre>
  562. <div class="block">Sets the offset between the axis and the paint strip and sends a
  563. <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered listeners.</div>
  564. <dl>
  565. <dt><span class="paramLabel">Parameters:</span></dt>
  566. <dd><code>offset</code> - the offset.</dd>
  567. </dl>
  568. </li>
  569. </ul>
  570. <a name="getStripWidth--">
  571. <!-- -->
  572. </a>
  573. <ul class="blockList">
  574. <li class="blockList">
  575. <h4>getStripWidth</h4>
  576. <pre>public&nbsp;double&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.256">getStripWidth</a>()</pre>
  577. <div class="block">Returns the width of the paint strip, in Java2D units.</div>
  578. <dl>
  579. <dt><span class="returnLabel">Returns:</span></dt>
  580. <dd>The width of the paint strip.</dd>
  581. <dt><span class="seeLabel">See Also:</span></dt>
  582. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setStripWidth-double-"><code>setStripWidth(double)</code></a></dd>
  583. </dl>
  584. </li>
  585. </ul>
  586. <a name="setStripWidth-double-">
  587. <!-- -->
  588. </a>
  589. <ul class="blockList">
  590. <li class="blockList">
  591. <h4>setStripWidth</h4>
  592. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.268">setStripWidth</a>(double&nbsp;width)</pre>
  593. <div class="block">Sets the width of the paint strip and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a>
  594. to all registered listeners.</div>
  595. <dl>
  596. <dt><span class="paramLabel">Parameters:</span></dt>
  597. <dd><code>width</code> - the width.</dd>
  598. <dt><span class="seeLabel">See Also:</span></dt>
  599. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getStripWidth--"><code>getStripWidth()</code></a></dd>
  600. </dl>
  601. </li>
  602. </ul>
  603. <a name="isStripOutlineVisible--">
  604. <!-- -->
  605. </a>
  606. <ul class="blockList">
  607. <li class="blockList">
  608. <h4>isStripOutlineVisible</h4>
  609. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.281">isStripOutlineVisible</a>()</pre>
  610. <div class="block">Returns the flag that controls whether or not an outline is drawn
  611. around the paint strip.</div>
  612. <dl>
  613. <dt><span class="returnLabel">Returns:</span></dt>
  614. <dd>A boolean.</dd>
  615. <dt><span class="seeLabel">See Also:</span></dt>
  616. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setStripOutlineVisible-boolean-"><code>setStripOutlineVisible(boolean)</code></a></dd>
  617. </dl>
  618. </li>
  619. </ul>
  620. <a name="setStripOutlineVisible-boolean-">
  621. <!-- -->
  622. </a>
  623. <ul class="blockList">
  624. <li class="blockList">
  625. <h4>setStripOutlineVisible</h4>
  626. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.294">setStripOutlineVisible</a>(boolean&nbsp;visible)</pre>
  627. <div class="block">Sets the flag that controls whether or not an outline is drawn around
  628. the paint strip, and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered
  629. listeners.</div>
  630. <dl>
  631. <dt><span class="paramLabel">Parameters:</span></dt>
  632. <dd><code>visible</code> - the flag.</dd>
  633. <dt><span class="seeLabel">See Also:</span></dt>
  634. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#isStripOutlineVisible--"><code>isStripOutlineVisible()</code></a></dd>
  635. </dl>
  636. </li>
  637. </ul>
  638. <a name="getStripOutlinePaint--">
  639. <!-- -->
  640. </a>
  641. <ul class="blockList">
  642. <li class="blockList">
  643. <h4>getStripOutlinePaint</h4>
  644. <pre>public&nbsp;java.awt.Paint&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.306">getStripOutlinePaint</a>()</pre>
  645. <div class="block">Returns the paint used to draw the outline of the paint strip.</div>
  646. <dl>
  647. <dt><span class="returnLabel">Returns:</span></dt>
  648. <dd>The paint (never <code>null</code>).</dd>
  649. <dt><span class="seeLabel">See Also:</span></dt>
  650. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setStripOutlinePaint-java.awt.Paint-"><code>setStripOutlinePaint(Paint)</code></a></dd>
  651. </dl>
  652. </li>
  653. </ul>
  654. <a name="setStripOutlinePaint-java.awt.Paint-">
  655. <!-- -->
  656. </a>
  657. <ul class="blockList">
  658. <li class="blockList">
  659. <h4>setStripOutlinePaint</h4>
  660. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.318">setStripOutlinePaint</a>(java.awt.Paint&nbsp;paint)</pre>
  661. <div class="block">Sets the paint used to draw the outline of the paint strip, and sends
  662. a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered listeners.</div>
  663. <dl>
  664. <dt><span class="paramLabel">Parameters:</span></dt>
  665. <dd><code>paint</code> - the paint (<code>null</code> not permitted).</dd>
  666. <dt><span class="seeLabel">See Also:</span></dt>
  667. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getStripOutlinePaint--"><code>getStripOutlinePaint()</code></a></dd>
  668. </dl>
  669. </li>
  670. </ul>
  671. <a name="getStripOutlineStroke--">
  672. <!-- -->
  673. </a>
  674. <ul class="blockList">
  675. <li class="blockList">
  676. <h4>getStripOutlineStroke</h4>
  677. <pre>public&nbsp;java.awt.Stroke&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.331">getStripOutlineStroke</a>()</pre>
  678. <div class="block">Returns the stroke used to draw the outline around the paint strip.</div>
  679. <dl>
  680. <dt><span class="returnLabel">Returns:</span></dt>
  681. <dd>The stroke (never <code>null</code>).</dd>
  682. <dt><span class="seeLabel">See Also:</span></dt>
  683. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#setStripOutlineStroke-java.awt.Stroke-"><code>setStripOutlineStroke(Stroke)</code></a></dd>
  684. </dl>
  685. </li>
  686. </ul>
  687. <a name="setStripOutlineStroke-java.awt.Stroke-">
  688. <!-- -->
  689. </a>
  690. <ul class="blockList">
  691. <li class="blockList">
  692. <h4>setStripOutlineStroke</h4>
  693. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.343">setStripOutlineStroke</a>(java.awt.Stroke&nbsp;stroke)</pre>
  694. <div class="block">Sets the stroke used to draw the outline around the paint strip and
  695. sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all registered listeners.</div>
  696. <dl>
  697. <dt><span class="paramLabel">Parameters:</span></dt>
  698. <dd><code>stroke</code> - the stroke (<code>null</code> not permitted).</dd>
  699. <dt><span class="seeLabel">See Also:</span></dt>
  700. <dd><a href="../../../../org/jfree/chart/title/PaintScaleLegend.html#getStripOutlineStroke--"><code>getStripOutlineStroke()</code></a></dd>
  701. </dl>
  702. </li>
  703. </ul>
  704. <a name="getBackgroundPaint--">
  705. <!-- -->
  706. </a>
  707. <ul class="blockList">
  708. <li class="blockList">
  709. <h4>getBackgroundPaint</h4>
  710. <pre>public&nbsp;java.awt.Paint&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.354">getBackgroundPaint</a>()</pre>
  711. <div class="block">Returns the background paint.</div>
  712. <dl>
  713. <dt><span class="returnLabel">Returns:</span></dt>
  714. <dd>The background paint.</dd>
  715. </dl>
  716. </li>
  717. </ul>
  718. <a name="setBackgroundPaint-java.awt.Paint-">
  719. <!-- -->
  720. </a>
  721. <ul class="blockList">
  722. <li class="blockList">
  723. <h4>setBackgroundPaint</h4>
  724. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.364">setBackgroundPaint</a>(java.awt.Paint&nbsp;paint)</pre>
  725. <div class="block">Sets the background paint and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to all
  726. registered listeners.</div>
  727. <dl>
  728. <dt><span class="paramLabel">Parameters:</span></dt>
  729. <dd><code>paint</code> - the paint (<code>null</code> permitted).</dd>
  730. </dl>
  731. </li>
  732. </ul>
  733. <a name="getSubdivisionCount--">
  734. <!-- -->
  735. </a>
  736. <ul class="blockList">
  737. <li class="blockList">
  738. <h4>getSubdivisionCount</h4>
  739. <pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.376">getSubdivisionCount</a>()</pre>
  740. <div class="block">Returns the number of subdivisions used to draw the scale.</div>
  741. <dl>
  742. <dt><span class="returnLabel">Returns:</span></dt>
  743. <dd>The subdivision count.</dd>
  744. <dt><span class="simpleTagLabel">Since:</span></dt>
  745. <dd>1.0.11</dd>
  746. </dl>
  747. </li>
  748. </ul>
  749. <a name="setSubdivisionCount-int-">
  750. <!-- -->
  751. </a>
  752. <ul class="blockList">
  753. <li class="blockList">
  754. <h4>setSubdivisionCount</h4>
  755. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.388">setSubdivisionCount</a>(int&nbsp;count)</pre>
  756. <div class="block">Sets the subdivision count and sends a <a href="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><code>TitleChangeEvent</code></a> to
  757. all registered listeners.</div>
  758. <dl>
  759. <dt><span class="paramLabel">Parameters:</span></dt>
  760. <dd><code>count</code> - the count.</dd>
  761. <dt><span class="simpleTagLabel">Since:</span></dt>
  762. <dd>1.0.11</dd>
  763. </dl>
  764. </li>
  765. </ul>
  766. <a name="axisChanged-org.jfree.chart.event.AxisChangeEvent-">
  767. <!-- -->
  768. </a>
  769. <ul class="blockList">
  770. <li class="blockList">
  771. <h4>axisChanged</h4>
  772. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.405">axisChanged</a>(<a href="../../../../org/jfree/chart/event/AxisChangeEvent.html" title="class in org.jfree.chart.event">AxisChangeEvent</a>&nbsp;event)</pre>
  773. <div class="block">Receives notification of an axis change event and responds by firing
  774. a title change event.</div>
  775. <dl>
  776. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  777. <dd><code><a href="../../../../org/jfree/chart/event/AxisChangeListener.html#axisChanged-org.jfree.chart.event.AxisChangeEvent-">axisChanged</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/jfree/chart/event/AxisChangeListener.html" title="interface in org.jfree.chart.event">AxisChangeListener</a></code></dd>
  778. <dt><span class="paramLabel">Parameters:</span></dt>
  779. <dd><code>event</code> - the event.</dd>
  780. <dt><span class="simpleTagLabel">Since:</span></dt>
  781. <dd>1.0.13</dd>
  782. </dl>
  783. </li>
  784. </ul>
  785. <a name="arrange-java.awt.Graphics2D-org.jfree.chart.block.RectangleConstraint-">
  786. <!-- -->
  787. </a>
  788. <ul class="blockList">
  789. <li class="blockList">
  790. <h4>arrange</h4>
  791. <pre>public&nbsp;org.jfree.ui.Size2D&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.421">arrange</a>(java.awt.Graphics2D&nbsp;g2,
  792. <a href="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</a>&nbsp;constraint)</pre>
  793. <div class="block">Arranges the contents of the block, within the given constraints, and
  794. returns the block size.</div>
  795. <dl>
  796. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  797. <dd><code><a href="../../../../org/jfree/chart/block/Block.html#arrange-java.awt.Graphics2D-org.jfree.chart.block.RectangleConstraint-">arrange</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</a></code></dd>
  798. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  799. <dd><code><a href="../../../../org/jfree/chart/block/AbstractBlock.html#arrange-java.awt.Graphics2D-org.jfree.chart.block.RectangleConstraint-">arrange</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/block/AbstractBlock.html" title="class in org.jfree.chart.block">AbstractBlock</a></code></dd>
  800. <dt><span class="paramLabel">Parameters:</span></dt>
  801. <dd><code>g2</code> - the graphics device.</dd>
  802. <dd><code>constraint</code> - the constraint (<code>null</code> not permitted).</dd>
  803. <dt><span class="returnLabel">Returns:</span></dt>
  804. <dd>The block size (in Java2D units, never <code>null</code>).</dd>
  805. </dl>
  806. </li>
  807. </ul>
  808. <a name="arrangeRR-java.awt.Graphics2D-org.jfree.data.Range-org.jfree.data.Range-">
  809. <!-- -->
  810. </a>
  811. <ul class="blockList">
  812. <li class="blockList">
  813. <h4>arrangeRR</h4>
  814. <pre>protected&nbsp;org.jfree.ui.Size2D&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.476">arrangeRR</a>(java.awt.Graphics2D&nbsp;g2,
  815. <a href="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</a>&nbsp;widthRange,
  816. <a href="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</a>&nbsp;heightRange)</pre>
  817. <div class="block">Returns the content size for the title. This will reflect the fact that
  818. a text title positioned on the left or right of a chart will be rotated
  819. 90 degrees.</div>
  820. <dl>
  821. <dt><span class="paramLabel">Parameters:</span></dt>
  822. <dd><code>g2</code> - the graphics device.</dd>
  823. <dd><code>widthRange</code> - the width range.</dd>
  824. <dd><code>heightRange</code> - the height range.</dd>
  825. <dt><span class="returnLabel">Returns:</span></dt>
  826. <dd>The content size.</dd>
  827. </dl>
  828. </li>
  829. </ul>
  830. <a name="draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">
  831. <!-- -->
  832. </a>
  833. <ul class="blockList">
  834. <li class="blockList">
  835. <h4>draw</h4>
  836. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.514">draw</a>(java.awt.Graphics2D&nbsp;g2,
  837. java.awt.geom.Rectangle2D&nbsp;area)</pre>
  838. <div class="block">Draws the legend within the specified area.</div>
  839. <dl>
  840. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  841. <dd><code>draw</code>&nbsp;in interface&nbsp;<code>org.jfree.ui.Drawable</code></dd>
  842. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  843. <dd><code><a href="../../../../org/jfree/chart/title/Title.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">draw</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a></code></dd>
  844. <dt><span class="paramLabel">Parameters:</span></dt>
  845. <dd><code>g2</code> - the graphics target (<code>null</code> not permitted).</dd>
  846. <dd><code>area</code> - the drawing area (<code>null</code> not permitted).</dd>
  847. </dl>
  848. </li>
  849. </ul>
  850. <a name="draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-java.lang.Object-">
  851. <!-- -->
  852. </a>
  853. <ul class="blockList">
  854. <li class="blockList">
  855. <h4>draw</h4>
  856. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.528">draw</a>(java.awt.Graphics2D&nbsp;g2,
  857. java.awt.geom.Rectangle2D&nbsp;area,
  858. java.lang.Object&nbsp;params)</pre>
  859. <div class="block">Draws the legend within the specified area.</div>
  860. <dl>
  861. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  862. <dd><code><a href="../../../../org/jfree/chart/block/Block.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-java.lang.Object-">draw</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</a></code></dd>
  863. <dt><span class="paramLabel">Parameters:</span></dt>
  864. <dd><code>g2</code> - the graphics target (<code>null</code> not permitted).</dd>
  865. <dd><code>area</code> - the drawing area (<code>null</code> not permitted).</dd>
  866. <dd><code>params</code> - drawing parameters (ignored here).</dd>
  867. <dt><span class="returnLabel">Returns:</span></dt>
  868. <dd><code>null</code>.</dd>
  869. </dl>
  870. </li>
  871. </ul>
  872. <a name="equals-java.lang.Object-">
  873. <!-- -->
  874. </a>
  875. <ul class="blockListLast">
  876. <li class="blockList">
  877. <h4>equals</h4>
  878. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/title/PaintScaleLegend.html#line.661">equals</a>(java.lang.Object&nbsp;obj)</pre>
  879. <div class="block">Tests this legend for equality with an arbitrary object.</div>
  880. <dl>
  881. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  882. <dd><code><a href="../../../../org/jfree/chart/title/Title.html#equals-java.lang.Object-">equals</a></code>&nbsp;in class&nbsp;<code><a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a></code></dd>
  883. <dt><span class="paramLabel">Parameters:</span></dt>
  884. <dd><code>obj</code> - the object (<code>null</code> permitted).</dd>
  885. <dt><span class="returnLabel">Returns:</span></dt>
  886. <dd>A boolean.</dd>
  887. </dl>
  888. </li>
  889. </ul>
  890. </li>
  891. </ul>
  892. </li>
  893. </ul>
  894. </div>
  895. </div>
  896. <!-- ========= END OF CLASS DATA ========= -->
  897. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  898. <div class="bottomNav"><a name="navbar.bottom">
  899. <!-- -->
  900. </a>
  901. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  902. <a name="navbar.bottom.firstrow">
  903. <!-- -->
  904. </a>
  905. <ul class="navList" title="Navigation">
  906. <li><a href="../../../../overview-summary.html">Overview</a></li>
  907. <li><a href="package-summary.html">Package</a></li>
  908. <li class="navBarCell1Rev">Class</li>
  909. <li><a href="class-use/PaintScaleLegend.html">Use</a></li>
  910. <li><a href="package-tree.html">Tree</a></li>
  911. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  912. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  913. <li><a href="../../../../help-doc.html">Help</a></li>
  914. </ul>
  915. </div>
  916. <div class="subNav">
  917. <ul class="navList">
  918. <li><a href="../../../../org/jfree/chart/title/LegendTitle.html" title="class in org.jfree.chart.title"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  919. <li><a href="../../../../org/jfree/chart/title/ShortTextTitle.html" title="class in org.jfree.chart.title"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  920. </ul>
  921. <ul class="navList">
  922. <li><a href="../../../../index.html?org/jfree/chart/title/PaintScaleLegend.html" target="_top">Frames</a></li>
  923. <li><a href="PaintScaleLegend.html" target="_top">No&nbsp;Frames</a></li>
  924. </ul>
  925. <ul class="navList" id="allclasses_navbar_bottom">
  926. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  927. </ul>
  928. <div>
  929. <script type="text/javascript"><!--
  930. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  931. if(window==top) {
  932. allClassesLink.style.display = "block";
  933. }
  934. else {
  935. allClassesLink.style.display = "none";
  936. }
  937. //-->
  938. </script>
  939. </div>
  940. <div>
  941. <ul class="subNavList">
  942. <li>Summary:&nbsp;</li>
  943. <li>Nested&nbsp;|&nbsp;</li>
  944. <li><a href="#fields.inherited.from.class.org.jfree.chart.title.Title">Field</a>&nbsp;|&nbsp;</li>
  945. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  946. <li><a href="#method.summary">Method</a></li>
  947. </ul>
  948. <ul class="subNavList">
  949. <li>Detail:&nbsp;</li>
  950. <li>Field&nbsp;|&nbsp;</li>
  951. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  952. <li><a href="#method.detail">Method</a></li>
  953. </ul>
  954. </div>
  955. <a name="skip.navbar.bottom">
  956. <!-- -->
  957. </a></div>
  958. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  959. </body>
  960. </html>