PeriodAxisLabelInfo.html 30 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721
  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:28 CEST 2014 -->
  6. <title>PeriodAxisLabelInfo (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="PeriodAxisLabelInfo (JFreeChart Class Library (version 1.0.19-fx))";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":10,"i1":42,"i2":10,"i3":10,"i4":10,"i5":10,"i6":10,"i7":10,"i8":10,"i9":10,"i10":10,"i11":10,"i12":10};
  22. var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],8:["t4","Concrete Methods"],32:["t6","Deprecated 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/PeriodAxisLabelInfo.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/axis/PeriodAxis.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../org/jfree/chart/axis/QuarterDateFormat.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../index.html?org/jfree/chart/axis/PeriodAxisLabelInfo.html" target="_top">Frames</a></li>
  57. <li><a href="PeriodAxisLabelInfo.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="#field.summary">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><a href="#field.detail">Field</a>&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.axis</div>
  96. <h2 title="Class PeriodAxisLabelInfo" class="title">Class PeriodAxisLabelInfo</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>org.jfree.chart.axis.PeriodAxisLabelInfo</li>
  104. </ul>
  105. </li>
  106. </ul>
  107. <div class="description">
  108. <ul class="blockList">
  109. <li class="blockList">
  110. <dl>
  111. <dt>All Implemented Interfaces:</dt>
  112. <dd>java.io.Serializable, java.lang.Cloneable</dd>
  113. </dl>
  114. <hr>
  115. <br>
  116. <pre>public class <a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.73">PeriodAxisLabelInfo</a>
  117. extends java.lang.Object
  118. implements java.lang.Cloneable, java.io.Serializable</pre>
  119. <div class="block">A record that contains information for one "band" of date labels in
  120. a <a href="../../../../org/jfree/chart/axis/PeriodAxis.html" title="class in org.jfree.chart.axis"><code>PeriodAxis</code></a>.</div>
  121. <dl>
  122. <dt><span class="seeLabel">See Also:</span></dt>
  123. <dd><a href="../../../../serialized-form.html#org.jfree.chart.axis.PeriodAxisLabelInfo">Serialized Form</a></dd>
  124. </dl>
  125. </li>
  126. </ul>
  127. </div>
  128. <div class="summary">
  129. <ul class="blockList">
  130. <li class="blockList">
  131. <!-- =========== FIELD SUMMARY =========== -->
  132. <ul class="blockList">
  133. <li class="blockList"><a name="field.summary">
  134. <!-- -->
  135. </a>
  136. <h3>Field Summary</h3>
  137. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Field Summary table, listing fields, and an explanation">
  138. <caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
  139. <tr>
  140. <th class="colFirst" scope="col">Modifier and Type</th>
  141. <th class="colLast" scope="col">Field and Description</th>
  142. </tr>
  143. <tr class="altColor">
  144. <td class="colFirst"><code>static java.awt.Paint</code></td>
  145. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#DEFAULT_DIVIDER_PAINT">DEFAULT_DIVIDER_PAINT</a></span></code>
  146. <div class="block">The default divider paint.</div>
  147. </td>
  148. </tr>
  149. <tr class="rowColor">
  150. <td class="colFirst"><code>static java.awt.Stroke</code></td>
  151. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#DEFAULT_DIVIDER_STROKE">DEFAULT_DIVIDER_STROKE</a></span></code>
  152. <div class="block">The default divider stroke.</div>
  153. </td>
  154. </tr>
  155. <tr class="altColor">
  156. <td class="colFirst"><code>static java.awt.Font</code></td>
  157. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#DEFAULT_FONT">DEFAULT_FONT</a></span></code>
  158. <div class="block">The default font.</div>
  159. </td>
  160. </tr>
  161. <tr class="rowColor">
  162. <td class="colFirst"><code>static org.jfree.ui.RectangleInsets</code></td>
  163. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#DEFAULT_INSETS">DEFAULT_INSETS</a></span></code>
  164. <div class="block">The default insets.</div>
  165. </td>
  166. </tr>
  167. <tr class="altColor">
  168. <td class="colFirst"><code>static java.awt.Paint</code></td>
  169. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#DEFAULT_LABEL_PAINT">DEFAULT_LABEL_PAINT</a></span></code>
  170. <div class="block">The default label paint.</div>
  171. </td>
  172. </tr>
  173. </table>
  174. </li>
  175. </ul>
  176. <!-- ======== CONSTRUCTOR SUMMARY ======== -->
  177. <ul class="blockList">
  178. <li class="blockList"><a name="constructor.summary">
  179. <!-- -->
  180. </a>
  181. <h3>Constructor Summary</h3>
  182. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Constructor Summary table, listing constructors, and an explanation">
  183. <caption><span>Constructors</span><span class="tabEnd">&nbsp;</span></caption>
  184. <tr>
  185. <th class="colOne" scope="col">Constructor and Description</th>
  186. </tr>
  187. <tr class="altColor">
  188. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#PeriodAxisLabelInfo-java.lang.Class-java.text.DateFormat-">PeriodAxisLabelInfo</a></span>(java.lang.Class&nbsp;periodClass,
  189. java.text.DateFormat&nbsp;dateFormat)</code>
  190. <div class="block">Creates a new instance.</div>
  191. </td>
  192. </tr>
  193. <tr class="rowColor">
  194. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#PeriodAxisLabelInfo-java.lang.Class-java.text.DateFormat-org.jfree.ui.RectangleInsets-java.awt.Font-java.awt.Paint-boolean-java.awt.Stroke-java.awt.Paint-">PeriodAxisLabelInfo</a></span>(java.lang.Class&nbsp;periodClass,
  195. java.text.DateFormat&nbsp;dateFormat,
  196. org.jfree.ui.RectangleInsets&nbsp;padding,
  197. java.awt.Font&nbsp;labelFont,
  198. java.awt.Paint&nbsp;labelPaint,
  199. boolean&nbsp;drawDividers,
  200. java.awt.Stroke&nbsp;dividerStroke,
  201. java.awt.Paint&nbsp;dividerPaint)</code>
  202. <div class="block">Creates a new instance.</div>
  203. </td>
  204. </tr>
  205. </table>
  206. </li>
  207. </ul>
  208. <!-- ========== METHOD SUMMARY =========== -->
  209. <ul class="blockList">
  210. <li class="blockList"><a name="method.summary">
  211. <!-- -->
  212. </a>
  213. <h3>Method Summary</h3>
  214. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  215. <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><span id="t6" class="tableTab"><span><a href="javascript:show(32);">Deprecated Methods</a></span><span class="tabEnd">&nbsp;</span></span></caption>
  216. <tr>
  217. <th class="colFirst" scope="col">Modifier and Type</th>
  218. <th class="colLast" scope="col">Method and Description</th>
  219. </tr>
  220. <tr id="i0" 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/axis/PeriodAxisLabelInfo.html#clone--">clone</a></span>()</code>
  223. <div class="block">Returns a clone of the object.</div>
  224. </td>
  225. </tr>
  226. <tr id="i1" class="rowColor">
  227. <td class="colFirst"><code><a href="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</a></code></td>
  228. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#createInstance-java.util.Date-java.util.TimeZone-">createInstance</a></span>(java.util.Date&nbsp;millisecond,
  229. java.util.TimeZone&nbsp;zone)</code>
  230. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;
  231. <div class="block"><span class="deprecationComment">As of 1.0.13, use the method that specifies the locale also.</span></div>
  232. </div>
  233. </td>
  234. </tr>
  235. <tr id="i2" class="altColor">
  236. <td class="colFirst"><code><a href="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</a></code></td>
  237. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#createInstance-java.util.Date-java.util.TimeZone-java.util.Locale-">createInstance</a></span>(java.util.Date&nbsp;millisecond,
  238. java.util.TimeZone&nbsp;zone,
  239. java.util.Locale&nbsp;locale)</code>
  240. <div class="block">Creates a time period that includes the specified millisecond, assuming
  241. the given time zone.</div>
  242. </td>
  243. </tr>
  244. <tr id="i3" class="rowColor">
  245. <td class="colFirst"><code>boolean</code></td>
  246. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#equals-java.lang.Object-">equals</a></span>(java.lang.Object&nbsp;obj)</code>
  247. <div class="block">Tests this object for equality with an arbitrary object.</div>
  248. </td>
  249. </tr>
  250. <tr id="i4" class="altColor">
  251. <td class="colFirst"><code>java.text.DateFormat</code></td>
  252. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#getDateFormat--">getDateFormat</a></span>()</code>
  253. <div class="block">Returns a copy of the date formatter.</div>
  254. </td>
  255. </tr>
  256. <tr id="i5" class="rowColor">
  257. <td class="colFirst"><code>java.awt.Paint</code></td>
  258. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#getDividerPaint--">getDividerPaint</a></span>()</code>
  259. <div class="block">Returns the paint used to draw the dividers.</div>
  260. </td>
  261. </tr>
  262. <tr id="i6" class="altColor">
  263. <td class="colFirst"><code>java.awt.Stroke</code></td>
  264. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#getDividerStroke--">getDividerStroke</a></span>()</code>
  265. <div class="block">Returns the stroke used to draw the dividers.</div>
  266. </td>
  267. </tr>
  268. <tr id="i7" class="rowColor">
  269. <td class="colFirst"><code>boolean</code></td>
  270. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#getDrawDividers--">getDrawDividers</a></span>()</code>
  271. <div class="block">Returns a flag that controls whether or not dividers are drawn.</div>
  272. </td>
  273. </tr>
  274. <tr id="i8" class="altColor">
  275. <td class="colFirst"><code>java.awt.Font</code></td>
  276. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#getLabelFont--">getLabelFont</a></span>()</code>
  277. <div class="block">Returns the label font.</div>
  278. </td>
  279. </tr>
  280. <tr id="i9" class="rowColor">
  281. <td class="colFirst"><code>java.awt.Paint</code></td>
  282. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#getLabelPaint--">getLabelPaint</a></span>()</code>
  283. <div class="block">Returns the label paint.</div>
  284. </td>
  285. </tr>
  286. <tr id="i10" class="altColor">
  287. <td class="colFirst"><code>org.jfree.ui.RectangleInsets</code></td>
  288. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#getPadding--">getPadding</a></span>()</code>
  289. <div class="block">Returns the padding for the band.</div>
  290. </td>
  291. </tr>
  292. <tr id="i11" class="rowColor">
  293. <td class="colFirst"><code>java.lang.Class</code></td>
  294. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#getPeriodClass--">getPeriodClass</a></span>()</code>
  295. <div class="block">Returns the subclass of <a href="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time"><code>RegularTimePeriod</code></a> that should be used
  296. to generate the date labels.</div>
  297. </td>
  298. </tr>
  299. <tr id="i12" class="altColor">
  300. <td class="colFirst"><code>int</code></td>
  301. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/axis/PeriodAxisLabelInfo.html#hashCode--">hashCode</a></span>()</code>
  302. <div class="block">Returns a hash code for this object.</div>
  303. </td>
  304. </tr>
  305. </table>
  306. <ul class="blockList">
  307. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  308. <!-- -->
  309. </a>
  310. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  311. <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
  312. </ul>
  313. </li>
  314. </ul>
  315. </li>
  316. </ul>
  317. </div>
  318. <div class="details">
  319. <ul class="blockList">
  320. <li class="blockList">
  321. <!-- ============ FIELD DETAIL =========== -->
  322. <ul class="blockList">
  323. <li class="blockList"><a name="field.detail">
  324. <!-- -->
  325. </a>
  326. <h3>Field Detail</h3>
  327. <a name="DEFAULT_INSETS">
  328. <!-- -->
  329. </a>
  330. <ul class="blockList">
  331. <li class="blockList">
  332. <h4>DEFAULT_INSETS</h4>
  333. <pre>public static final&nbsp;org.jfree.ui.RectangleInsets <a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.79">DEFAULT_INSETS</a></pre>
  334. <div class="block">The default insets.</div>
  335. </li>
  336. </ul>
  337. <a name="DEFAULT_FONT">
  338. <!-- -->
  339. </a>
  340. <ul class="blockList">
  341. <li class="blockList">
  342. <h4>DEFAULT_FONT</h4>
  343. <pre>public static final&nbsp;java.awt.Font <a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.83">DEFAULT_FONT</a></pre>
  344. <div class="block">The default font.</div>
  345. </li>
  346. </ul>
  347. <a name="DEFAULT_LABEL_PAINT">
  348. <!-- -->
  349. </a>
  350. <ul class="blockList">
  351. <li class="blockList">
  352. <h4>DEFAULT_LABEL_PAINT</h4>
  353. <pre>public static final&nbsp;java.awt.Paint <a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.87">DEFAULT_LABEL_PAINT</a></pre>
  354. <div class="block">The default label paint.</div>
  355. </li>
  356. </ul>
  357. <a name="DEFAULT_DIVIDER_STROKE">
  358. <!-- -->
  359. </a>
  360. <ul class="blockList">
  361. <li class="blockList">
  362. <h4>DEFAULT_DIVIDER_STROKE</h4>
  363. <pre>public static final&nbsp;java.awt.Stroke <a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.90">DEFAULT_DIVIDER_STROKE</a></pre>
  364. <div class="block">The default divider stroke.</div>
  365. </li>
  366. </ul>
  367. <a name="DEFAULT_DIVIDER_PAINT">
  368. <!-- -->
  369. </a>
  370. <ul class="blockListLast">
  371. <li class="blockList">
  372. <h4>DEFAULT_DIVIDER_PAINT</h4>
  373. <pre>public static final&nbsp;java.awt.Paint <a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.93">DEFAULT_DIVIDER_PAINT</a></pre>
  374. <div class="block">The default divider paint.</div>
  375. </li>
  376. </ul>
  377. </li>
  378. </ul>
  379. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  380. <ul class="blockList">
  381. <li class="blockList"><a name="constructor.detail">
  382. <!-- -->
  383. </a>
  384. <h3>Constructor Detail</h3>
  385. <a name="PeriodAxisLabelInfo-java.lang.Class-java.text.DateFormat-">
  386. <!-- -->
  387. </a>
  388. <ul class="blockList">
  389. <li class="blockList">
  390. <h4>PeriodAxisLabelInfo</h4>
  391. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.126">PeriodAxisLabelInfo</a>(java.lang.Class&nbsp;periodClass,
  392. java.text.DateFormat&nbsp;dateFormat)</pre>
  393. <div class="block">Creates a new instance.</div>
  394. <dl>
  395. <dt><span class="paramLabel">Parameters:</span></dt>
  396. <dd><code>periodClass</code> - the subclass of <a href="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time"><code>RegularTimePeriod</code></a> to use
  397. (<code>null</code> not permitted).</dd>
  398. <dd><code>dateFormat</code> - the date format (<code>null</code> not permitted).</dd>
  399. </dl>
  400. </li>
  401. </ul>
  402. <a name="PeriodAxisLabelInfo-java.lang.Class-java.text.DateFormat-org.jfree.ui.RectangleInsets-java.awt.Font-java.awt.Paint-boolean-java.awt.Stroke-java.awt.Paint-">
  403. <!-- -->
  404. </a>
  405. <ul class="blockListLast">
  406. <li class="blockList">
  407. <h4>PeriodAxisLabelInfo</h4>
  408. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.148">PeriodAxisLabelInfo</a>(java.lang.Class&nbsp;periodClass,
  409. java.text.DateFormat&nbsp;dateFormat,
  410. org.jfree.ui.RectangleInsets&nbsp;padding,
  411. java.awt.Font&nbsp;labelFont,
  412. java.awt.Paint&nbsp;labelPaint,
  413. boolean&nbsp;drawDividers,
  414. java.awt.Stroke&nbsp;dividerStroke,
  415. java.awt.Paint&nbsp;dividerPaint)</pre>
  416. <div class="block">Creates a new instance.</div>
  417. <dl>
  418. <dt><span class="paramLabel">Parameters:</span></dt>
  419. <dd><code>periodClass</code> - the subclass of <a href="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time"><code>RegularTimePeriod</code></a> to use
  420. (<code>null</code> not permitted).</dd>
  421. <dd><code>dateFormat</code> - the date format (<code>null</code> not permitted).</dd>
  422. <dd><code>padding</code> - controls the space around the band (<code>null</code>
  423. not permitted).</dd>
  424. <dd><code>labelFont</code> - the label font (<code>null</code> not permitted).</dd>
  425. <dd><code>labelPaint</code> - the label paint (<code>null</code> not permitted).</dd>
  426. <dd><code>drawDividers</code> - a flag that controls whether dividers are drawn.</dd>
  427. <dd><code>dividerStroke</code> - the stroke used to draw the dividers
  428. (<code>null</code> not permitted).</dd>
  429. <dd><code>dividerPaint</code> - the paint used to draw the dividers
  430. (<code>null</code> not permitted).</dd>
  431. </dl>
  432. </li>
  433. </ul>
  434. </li>
  435. </ul>
  436. <!-- ============ METHOD DETAIL ========== -->
  437. <ul class="blockList">
  438. <li class="blockList"><a name="method.detail">
  439. <!-- -->
  440. </a>
  441. <h3>Method Detail</h3>
  442. <a name="getPeriodClass--">
  443. <!-- -->
  444. </a>
  445. <ul class="blockList">
  446. <li class="blockList">
  447. <h4>getPeriodClass</h4>
  448. <pre>public&nbsp;java.lang.Class&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.174">getPeriodClass</a>()</pre>
  449. <div class="block">Returns the subclass of <a href="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time"><code>RegularTimePeriod</code></a> that should be used
  450. to generate the date labels.</div>
  451. <dl>
  452. <dt><span class="returnLabel">Returns:</span></dt>
  453. <dd>The class.</dd>
  454. </dl>
  455. </li>
  456. </ul>
  457. <a name="getDateFormat--">
  458. <!-- -->
  459. </a>
  460. <ul class="blockList">
  461. <li class="blockList">
  462. <h4>getDateFormat</h4>
  463. <pre>public&nbsp;java.text.DateFormat&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.183">getDateFormat</a>()</pre>
  464. <div class="block">Returns a copy of the date formatter.</div>
  465. <dl>
  466. <dt><span class="returnLabel">Returns:</span></dt>
  467. <dd>A copy of the date formatter (never <code>null</code>).</dd>
  468. </dl>
  469. </li>
  470. </ul>
  471. <a name="getPadding--">
  472. <!-- -->
  473. </a>
  474. <ul class="blockList">
  475. <li class="blockList">
  476. <h4>getPadding</h4>
  477. <pre>public&nbsp;org.jfree.ui.RectangleInsets&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.192">getPadding</a>()</pre>
  478. <div class="block">Returns the padding for the band.</div>
  479. <dl>
  480. <dt><span class="returnLabel">Returns:</span></dt>
  481. <dd>The padding.</dd>
  482. </dl>
  483. </li>
  484. </ul>
  485. <a name="getLabelFont--">
  486. <!-- -->
  487. </a>
  488. <ul class="blockList">
  489. <li class="blockList">
  490. <h4>getLabelFont</h4>
  491. <pre>public&nbsp;java.awt.Font&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.201">getLabelFont</a>()</pre>
  492. <div class="block">Returns the label font.</div>
  493. <dl>
  494. <dt><span class="returnLabel">Returns:</span></dt>
  495. <dd>The label font (never <code>null</code>).</dd>
  496. </dl>
  497. </li>
  498. </ul>
  499. <a name="getLabelPaint--">
  500. <!-- -->
  501. </a>
  502. <ul class="blockList">
  503. <li class="blockList">
  504. <h4>getLabelPaint</h4>
  505. <pre>public&nbsp;java.awt.Paint&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.210">getLabelPaint</a>()</pre>
  506. <div class="block">Returns the label paint.</div>
  507. <dl>
  508. <dt><span class="returnLabel">Returns:</span></dt>
  509. <dd>The label paint.</dd>
  510. </dl>
  511. </li>
  512. </ul>
  513. <a name="getDrawDividers--">
  514. <!-- -->
  515. </a>
  516. <ul class="blockList">
  517. <li class="blockList">
  518. <h4>getDrawDividers</h4>
  519. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.219">getDrawDividers</a>()</pre>
  520. <div class="block">Returns a flag that controls whether or not dividers are drawn.</div>
  521. <dl>
  522. <dt><span class="returnLabel">Returns:</span></dt>
  523. <dd>A flag.</dd>
  524. </dl>
  525. </li>
  526. </ul>
  527. <a name="getDividerStroke--">
  528. <!-- -->
  529. </a>
  530. <ul class="blockList">
  531. <li class="blockList">
  532. <h4>getDividerStroke</h4>
  533. <pre>public&nbsp;java.awt.Stroke&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.228">getDividerStroke</a>()</pre>
  534. <div class="block">Returns the stroke used to draw the dividers.</div>
  535. <dl>
  536. <dt><span class="returnLabel">Returns:</span></dt>
  537. <dd>The stroke.</dd>
  538. </dl>
  539. </li>
  540. </ul>
  541. <a name="getDividerPaint--">
  542. <!-- -->
  543. </a>
  544. <ul class="blockList">
  545. <li class="blockList">
  546. <h4>getDividerPaint</h4>
  547. <pre>public&nbsp;java.awt.Paint&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.237">getDividerPaint</a>()</pre>
  548. <div class="block">Returns the paint used to draw the dividers.</div>
  549. <dl>
  550. <dt><span class="returnLabel">Returns:</span></dt>
  551. <dd>The paint.</dd>
  552. </dl>
  553. </li>
  554. </ul>
  555. <a name="createInstance-java.util.Date-java.util.TimeZone-">
  556. <!-- -->
  557. </a>
  558. <ul class="blockList">
  559. <li class="blockList">
  560. <h4>createInstance</h4>
  561. <pre>public&nbsp;<a href="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.252">createInstance</a>(java.util.Date&nbsp;millisecond,
  562. java.util.TimeZone&nbsp;zone)</pre>
  563. <div class="block"><span class="deprecatedLabel">Deprecated.</span>&nbsp;<span class="deprecationComment">As of 1.0.13, use the method that specifies the locale also.</span></div>
  564. <div class="block">Creates a time period that includes the specified millisecond, assuming
  565. the given time zone.</div>
  566. <dl>
  567. <dt><span class="paramLabel">Parameters:</span></dt>
  568. <dd><code>millisecond</code> - the time.</dd>
  569. <dd><code>zone</code> - the time zone.</dd>
  570. <dt><span class="returnLabel">Returns:</span></dt>
  571. <dd>The time period.</dd>
  572. </dl>
  573. </li>
  574. </ul>
  575. <a name="createInstance-java.util.Date-java.util.TimeZone-java.util.Locale-">
  576. <!-- -->
  577. </a>
  578. <ul class="blockList">
  579. <li class="blockList">
  580. <h4>createInstance</h4>
  581. <pre>public&nbsp;<a href="../../../../org/jfree/data/time/RegularTimePeriod.html" title="class in org.jfree.data.time">RegularTimePeriod</a>&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.268">createInstance</a>(java.util.Date&nbsp;millisecond,
  582. java.util.TimeZone&nbsp;zone,
  583. java.util.Locale&nbsp;locale)</pre>
  584. <div class="block">Creates a time period that includes the specified millisecond, assuming
  585. the given time zone.</div>
  586. <dl>
  587. <dt><span class="paramLabel">Parameters:</span></dt>
  588. <dd><code>millisecond</code> - the time.</dd>
  589. <dd><code>zone</code> - the time zone.</dd>
  590. <dd><code>locale</code> - the locale.</dd>
  591. <dt><span class="returnLabel">Returns:</span></dt>
  592. <dd>The time period.</dd>
  593. <dt><span class="simpleTagLabel">Since:</span></dt>
  594. <dd>1.0.13.</dd>
  595. </dl>
  596. </li>
  597. </ul>
  598. <a name="equals-java.lang.Object-">
  599. <!-- -->
  600. </a>
  601. <ul class="blockList">
  602. <li class="blockList">
  603. <h4>equals</h4>
  604. <pre>public&nbsp;boolean&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.291">equals</a>(java.lang.Object&nbsp;obj)</pre>
  605. <div class="block">Tests this object for equality with an arbitrary object.</div>
  606. <dl>
  607. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  608. <dd><code>equals</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  609. <dt><span class="paramLabel">Parameters:</span></dt>
  610. <dd><code>obj</code> - the object to test against (<code>null</code> permitted).</dd>
  611. <dt><span class="returnLabel">Returns:</span></dt>
  612. <dd>A boolean.</dd>
  613. </dl>
  614. </li>
  615. </ul>
  616. <a name="hashCode--">
  617. <!-- -->
  618. </a>
  619. <ul class="blockList">
  620. <li class="blockList">
  621. <h4>hashCode</h4>
  622. <pre>public&nbsp;int&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.332">hashCode</a>()</pre>
  623. <div class="block">Returns a hash code for this object.</div>
  624. <dl>
  625. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  626. <dd><code>hashCode</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  627. <dt><span class="returnLabel">Returns:</span></dt>
  628. <dd>A hash code.</dd>
  629. </dl>
  630. </li>
  631. </ul>
  632. <a name="clone--">
  633. <!-- -->
  634. </a>
  635. <ul class="blockListLast">
  636. <li class="blockList">
  637. <h4>clone</h4>
  638. <pre>public&nbsp;java.lang.Object&nbsp;<a href="../../../../src-html/org/jfree/chart/axis/PeriodAxisLabelInfo.html#line.347">clone</a>()
  639. throws java.lang.CloneNotSupportedException</pre>
  640. <div class="block">Returns a clone of the object.</div>
  641. <dl>
  642. <dt><span class="overrideSpecifyLabel">Overrides:</span></dt>
  643. <dd><code>clone</code>&nbsp;in class&nbsp;<code>java.lang.Object</code></dd>
  644. <dt><span class="returnLabel">Returns:</span></dt>
  645. <dd>A clone.</dd>
  646. <dt><span class="throwsLabel">Throws:</span></dt>
  647. <dd><code>java.lang.CloneNotSupportedException</code> - if cloning is not supported.</dd>
  648. </dl>
  649. </li>
  650. </ul>
  651. </li>
  652. </ul>
  653. </li>
  654. </ul>
  655. </div>
  656. </div>
  657. <!-- ========= END OF CLASS DATA ========= -->
  658. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  659. <div class="bottomNav"><a name="navbar.bottom">
  660. <!-- -->
  661. </a>
  662. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  663. <a name="navbar.bottom.firstrow">
  664. <!-- -->
  665. </a>
  666. <ul class="navList" title="Navigation">
  667. <li><a href="../../../../overview-summary.html">Overview</a></li>
  668. <li><a href="package-summary.html">Package</a></li>
  669. <li class="navBarCell1Rev">Class</li>
  670. <li><a href="class-use/PeriodAxisLabelInfo.html">Use</a></li>
  671. <li><a href="package-tree.html">Tree</a></li>
  672. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  673. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  674. <li><a href="../../../../help-doc.html">Help</a></li>
  675. </ul>
  676. </div>
  677. <div class="subNav">
  678. <ul class="navList">
  679. <li><a href="../../../../org/jfree/chart/axis/PeriodAxis.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  680. <li><a href="../../../../org/jfree/chart/axis/QuarterDateFormat.html" title="class in org.jfree.chart.axis"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  681. </ul>
  682. <ul class="navList">
  683. <li><a href="../../../../index.html?org/jfree/chart/axis/PeriodAxisLabelInfo.html" target="_top">Frames</a></li>
  684. <li><a href="PeriodAxisLabelInfo.html" target="_top">No&nbsp;Frames</a></li>
  685. </ul>
  686. <ul class="navList" id="allclasses_navbar_bottom">
  687. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  688. </ul>
  689. <div>
  690. <script type="text/javascript"><!--
  691. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  692. if(window==top) {
  693. allClassesLink.style.display = "block";
  694. }
  695. else {
  696. allClassesLink.style.display = "none";
  697. }
  698. //-->
  699. </script>
  700. </div>
  701. <div>
  702. <ul class="subNavList">
  703. <li>Summary:&nbsp;</li>
  704. <li>Nested&nbsp;|&nbsp;</li>
  705. <li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
  706. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  707. <li><a href="#method.summary">Method</a></li>
  708. </ul>
  709. <ul class="subNavList">
  710. <li>Detail:&nbsp;</li>
  711. <li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
  712. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  713. <li><a href="#method.detail">Method</a></li>
  714. </ul>
  715. </div>
  716. <a name="skip.navbar.bottom">
  717. <!-- -->
  718. </a></div>
  719. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  720. </body>
  721. </html>