OHLCSeriesCollection.html 53 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032
  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:43 CEST 2014 -->
  6. <title>OHLCSeriesCollection (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="OHLCSeriesCollection (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,"i26":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/OHLCSeriesCollection.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/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li>Next&nbsp;Class</li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../../index.html?org/jfree/data/time/ohlc/OHLCSeriesCollection.html" target="_top">Frames</a></li>
  57. <li><a href="OHLCSeriesCollection.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.data.time.ohlc</div>
  96. <h2 title="Class OHLCSeriesCollection" class="title">Class OHLCSeriesCollection</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/data/general/AbstractDataset.html" title="class in org.jfree.data.general">org.jfree.data.general.AbstractDataset</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li><a href="../../../../../org/jfree/data/general/AbstractSeriesDataset.html" title="class in org.jfree.data.general">org.jfree.data.general.AbstractSeriesDataset</a></li>
  107. <li>
  108. <ul class="inheritance">
  109. <li><a href="../../../../../org/jfree/data/xy/AbstractXYDataset.html" title="class in org.jfree.data.xy">org.jfree.data.xy.AbstractXYDataset</a></li>
  110. <li>
  111. <ul class="inheritance">
  112. <li>org.jfree.data.time.ohlc.OHLCSeriesCollection</li>
  113. </ul>
  114. </li>
  115. </ul>
  116. </li>
  117. </ul>
  118. </li>
  119. </ul>
  120. </li>
  121. </ul>
  122. <div class="description">
  123. <ul class="blockList">
  124. <li class="blockList">
  125. <dl>
  126. <dt>All Implemented Interfaces:</dt>
  127. <dd>java.io.ObjectInputValidation, java.io.Serializable, java.lang.Cloneable, java.util.EventListener, <a href="../../../../../org/jfree/data/general/Dataset.html" title="interface in org.jfree.data.general">Dataset</a>, <a href="../../../../../org/jfree/data/general/SeriesChangeListener.html" title="interface in org.jfree.data.general">SeriesChangeListener</a>, <a href="../../../../../org/jfree/data/general/SeriesDataset.html" title="interface in org.jfree.data.general">SeriesDataset</a>, <a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a>, <a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</a></dd>
  128. </dl>
  129. <hr>
  130. <br>
  131. <pre>public class <a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.67">OHLCSeriesCollection</a>
  132. extends <a href="../../../../../org/jfree/data/xy/AbstractXYDataset.html" title="class in org.jfree.data.xy">AbstractXYDataset</a>
  133. implements <a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a>, java.io.Serializable</pre>
  134. <div class="block">A collection of <a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc"><code>OHLCSeries</code></a> objects.</div>
  135. <dl>
  136. <dt><span class="simpleTagLabel">Since:</span></dt>
  137. <dd>1.0.4</dd>
  138. <dt><span class="seeLabel">See Also:</span></dt>
  139. <dd><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc"><code>OHLCSeries</code></a>,
  140. <a href="../../../../../serialized-form.html#org.jfree.data.time.ohlc.OHLCSeriesCollection">Serialized Form</a></dd>
  141. </dl>
  142. </li>
  143. </ul>
  144. </div>
  145. <div class="summary">
  146. <ul class="blockList">
  147. <li class="blockList">
  148. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  149. <ul class="blockList">
  150. <li class="blockList"><a name="constructor.summary">
  151. <!-- -->
  152. </a>
  153. <h3>Constructor Summary</h3>
  154. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  155. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  156. <tr>
  157. <th class="colOne" scope="col">Constructor and Description</th>
  158. </tr>
  159. <tr class="altColor">
  160. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#OHLCSeriesCollection--">OHLCSeriesCollection</a></span>()</code>
  161. <div class="block">Creates a new instance of <code>OHLCSeriesCollection</code>.</div>
  162. </td>
  163. </tr>
  164. </table>
  165. </li>
  166. </ul>
  167. <!-- ========== METHOD SUMMARY =========== -->
  168. <ul class="blockList">
  169. <li class="blockList"><a name="method.summary">
  170. <!-- -->
  171. </a>
  172. <h3>Method Summary</h3>
  173. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  174. <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>
  175. <tr>
  176. <th class="colFirst" scope="col">Modifier and Type</th>
  177. <th class="colLast" scope="col">Method and Description</th>
  178. </tr>
  179. <tr id="i0" class="altColor">
  180. <td class="colFirst"><code>void</code></td>
  181. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#addSeries-org.jfree.data.time.ohlc.OHLCSeries-">addSeries</a></span>(<a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc">OHLCSeries</a>&nbsp;series)</code>
  182. <div class="block">Adds a series to the collection and sends a <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a>
  183. to all registered listeners.</div>
  184. </td>
  185. </tr>
  186. <tr id="i1" class="rowColor">
  187. <td class="colFirst"><code>java.lang.Object</code></td>
  188. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#clone--">clone</a></span>()</code>
  189. <div class="block">Returns a clone of this instance.</div>
  190. </td>
  191. </tr>
  192. <tr id="i2" class="altColor">
  193. <td class="colFirst"><code>boolean</code></td>
  194. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>
  195. <div class="block">Tests this instance for equality with an arbitrary object.</div>
  196. </td>
  197. </tr>
  198. <tr id="i3" class="rowColor">
  199. <td class="colFirst"><code>java.lang.Number</code></td>
  200. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getClose-int-int-">getClose</a></span>(int&nbsp;series,
  201. int&nbsp;item)</code>
  202. <div class="block">Returns the close-value for an item within a series.</div>
  203. </td>
  204. </tr>
  205. <tr id="i4" class="altColor">
  206. <td class="colFirst"><code>double</code></td>
  207. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getCloseValue-int-int-">getCloseValue</a></span>(int&nbsp;series,
  208. int&nbsp;item)</code>
  209. <div class="block">Returns the close-value for an item within a series.</div>
  210. </td>
  211. </tr>
  212. <tr id="i5" class="rowColor">
  213. <td class="colFirst"><code>java.lang.Number</code></td>
  214. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getHigh-int-int-">getHigh</a></span>(int&nbsp;series,
  215. int&nbsp;item)</code>
  216. <div class="block">Returns the high-value for an item within a series.</div>
  217. </td>
  218. </tr>
  219. <tr id="i6" class="altColor">
  220. <td class="colFirst"><code>double</code></td>
  221. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getHighValue-int-int-">getHighValue</a></span>(int&nbsp;series,
  222. int&nbsp;item)</code>
  223. <div class="block">Returns the high-value for an item within a series.</div>
  224. </td>
  225. </tr>
  226. <tr id="i7" class="rowColor">
  227. <td class="colFirst"><code>int</code></td>
  228. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getItemCount-int-">getItemCount</a></span>(int&nbsp;series)</code>
  229. <div class="block">Returns the number of items in the specified series.</div>
  230. </td>
  231. </tr>
  232. <tr id="i8" class="altColor">
  233. <td class="colFirst"><code>java.lang.Number</code></td>
  234. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getLow-int-int-">getLow</a></span>(int&nbsp;series,
  235. int&nbsp;item)</code>
  236. <div class="block">Returns the low-value for an item within a series.</div>
  237. </td>
  238. </tr>
  239. <tr id="i9" class="rowColor">
  240. <td class="colFirst"><code>double</code></td>
  241. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getLowValue-int-int-">getLowValue</a></span>(int&nbsp;series,
  242. int&nbsp;item)</code>
  243. <div class="block">Returns the low-value for an item within a series.</div>
  244. </td>
  245. </tr>
  246. <tr id="i10" class="altColor">
  247. <td class="colFirst"><code>java.lang.Number</code></td>
  248. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getOpen-int-int-">getOpen</a></span>(int&nbsp;series,
  249. int&nbsp;item)</code>
  250. <div class="block">Returns the open-value for an item within a series.</div>
  251. </td>
  252. </tr>
  253. <tr id="i11" class="rowColor">
  254. <td class="colFirst"><code>double</code></td>
  255. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getOpenValue-int-int-">getOpenValue</a></span>(int&nbsp;series,
  256. int&nbsp;item)</code>
  257. <div class="block">Returns the open-value for an item within a series.</div>
  258. </td>
  259. </tr>
  260. <tr id="i12" class="altColor">
  261. <td class="colFirst"><code><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc">OHLCSeries</a></code></td>
  262. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getSeries-int-">getSeries</a></span>(int&nbsp;series)</code>
  263. <div class="block">Returns a series from the collection.</div>
  264. </td>
  265. </tr>
  266. <tr id="i13" class="rowColor">
  267. <td class="colFirst"><code>int</code></td>
  268. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getSeriesCount--">getSeriesCount</a></span>()</code>
  269. <div class="block">Returns the number of series in the collection.</div>
  270. </td>
  271. </tr>
  272. <tr id="i14" class="altColor">
  273. <td class="colFirst"><code>java.lang.Comparable</code></td>
  274. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getSeriesKey-int-">getSeriesKey</a></span>(int&nbsp;series)</code>
  275. <div class="block">Returns the key for a series.</div>
  276. </td>
  277. </tr>
  278. <tr id="i15" class="rowColor">
  279. <td class="colFirst"><code>java.lang.Number</code></td>
  280. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getVolume-int-int-">getVolume</a></span>(int&nbsp;series,
  281. int&nbsp;item)</code>
  282. <div class="block">Returns <code>null</code> always, because this dataset doesn't record
  283. any volume data.</div>
  284. </td>
  285. </tr>
  286. <tr id="i16" class="altColor">
  287. <td class="colFirst"><code>double</code></td>
  288. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getVolumeValue-int-int-">getVolumeValue</a></span>(int&nbsp;series,
  289. int&nbsp;item)</code>
  290. <div class="block">Returns <code>Double.NaN</code> always, because this dataset doesn't
  291. record any volume data.</div>
  292. </td>
  293. </tr>
  294. <tr id="i17" class="rowColor">
  295. <td class="colFirst"><code>java.lang.Number</code></td>
  296. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getX-int-int-">getX</a></span>(int&nbsp;series,
  297. int&nbsp;item)</code>
  298. <div class="block">Returns the x-value for an item within a series.</div>
  299. </td>
  300. </tr>
  301. <tr id="i18" class="altColor">
  302. <td class="colFirst"><code>protected long</code></td>
  303. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getX-org.jfree.data.time.RegularTimePeriod-">getX</a></span>(<a href="../../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</a>&nbsp;period)</code>
  304. <div class="block">Returns the x-value for a time period.</div>
  305. </td>
  306. </tr>
  307. <tr id="i19" class="rowColor">
  308. <td class="colFirst"><code><a href="../../../../../org/jfree/data/time/TimePeriodAnchor.html" title="class in org.jfree.data.time">TimePeriodAnchor</a></code></td>
  309. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getXPosition--">getXPosition</a></span>()</code>
  310. <div class="block">Returns the position within each time period that is used for the X
  311. value when the collection is used as an <a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy"><code>XYDataset</code></a>.</div>
  312. </td>
  313. </tr>
  314. <tr id="i20" class="altColor">
  315. <td class="colFirst"><code>double</code></td>
  316. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getXValue-int-int-">getXValue</a></span>(int&nbsp;series,
  317. int&nbsp;item)</code>
  318. <div class="block">Returns the x-value for an item within a series.</div>
  319. </td>
  320. </tr>
  321. <tr id="i21" class="rowColor">
  322. <td class="colFirst"><code>java.lang.Number</code></td>
  323. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#getY-int-int-">getY</a></span>(int&nbsp;series,
  324. int&nbsp;item)</code>
  325. <div class="block">Returns the y-value for an item within a series.</div>
  326. </td>
  327. </tr>
  328. <tr id="i22" class="altColor">
  329. <td class="colFirst"><code>int</code></td>
  330. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#hashCode--">hashCode</a></span>()</code>
  331. <div class="block">Returns a hash code for this instance.</div>
  332. </td>
  333. </tr>
  334. <tr id="i23" class="rowColor">
  335. <td class="colFirst"><code>void</code></td>
  336. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#removeAllSeries--">removeAllSeries</a></span>()</code>
  337. <div class="block">Removes all the series from the collection and sends a
  338. <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a> to all registered listeners.</div>
  339. </td>
  340. </tr>
  341. <tr id="i24" class="altColor">
  342. <td class="colFirst"><code>void</code></td>
  343. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#removeSeries-int-">removeSeries</a></span>(int&nbsp;index)</code>
  344. <div class="block">Removes the series with the specified index and sends a
  345. <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a> to all registered listeners.</div>
  346. </td>
  347. </tr>
  348. <tr id="i25" class="rowColor">
  349. <td class="colFirst"><code>boolean</code></td>
  350. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#removeSeries-org.jfree.data.time.ohlc.OHLCSeries-">removeSeries</a></span>(<a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc">OHLCSeries</a>&nbsp;series)</code>
  351. <div class="block">Removes the specified series from the dataset and sends a
  352. <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a> to all registered listeners.</div>
  353. </td>
  354. </tr>
  355. <tr id="i26" class="altColor">
  356. <td class="colFirst"><code>void</code></td>
  357. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeriesCollection.html#setXPosition-org.jfree.data.time.TimePeriodAnchor-">setXPosition</a></span>(<a href="../../../../../org/jfree/data/time/TimePeriodAnchor.html" title="class in org.jfree.data.time">TimePeriodAnchor</a>&nbsp;anchor)</code>
  358. <div class="block">Sets the position within each time period that is used for the X values
  359. when the collection is used as an <a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy"><code>XYDataset</code></a>, then sends a
  360. <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a> is sent to all registered listeners.</div>
  361. </td>
  362. </tr>
  363. </table>
  364. <ul class="blockList">
  365. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.data.xy.AbstractXYDataset">
  366. <!-- -->
  367. </a>
  368. <h3>Methods inherited from class&nbsp;org.jfree.data.xy.<a href="../../../../../org/jfree/data/xy/AbstractXYDataset.html" title="class in org.jfree.data.xy">AbstractXYDataset</a></h3>
  369. <code><a href="../../../../../org/jfree/data/xy/AbstractXYDataset.html#getDomainOrder--">getDomainOrder</a>, <a href="../../../../../org/jfree/data/xy/AbstractXYDataset.html#getYValue-int-int-">getYValue</a></code></li>
  370. </ul>
  371. <ul class="blockList">
  372. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.data.general.AbstractSeriesDataset">
  373. <!-- -->
  374. </a>
  375. <h3>Methods inherited from class&nbsp;org.jfree.data.general.<a href="../../../../../org/jfree/data/general/AbstractSeriesDataset.html" title="class in org.jfree.data.general">AbstractSeriesDataset</a></h3>
  376. <code><a href="../../../../../org/jfree/data/general/AbstractSeriesDataset.html#indexOf-java.lang.Comparable-">indexOf</a>, <a href="../../../../../org/jfree/data/general/AbstractSeriesDataset.html#seriesChanged-org.jfree.data.general.SeriesChangeEvent-">seriesChanged</a></code></li>
  377. </ul>
  378. <ul class="blockList">
  379. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.data.general.AbstractDataset">
  380. <!-- -->
  381. </a>
  382. <h3>Methods inherited from class&nbsp;org.jfree.data.general.<a href="../../../../../org/jfree/data/general/AbstractDataset.html" title="class in org.jfree.data.general">AbstractDataset</a></h3>
  383. <code><a href="../../../../../org/jfree/data/general/AbstractDataset.html#addChangeListener-org.jfree.data.general.DatasetChangeListener-">addChangeListener</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#fireDatasetChanged--">fireDatasetChanged</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#getGroup--">getGroup</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#getNotify--">getNotify</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#hasListener-java.util.EventListener-">hasListener</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#notifyListeners-org.jfree.data.general.DatasetChangeEvent-">notifyListeners</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#removeChangeListener-org.jfree.data.general.DatasetChangeListener-">removeChangeListener</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#setGroup-org.jfree.data.general.DatasetGroup-">setGroup</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#setNotify-boolean-">setNotify</a>, <a href="../../../../../org/jfree/data/general/AbstractDataset.html#validateObject--">validateObject</a></code></li>
  384. </ul>
  385. <ul class="blockList">
  386. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  387. <!-- -->
  388. </a>
  389. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  390. <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
  391. </ul>
  392. <ul class="blockList">
  393. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.data.xy.XYDataset">
  394. <!-- -->
  395. </a>
  396. <h3>Methods inherited from interface&nbsp;org.jfree.data.xy.<a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</a></h3>
  397. <code><a href="../../../../../org/jfree/data/xy/XYDataset.html#getDomainOrder--">getDomainOrder</a>, <a href="../../../../../org/jfree/data/xy/XYDataset.html#getYValue-int-int-">getYValue</a></code></li>
  398. </ul>
  399. <ul class="blockList">
  400. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.data.general.SeriesDataset">
  401. <!-- -->
  402. </a>
  403. <h3>Methods inherited from interface&nbsp;org.jfree.data.general.<a href="../../../../../org/jfree/data/general/SeriesDataset.html" title="interface in org.jfree.data.general">SeriesDataset</a></h3>
  404. <code><a href="../../../../../org/jfree/data/general/SeriesDataset.html#indexOf-java.lang.Comparable-">indexOf</a></code></li>
  405. </ul>
  406. <ul class="blockList">
  407. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.data.general.Dataset">
  408. <!-- -->
  409. </a>
  410. <h3>Methods inherited from interface&nbsp;org.jfree.data.general.<a href="../../../../../org/jfree/data/general/Dataset.html" title="interface in org.jfree.data.general">Dataset</a></h3>
  411. <code><a href="../../../../../org/jfree/data/general/Dataset.html#addChangeListener-org.jfree.data.general.DatasetChangeListener-">addChangeListener</a>, <a href="../../../../../org/jfree/data/general/Dataset.html#getGroup--">getGroup</a>, <a href="../../../../../org/jfree/data/general/Dataset.html#removeChangeListener-org.jfree.data.general.DatasetChangeListener-">removeChangeListener</a>, <a href="../../../../../org/jfree/data/general/Dataset.html#setGroup-org.jfree.data.general.DatasetGroup-">setGroup</a></code></li>
  412. </ul>
  413. </li>
  414. </ul>
  415. </li>
  416. </ul>
  417. </div>
  418. <div class="details">
  419. <ul class="blockList">
  420. <li class="blockList">
  421. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  422. <ul class="blockList">
  423. <li class="blockList"><a name="constructor.detail">
  424. <!-- -->
  425. </a>
  426. <h3>Constructor Detail</h3>
  427. <a name="OHLCSeriesCollection--">
  428. <!-- -->
  429. </a>
  430. <ul class="blockListLast">
  431. <li class="blockList">
  432. <h4>OHLCSeriesCollection</h4>
  433. <pre>public&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.78">OHLCSeriesCollection</a>()</pre>
  434. <div class="block">Creates a new instance of <code>OHLCSeriesCollection</code>.</div>
  435. </li>
  436. </ul>
  437. </li>
  438. </ul>
  439. <!-- ============ METHOD DETAIL ========== -->
  440. <ul class="blockList">
  441. <li class="blockList"><a name="method.detail">
  442. <!-- -->
  443. </a>
  444. <h3>Method Detail</h3>
  445. <a name="getXPosition--">
  446. <!-- -->
  447. </a>
  448. <ul class="blockList">
  449. <li class="blockList">
  450. <h4>getXPosition</h4>
  451. <pre>public&nbsp;<a href="../../../../../org/jfree/data/time/TimePeriodAnchor.html" title="class in org.jfree.data.time">TimePeriodAnchor</a>&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.90">getXPosition</a>()</pre>
  452. <div class="block">Returns the position within each time period that is used for the X
  453. value when the collection is used as an <a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy"><code>XYDataset</code></a>.</div>
  454. <dl>
  455. <dt><span class="returnLabel">Returns:</span></dt>
  456. <dd>The anchor position (never <code>null</code>).</dd>
  457. <dt><span class="simpleTagLabel">Since:</span></dt>
  458. <dd>1.0.11</dd>
  459. </dl>
  460. </li>
  461. </ul>
  462. <a name="setXPosition-org.jfree.data.time.TimePeriodAnchor-">
  463. <!-- -->
  464. </a>
  465. <ul class="blockList">
  466. <li class="blockList">
  467. <h4>setXPosition</h4>
  468. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.103">setXPosition</a>(<a href="../../../../../org/jfree/data/time/TimePeriodAnchor.html" title="class in org.jfree.data.time">TimePeriodAnchor</a>&nbsp;anchor)</pre>
  469. <div class="block">Sets the position within each time period that is used for the X values
  470. when the collection is used as an <a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy"><code>XYDataset</code></a>, then sends a
  471. <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a> is sent to all registered listeners.</div>
  472. <dl>
  473. <dt><span class="paramLabel">Parameters:</span></dt>
  474. <dd><code>anchor</code> - the anchor position (<code>null</code> not permitted).</dd>
  475. <dt><span class="simpleTagLabel">Since:</span></dt>
  476. <dd>1.0.11</dd>
  477. </dl>
  478. </li>
  479. </ul>
  480. <a name="addSeries-org.jfree.data.time.ohlc.OHLCSeries-">
  481. <!-- -->
  482. </a>
  483. <ul class="blockList">
  484. <li class="blockList">
  485. <h4>addSeries</h4>
  486. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.115">addSeries</a>(<a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc">OHLCSeries</a>&nbsp;series)</pre>
  487. <div class="block">Adds a series to the collection and sends a <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a>
  488. to all registered listeners.</div>
  489. <dl>
  490. <dt><span class="paramLabel">Parameters:</span></dt>
  491. <dd><code>series</code> - the series (<code>null</code> not permitted).</dd>
  492. </dl>
  493. </li>
  494. </ul>
  495. <a name="getSeriesCount--">
  496. <!-- -->
  497. </a>
  498. <ul class="blockList">
  499. <li class="blockList">
  500. <h4>getSeriesCount</h4>
  501. <pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.128">getSeriesCount</a>()</pre>
  502. <div class="block">Returns the number of series in the collection.</div>
  503. <dl>
  504. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  505. <dd><code><a href="../../../../../org/jfree/data/general/SeriesDataset.html#getSeriesCount--">getSeriesCount</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/general/SeriesDataset.html" title="interface in org.jfree.data.general">SeriesDataset</a></code></dd>
  506. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  507. <dd><code><a href="../../../../../org/jfree/data/general/AbstractSeriesDataset.html#getSeriesCount--">getSeriesCount</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/jfree/data/general/AbstractSeriesDataset.html" title="class in org.jfree.data.general">AbstractSeriesDataset</a></code></dd>
  508. <dt><span class="returnLabel">Returns:</span></dt>
  509. <dd>The series count.</dd>
  510. </dl>
  511. </li>
  512. </ul>
  513. <a name="getSeries-int-">
  514. <!-- -->
  515. </a>
  516. <ul class="blockList">
  517. <li class="blockList">
  518. <h4>getSeries</h4>
  519. <pre>public&nbsp;<a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc">OHLCSeries</a>&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.142">getSeries</a>(int&nbsp;series)</pre>
  520. <div class="block">Returns a series from the collection.</div>
  521. <dl>
  522. <dt><span class="paramLabel">Parameters:</span></dt>
  523. <dd><code>series</code> - the series index (zero-based).</dd>
  524. <dt><span class="returnLabel">Returns:</span></dt>
  525. <dd>The series.</dd>
  526. <dt><span class="throwsLabel">Throws:</span></dt>
  527. <dd><code>java.lang.IllegalArgumentException</code> - if <code>series</code> is not in the
  528. range <code>0</code> to <code>getSeriesCount() - 1</code>.</dd>
  529. </dl>
  530. </li>
  531. </ul>
  532. <a name="getSeriesKey-int-">
  533. <!-- -->
  534. </a>
  535. <ul class="blockList">
  536. <li class="blockList">
  537. <h4>getSeriesKey</h4>
  538. <pre>public&nbsp;java.lang.Comparable&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.161">getSeriesKey</a>(int&nbsp;series)</pre>
  539. <div class="block">Returns the key for a series.</div>
  540. <dl>
  541. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  542. <dd><code><a href="../../../../../org/jfree/data/general/SeriesDataset.html#getSeriesKey-int-">getSeriesKey</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/general/SeriesDataset.html" title="interface in org.jfree.data.general">SeriesDataset</a></code></dd>
  543. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  544. <dd><code><a href="../../../../../org/jfree/data/general/AbstractSeriesDataset.html#getSeriesKey-int-">getSeriesKey</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/jfree/data/general/AbstractSeriesDataset.html" title="class in org.jfree.data.general">AbstractSeriesDataset</a></code></dd>
  545. <dt><span class="paramLabel">Parameters:</span></dt>
  546. <dd><code>series</code> - the series index (in the range <code>0</code> to
  547. <code>getSeriesCount() - 1</code>).</dd>
  548. <dt><span class="returnLabel">Returns:</span></dt>
  549. <dd>The key for a series.</dd>
  550. <dt><span class="throwsLabel">Throws:</span></dt>
  551. <dd><code>java.lang.IllegalArgumentException</code> - if <code>series</code> is not in the
  552. specified range.</dd>
  553. </dl>
  554. </li>
  555. </ul>
  556. <a name="getItemCount-int-">
  557. <!-- -->
  558. </a>
  559. <ul class="blockList">
  560. <li class="blockList">
  561. <h4>getItemCount</h4>
  562. <pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.177">getItemCount</a>(int&nbsp;series)</pre>
  563. <div class="block">Returns the number of items in the specified series.</div>
  564. <dl>
  565. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  566. <dd><code><a href="../../../../../org/jfree/data/xy/XYDataset.html#getItemCount-int-">getItemCount</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</a></code></dd>
  567. <dt><span class="paramLabel">Parameters:</span></dt>
  568. <dd><code>series</code> - the series (zero-based index).</dd>
  569. <dt><span class="returnLabel">Returns:</span></dt>
  570. <dd>The item count.</dd>
  571. <dt><span class="throwsLabel">Throws:</span></dt>
  572. <dd><code>java.lang.IllegalArgumentException</code> - if <code>series</code> is not in the
  573. range <code>0</code> to <code>getSeriesCount() - 1</code>.</dd>
  574. </dl>
  575. </li>
  576. </ul>
  577. <a name="getX-org.jfree.data.time.RegularTimePeriod-">
  578. <!-- -->
  579. </a>
  580. <ul class="blockList">
  581. <li class="blockList">
  582. <h4>getX</h4>
  583. <pre>protected&nbsp;long&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.189">getX</a>(<a href="../../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</a>&nbsp;period)</pre>
  584. <div class="block">Returns the x-value for a time period.</div>
  585. <dl>
  586. <dt><span class="paramLabel">Parameters:</span></dt>
  587. <dd><code>period</code> - the time period (<code>null</code> not permitted).</dd>
  588. <dt><span class="returnLabel">Returns:</span></dt>
  589. <dd>The x-value.</dd>
  590. </dl>
  591. </li>
  592. </ul>
  593. <a name="getXValue-int-int-">
  594. <!-- -->
  595. </a>
  596. <ul class="blockList">
  597. <li class="blockList">
  598. <h4>getXValue</h4>
  599. <pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.212">getXValue</a>(int&nbsp;series,
  600. int&nbsp;item)</pre>
  601. <div class="block">Returns the x-value for an item within a series.</div>
  602. <dl>
  603. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  604. <dd><code><a href="../../../../../org/jfree/data/xy/XYDataset.html#getXValue-int-int-">getXValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</a></code></dd>
  605. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  606. <dd><code><a href="../../../../../org/jfree/data/xy/AbstractXYDataset.html#getXValue-int-int-">getXValue</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/jfree/data/xy/AbstractXYDataset.html" title="class in org.jfree.data.xy">AbstractXYDataset</a></code></dd>
  607. <dt><span class="paramLabel">Parameters:</span></dt>
  608. <dd><code>series</code> - the series index.</dd>
  609. <dd><code>item</code> - the item index.</dd>
  610. <dt><span class="returnLabel">Returns:</span></dt>
  611. <dd>The x-value.</dd>
  612. </dl>
  613. </li>
  614. </ul>
  615. <a name="getX-int-int-">
  616. <!-- -->
  617. </a>
  618. <ul class="blockList">
  619. <li class="blockList">
  620. <h4>getX</h4>
  621. <pre>public&nbsp;java.lang.Number&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.228">getX</a>(int&nbsp;series,
  622. int&nbsp;item)</pre>
  623. <div class="block">Returns the x-value for an item within a series.</div>
  624. <dl>
  625. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  626. <dd><code><a href="../../../../../org/jfree/data/xy/XYDataset.html#getX-int-int-">getX</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</a></code></dd>
  627. <dt><span class="paramLabel">Parameters:</span></dt>
  628. <dd><code>series</code> - the series index.</dd>
  629. <dd><code>item</code> - the item index.</dd>
  630. <dt><span class="returnLabel">Returns:</span></dt>
  631. <dd>The x-value.</dd>
  632. </dl>
  633. </li>
  634. </ul>
  635. <a name="getY-int-int-">
  636. <!-- -->
  637. </a>
  638. <ul class="blockList">
  639. <li class="blockList">
  640. <h4>getY</h4>
  641. <pre>public&nbsp;java.lang.Number&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.241">getY</a>(int&nbsp;series,
  642. int&nbsp;item)</pre>
  643. <div class="block">Returns the y-value for an item within a series.</div>
  644. <dl>
  645. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  646. <dd><code><a href="../../../../../org/jfree/data/xy/XYDataset.html#getY-int-int-">getY</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/XYDataset.html" title="interface in org.jfree.data.xy">XYDataset</a></code></dd>
  647. <dt><span class="paramLabel">Parameters:</span></dt>
  648. <dd><code>series</code> - the series index.</dd>
  649. <dd><code>item</code> - the item index.</dd>
  650. <dt><span class="returnLabel">Returns:</span></dt>
  651. <dd>The y-value.</dd>
  652. </dl>
  653. </li>
  654. </ul>
  655. <a name="getOpenValue-int-int-">
  656. <!-- -->
  657. </a>
  658. <ul class="blockList">
  659. <li class="blockList">
  660. <h4>getOpenValue</h4>
  661. <pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.256">getOpenValue</a>(int&nbsp;series,
  662. int&nbsp;item)</pre>
  663. <div class="block">Returns the open-value for an item within a series.</div>
  664. <dl>
  665. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  666. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getOpenValue-int-int-">getOpenValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  667. <dt><span class="paramLabel">Parameters:</span></dt>
  668. <dd><code>series</code> - the series index.</dd>
  669. <dd><code>item</code> - the item index.</dd>
  670. <dt><span class="returnLabel">Returns:</span></dt>
  671. <dd>The open-value.</dd>
  672. </dl>
  673. </li>
  674. </ul>
  675. <a name="getOpen-int-int-">
  676. <!-- -->
  677. </a>
  678. <ul class="blockList">
  679. <li class="blockList">
  680. <h4>getOpen</h4>
  681. <pre>public&nbsp;java.lang.Number&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.271">getOpen</a>(int&nbsp;series,
  682. int&nbsp;item)</pre>
  683. <div class="block">Returns the open-value for an item within a series.</div>
  684. <dl>
  685. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  686. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getOpen-int-int-">getOpen</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  687. <dt><span class="paramLabel">Parameters:</span></dt>
  688. <dd><code>series</code> - the series index.</dd>
  689. <dd><code>item</code> - the item index.</dd>
  690. <dt><span class="returnLabel">Returns:</span></dt>
  691. <dd>The open-value.</dd>
  692. </dl>
  693. </li>
  694. </ul>
  695. <a name="getCloseValue-int-int-">
  696. <!-- -->
  697. </a>
  698. <ul class="blockList">
  699. <li class="blockList">
  700. <h4>getCloseValue</h4>
  701. <pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.284">getCloseValue</a>(int&nbsp;series,
  702. int&nbsp;item)</pre>
  703. <div class="block">Returns the close-value for an item within a series.</div>
  704. <dl>
  705. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  706. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getCloseValue-int-int-">getCloseValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  707. <dt><span class="paramLabel">Parameters:</span></dt>
  708. <dd><code>series</code> - the series index.</dd>
  709. <dd><code>item</code> - the item index.</dd>
  710. <dt><span class="returnLabel">Returns:</span></dt>
  711. <dd>The close-value.</dd>
  712. </dl>
  713. </li>
  714. </ul>
  715. <a name="getClose-int-int-">
  716. <!-- -->
  717. </a>
  718. <ul class="blockList">
  719. <li class="blockList">
  720. <h4>getClose</h4>
  721. <pre>public&nbsp;java.lang.Number&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.299">getClose</a>(int&nbsp;series,
  722. int&nbsp;item)</pre>
  723. <div class="block">Returns the close-value for an item within a series.</div>
  724. <dl>
  725. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  726. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getClose-int-int-">getClose</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  727. <dt><span class="paramLabel">Parameters:</span></dt>
  728. <dd><code>series</code> - the series index.</dd>
  729. <dd><code>item</code> - the item index.</dd>
  730. <dt><span class="returnLabel">Returns:</span></dt>
  731. <dd>The close-value.</dd>
  732. </dl>
  733. </li>
  734. </ul>
  735. <a name="getHighValue-int-int-">
  736. <!-- -->
  737. </a>
  738. <ul class="blockList">
  739. <li class="blockList">
  740. <h4>getHighValue</h4>
  741. <pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.312">getHighValue</a>(int&nbsp;series,
  742. int&nbsp;item)</pre>
  743. <div class="block">Returns the high-value for an item within a series.</div>
  744. <dl>
  745. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  746. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getHighValue-int-int-">getHighValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  747. <dt><span class="paramLabel">Parameters:</span></dt>
  748. <dd><code>series</code> - the series index.</dd>
  749. <dd><code>item</code> - the item index.</dd>
  750. <dt><span class="returnLabel">Returns:</span></dt>
  751. <dd>The high-value.</dd>
  752. </dl>
  753. </li>
  754. </ul>
  755. <a name="getHigh-int-int-">
  756. <!-- -->
  757. </a>
  758. <ul class="blockList">
  759. <li class="blockList">
  760. <h4>getHigh</h4>
  761. <pre>public&nbsp;java.lang.Number&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.327">getHigh</a>(int&nbsp;series,
  762. int&nbsp;item)</pre>
  763. <div class="block">Returns the high-value for an item within a series.</div>
  764. <dl>
  765. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  766. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getHigh-int-int-">getHigh</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  767. <dt><span class="paramLabel">Parameters:</span></dt>
  768. <dd><code>series</code> - the series index.</dd>
  769. <dd><code>item</code> - the item index.</dd>
  770. <dt><span class="returnLabel">Returns:</span></dt>
  771. <dd>The high-value.</dd>
  772. </dl>
  773. </li>
  774. </ul>
  775. <a name="getLowValue-int-int-">
  776. <!-- -->
  777. </a>
  778. <ul class="blockList">
  779. <li class="blockList">
  780. <h4>getLowValue</h4>
  781. <pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.340">getLowValue</a>(int&nbsp;series,
  782. int&nbsp;item)</pre>
  783. <div class="block">Returns the low-value for an item within a series.</div>
  784. <dl>
  785. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  786. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getLowValue-int-int-">getLowValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  787. <dt><span class="paramLabel">Parameters:</span></dt>
  788. <dd><code>series</code> - the series index.</dd>
  789. <dd><code>item</code> - the item index.</dd>
  790. <dt><span class="returnLabel">Returns:</span></dt>
  791. <dd>The low-value.</dd>
  792. </dl>
  793. </li>
  794. </ul>
  795. <a name="getLow-int-int-">
  796. <!-- -->
  797. </a>
  798. <ul class="blockList">
  799. <li class="blockList">
  800. <h4>getLow</h4>
  801. <pre>public&nbsp;java.lang.Number&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.355">getLow</a>(int&nbsp;series,
  802. int&nbsp;item)</pre>
  803. <div class="block">Returns the low-value for an item within a series.</div>
  804. <dl>
  805. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  806. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getLow-int-int-">getLow</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  807. <dt><span class="paramLabel">Parameters:</span></dt>
  808. <dd><code>series</code> - the series index.</dd>
  809. <dd><code>item</code> - the item index.</dd>
  810. <dt><span class="returnLabel">Returns:</span></dt>
  811. <dd>The low-value.</dd>
  812. </dl>
  813. </li>
  814. </ul>
  815. <a name="getVolume-int-int-">
  816. <!-- -->
  817. </a>
  818. <ul class="blockList">
  819. <li class="blockList">
  820. <h4>getVolume</h4>
  821. <pre>public&nbsp;java.lang.Number&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.369">getVolume</a>(int&nbsp;series,
  822. int&nbsp;item)</pre>
  823. <div class="block">Returns <code>null</code> always, because this dataset doesn't record
  824. any volume data.</div>
  825. <dl>
  826. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  827. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getVolume-int-int-">getVolume</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  828. <dt><span class="paramLabel">Parameters:</span></dt>
  829. <dd><code>series</code> - the series index (ignored).</dd>
  830. <dd><code>item</code> - the item index (ignored).</dd>
  831. <dt><span class="returnLabel">Returns:</span></dt>
  832. <dd><code>null</code>.</dd>
  833. </dl>
  834. </li>
  835. </ul>
  836. <a name="getVolumeValue-int-int-">
  837. <!-- -->
  838. </a>
  839. <ul class="blockList">
  840. <li class="blockList">
  841. <h4>getVolumeValue</h4>
  842. <pre>public&nbsp;double&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.383">getVolumeValue</a>(int&nbsp;series,
  843. int&nbsp;item)</pre>
  844. <div class="block">Returns <code>Double.NaN</code> always, because this dataset doesn't
  845. record any volume data.</div>
  846. <dl>
  847. <dt><span class="overrideSpecifyLabel">Specified by:</span></dt>
  848. <dd><code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html#getVolumeValue-int-int-">getVolumeValue</a></code>&nbsp;in interface&nbsp;<code><a href="../../../../../org/jfree/data/xy/OHLCDataset.html" title="interface in org.jfree.data.xy">OHLCDataset</a></code></dd>
  849. <dt><span class="paramLabel">Parameters:</span></dt>
  850. <dd><code>series</code> - the series index (ignored).</dd>
  851. <dd><code>item</code> - the item index (ignored).</dd>
  852. <dt><span class="returnLabel">Returns:</span></dt>
  853. <dd><code>Double.NaN</code>.</dd>
  854. </dl>
  855. </li>
  856. </ul>
  857. <a name="removeSeries-int-">
  858. <!-- -->
  859. </a>
  860. <ul class="blockList">
  861. <li class="blockList">
  862. <h4>removeSeries</h4>
  863. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.395">removeSeries</a>(int&nbsp;index)</pre>
  864. <div class="block">Removes the series with the specified index and sends a
  865. <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a> to all registered listeners.</div>
  866. <dl>
  867. <dt><span class="paramLabel">Parameters:</span></dt>
  868. <dd><code>index</code> - the series index.</dd>
  869. <dt><span class="simpleTagLabel">Since:</span></dt>
  870. <dd>1.0.14</dd>
  871. </dl>
  872. </li>
  873. </ul>
  874. <a name="removeSeries-org.jfree.data.time.ohlc.OHLCSeries-">
  875. <!-- -->
  876. </a>
  877. <ul class="blockList">
  878. <li class="blockList">
  879. <h4>removeSeries</h4>
  880. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.413">removeSeries</a>(<a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc">OHLCSeries</a>&nbsp;series)</pre>
  881. <div class="block">Removes the specified series from the dataset and sends a
  882. <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a> to all registered listeners.</div>
  883. <dl>
  884. <dt><span class="paramLabel">Parameters:</span></dt>
  885. <dd><code>series</code> - the series (<code>null</code> not permitted).</dd>
  886. <dt><span class="returnLabel">Returns:</span></dt>
  887. <dd><code>true</code> if the series was removed, and
  888. <code>false</code> otherwise.</dd>
  889. <dt><span class="simpleTagLabel">Since:</span></dt>
  890. <dd>1.0.14</dd>
  891. </dl>
  892. </li>
  893. </ul>
  894. <a name="removeAllSeries--">
  895. <!-- -->
  896. </a>
  897. <ul class="blockList">
  898. <li class="blockList">
  899. <h4>removeAllSeries</h4>
  900. <pre>public&nbsp;void&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.429">removeAllSeries</a>()</pre>
  901. <div class="block">Removes all the series from the collection and sends a
  902. <a href="../../../../../org/jfree/data/general/DatasetChangeEvent.html" title="class in org.jfree.data.general"><code>DatasetChangeEvent</code></a> to all registered listeners.</div>
  903. <dl>
  904. <dt><span class="simpleTagLabel">Since:</span></dt>
  905. <dd>1.0.14</dd>
  906. </dl>
  907. </li>
  908. </ul>
  909. <a name="equals-java.lang.Object-">
  910. <!-- -->
  911. </a>
  912. <ul class="blockList">
  913. <li class="blockList">
  914. <h4>equals</h4>
  915. <pre>public&nbsp;boolean&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.456">equals</a>(java.lang.Object&nbsp;obj)</pre>
  916. <div class="block">Tests this instance for equality with an arbitrary object.</div>
  917. <dl>
  918. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  919. <dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  920. <dt><span class="paramLabel">Parameters:</span></dt>
  921. <dd><code>obj</code> - the object (<code>null</code> permitted).</dd>
  922. <dt><span class="returnLabel">Returns:</span></dt>
  923. <dd>A boolean.</dd>
  924. </dl>
  925. </li>
  926. </ul>
  927. <a name="hashCode--">
  928. <!-- -->
  929. </a>
  930. <ul class="blockList">
  931. <li class="blockList">
  932. <h4>hashCode</h4>
  933. <pre>public&nbsp;int&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.476">hashCode</a>()</pre>
  934. <div class="block">Returns a hash code for this instance.</div>
  935. <dl>
  936. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  937. <dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  938. <dt><span class="returnLabel">Returns:</span></dt>
  939. <dd>A hash code.</dd>
  940. </dl>
  941. </li>
  942. </ul>
  943. <a name="clone--">
  944. <!-- -->
  945. </a>
  946. <ul class="blockListLast">
  947. <li class="blockList">
  948. <h4>clone</h4>
  949. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../../../src-html/org/jfree/data/time/ohlc/OHLCSeriesCollection.html#line.493">clone</a>()
  950. throws java.lang.CloneNotSupportedException</pre>
  951. <div class="block">Returns a clone of this instance.</div>
  952. <dl>
  953. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  954. <dd><code><a href="../../../../../org/jfree/data/general/AbstractDataset.html#clone--">clone</a></code>&nbsp;in class&nbsp;<code><a href="../../../../../org/jfree/data/general/AbstractDataset.html" title="class in org.jfree.data.general">AbstractDataset</a></code></dd>
  955. <dt><span class="returnLabel">Returns:</span></dt>
  956. <dd>A clone.</dd>
  957. <dt><span class="throwsLabel">Throws:</span></dt>
  958. <dd><code>java.lang.CloneNotSupportedException</code> - if there is a problem.</dd>
  959. </dl>
  960. </li>
  961. </ul>
  962. </li>
  963. </ul>
  964. </li>
  965. </ul>
  966. </div>
  967. </div>
  968. <!-- ========= END OF CLASS DATA ========= -->
  969. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  970. <div class="bottomNav"><a name="navbar.bottom">
  971. <!-- -->
  972. </a>
  973. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  974. <a name="navbar.bottom.firstrow">
  975. <!-- -->
  976. </a>
  977. <ul class="navList" title="Navigation">
  978. <li><a href="../../../../../overview-summary.html">Overview</a></li>
  979. <li><a href="package-summary.html">Package</a></li>
  980. <li class="navBarCell1Rev">Class</li>
  981. <li><a href="class-use/OHLCSeriesCollection.html">Use</a></li>
  982. <li><a href="package-tree.html">Tree</a></li>
  983. <li><a href="../../../../../deprecated-list.html">Deprecated</a></li>
  984. <li><a href="../../../../../index-files/index-1.html">Index</a></li>
  985. <li><a href="../../../../../help-doc.html">Help</a></li>
  986. </ul>
  987. </div>
  988. <div class="subNav">
  989. <ul class="navList">
  990. <li><a href="../../../../../org/jfree/data/time/ohlc/OHLCSeries.html" title="class in org.jfree.data.time.ohlc"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  991. <li>Next&nbsp;Class</li>
  992. </ul>
  993. <ul class="navList">
  994. <li><a href="../../../../../index.html?org/jfree/data/time/ohlc/OHLCSeriesCollection.html" target="_top">Frames</a></li>
  995. <li><a href="OHLCSeriesCollection.html" target="_top">No&nbsp;Frames</a></li>
  996. </ul>
  997. <ul class="navList" id="allclasses_navbar_bottom">
  998. <li><a href="../../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  999. </ul>
  1000. <div>
  1001. <script type="text/javascript"><!--
  1002. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  1003. if(window==top) {
  1004. allClassesLink.style.display = "block";
  1005. }
  1006. else {
  1007. allClassesLink.style.display = "none";
  1008. }
  1009. //-->
  1010. </script>
  1011. </div>
  1012. <div>
  1013. <ul class="subNavList">
  1014. <li>Summary:&nbsp;</li>
  1015. <li>Nested&nbsp;|&nbsp;</li>
  1016. <li>Field&nbsp;|&nbsp;</li>
  1017. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  1018. <li><a href="#method.summary">Method</a></li>
  1019. </ul>
  1020. <ul class="subNavList">
  1021. <li>Detail:&nbsp;</li>
  1022. <li>Field&nbsp;|&nbsp;</li>
  1023. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  1024. <li><a href="#method.detail">Method</a></li>
  1025. </ul>
  1026. </div>
  1027. <a name="skip.navbar.bottom">
  1028. <!-- -->
  1029. </a></div>
  1030. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  1031. </body>
  1032. </html>