DateTitle.html 28 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493
  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
  2. <!-- NewPage -->
  3. <html lang="en">
  4. <head>
  5. <!-- Generated by javadoc (1.8.0_05) on Thu Jul 31 14:50:41 CEST 2014 -->
  6. <title>DateTitle (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="DateTitle (JFreeChart Class Library (version 1.0.19-fx))";
  16. }
  17. }
  18. catch(err) {
  19. }
  20. //-->
  21. var methods = {"i0":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/DateTitle.html">Use</a></li>
  44. <li><a href="package-tree.html">Tree</a></li>
  45. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  46. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  47. <li><a href="../../../../help-doc.html">Help</a></li>
  48. </ul>
  49. </div>
  50. <div class="subNav">
  51. <ul class="navList">
  52. <li><a href="../../../../org/jfree/chart/title/CompositeTitle.html" title="class in org.jfree.chart.title"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  53. <li><a href="../../../../org/jfree/chart/title/ImageTitle.html" title="class in org.jfree.chart.title"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  54. </ul>
  55. <ul class="navList">
  56. <li><a href="../../../../index.html?org/jfree/chart/title/DateTitle.html" target="_top">Frames</a></li>
  57. <li><a href="DateTitle.html" target="_top">No&nbsp;Frames</a></li>
  58. </ul>
  59. <ul class="navList" id="allclasses_navbar_top">
  60. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  61. </ul>
  62. <div>
  63. <script type="text/javascript"><!--
  64. allClassesLink = document.getElementById("allclasses_navbar_top");
  65. if(window==top) {
  66. allClassesLink.style.display = "block";
  67. }
  68. else {
  69. allClassesLink.style.display = "none";
  70. }
  71. //-->
  72. </script>
  73. </div>
  74. <div>
  75. <ul class="subNavList">
  76. <li>Summary:&nbsp;</li>
  77. <li>Nested&nbsp;|&nbsp;</li>
  78. <li><a href="#fields.inherited.from.class.org.jfree.chart.title.TextTitle">Field</a>&nbsp;|&nbsp;</li>
  79. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  80. <li><a href="#method.summary">Method</a></li>
  81. </ul>
  82. <ul class="subNavList">
  83. <li>Detail:&nbsp;</li>
  84. <li>Field&nbsp;|&nbsp;</li>
  85. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  86. <li><a href="#method.detail">Method</a></li>
  87. </ul>
  88. </div>
  89. <a name="skip.navbar.top">
  90. <!-- -->
  91. </a></div>
  92. <!-- ========= END OF TOP NAVBAR ========= -->
  93. <!-- ======== START OF CLASS DATA ======== -->
  94. <div class="header">
  95. <div class="subTitle">org.jfree.chart.title</div>
  96. <h2 title="Class DateTitle" class="title">Class DateTitle</h2>
  97. </div>
  98. <div class="contentContainer">
  99. <ul class="inheritance">
  100. <li>java.lang.Object</li>
  101. <li>
  102. <ul class="inheritance">
  103. <li><a href="../../../../org/jfree/chart/block/AbstractBlock.html" title="class in org.jfree.chart.block">org.jfree.chart.block.AbstractBlock</a></li>
  104. <li>
  105. <ul class="inheritance">
  106. <li><a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">org.jfree.chart.title.Title</a></li>
  107. <li>
  108. <ul class="inheritance">
  109. <li><a href="../../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">org.jfree.chart.title.TextTitle</a></li>
  110. <li>
  111. <ul class="inheritance">
  112. <li>org.jfree.chart.title.DateTitle</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.Serializable, java.lang.Cloneable, <a href="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</a>, org.jfree.ui.Drawable, org.jfree.util.PublicCloneable</dd>
  128. </dl>
  129. <hr>
  130. <br>
  131. <pre>public class <a href="../../../../src-html/org/jfree/chart/title/DateTitle.html#line.75">DateTitle</a>
  132. extends <a href="../../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">TextTitle</a>
  133. implements java.io.Serializable</pre>
  134. <div class="block">A chart title that displays the date.
  135. <p>
  136. Keep in mind that a chart can have several titles, and that they can appear
  137. at the top, left, right or bottom of the chart - a <code>DateTitle</code>
  138. will commonly appear at the bottom of a chart, although you can place it
  139. anywhere.
  140. <P>
  141. By specifying the locale, dates are formatted to the correct standard for
  142. the given locale. For example, a date would appear as "January 17, 2000" in
  143. the US, but "17 January 2000" in most European locales.</div>
  144. <dl>
  145. <dt><span class="seeLabel">See Also:</span></dt>
  146. <dd><a href="../../../../serialized-form.html#org.jfree.chart.title.DateTitle">Serialized Form</a></dd>
  147. </dl>
  148. </li>
  149. </ul>
  150. </div>
  151. <div class="summary">
  152. <ul class="blockList">
  153. <li class="blockList">
  154. <!-- =========== FIELD SUMMARY =========== -->
  155. <ul class="blockList">
  156. <li class="blockList"><a name="field.summary">
  157. <!-- -->
  158. </a>
  159. <h3>Field Summary</h3>
  160. <ul class="blockList">
  161. <li class="blockList"><a name="fields.inherited.from.class.org.jfree.chart.title.TextTitle">
  162. <!-- -->
  163. </a>
  164. <h3>Fields inherited from class&nbsp;org.jfree.chart.title.<a href="../../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">TextTitle</a></h3>
  165. <code><a href="../../../../org/jfree/chart/title/TextTitle.html#DEFAULT_FONT">DEFAULT_FONT</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#DEFAULT_TEXT_PAINT">DEFAULT_TEXT_PAINT</a></code></li>
  166. </ul>
  167. <ul class="blockList">
  168. <li class="blockList"><a name="fields.inherited.from.class.org.jfree.chart.title.Title">
  169. <!-- -->
  170. </a>
  171. <h3>Fields inherited from class&nbsp;org.jfree.chart.title.<a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a></h3>
  172. <code><a href="../../../../org/jfree/chart/title/Title.html#DEFAULT_HORIZONTAL_ALIGNMENT">DEFAULT_HORIZONTAL_ALIGNMENT</a>, <a href="../../../../org/jfree/chart/title/Title.html#DEFAULT_PADDING">DEFAULT_PADDING</a>, <a href="../../../../org/jfree/chart/title/Title.html#DEFAULT_POSITION">DEFAULT_POSITION</a>, <a href="../../../../org/jfree/chart/title/Title.html#DEFAULT_VERTICAL_ALIGNMENT">DEFAULT_VERTICAL_ALIGNMENT</a>, <a href="../../../../org/jfree/chart/title/Title.html#visible">visible</a></code></li>
  173. </ul>
  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/title/DateTitle.html#DateTitle--">DateTitle</a></span>()</code>
  189. <div class="block">Creates a new chart title that displays the current date in the default
  190. (LONG) format for the locale, positioned to the bottom right of the
  191. chart.</div>
  192. </td>
  193. </tr>
  194. <tr class="rowColor">
  195. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/DateTitle.html#DateTitle-int-">DateTitle</a></span>(int&nbsp;style)</code>
  196. <div class="block">Creates a new chart title that displays the current date with the
  197. specified style (for the default locale).</div>
  198. </td>
  199. </tr>
  200. <tr class="altColor">
  201. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/DateTitle.html#DateTitle-int-java.util.Locale-java.awt.Font-java.awt.Paint-">DateTitle</a></span>(int&nbsp;style,
  202. java.util.Locale&nbsp;locale,
  203. java.awt.Font&nbsp;font,
  204. java.awt.Paint&nbsp;paint)</code>
  205. <div class="block">Creates a new chart title that displays the current date.</div>
  206. </td>
  207. </tr>
  208. <tr class="rowColor">
  209. <td class="colOne"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/DateTitle.html#DateTitle-int-java.util.Locale-java.awt.Font-java.awt.Paint-org.jfree.ui.RectangleEdge-org.jfree.ui.HorizontalAlignment-org.jfree.ui.VerticalAlignment-org.jfree.ui.RectangleInsets-">DateTitle</a></span>(int&nbsp;style,
  210. java.util.Locale&nbsp;locale,
  211. java.awt.Font&nbsp;font,
  212. java.awt.Paint&nbsp;paint,
  213. org.jfree.ui.RectangleEdge&nbsp;position,
  214. org.jfree.ui.HorizontalAlignment&nbsp;horizontalAlignment,
  215. org.jfree.ui.VerticalAlignment&nbsp;verticalAlignment,
  216. org.jfree.ui.RectangleInsets&nbsp;padding)</code>
  217. <div class="block">Creates a new chart title that displays the current date.</div>
  218. </td>
  219. </tr>
  220. </table>
  221. </li>
  222. </ul>
  223. <!-- ========== METHOD SUMMARY =========== -->
  224. <ul class="blockList">
  225. <li class="blockList"><a name="method.summary">
  226. <!-- -->
  227. </a>
  228. <h3>Method Summary</h3>
  229. <table class="memberSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
  230. <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>
  231. <tr>
  232. <th class="colFirst" scope="col">Modifier and Type</th>
  233. <th class="colLast" scope="col">Method and Description</th>
  234. </tr>
  235. <tr id="i0" class="altColor">
  236. <td class="colFirst"><code>void</code></td>
  237. <td class="colLast"><code><span class="memberNameLink"><a href="../../../../org/jfree/chart/title/DateTitle.html#setDateFormat-int-java.util.Locale-">setDateFormat</a></span>(int&nbsp;style,
  238. java.util.Locale&nbsp;locale)</code>
  239. <div class="block">Set the format of the date.</div>
  240. </td>
  241. </tr>
  242. </table>
  243. <ul class="blockList">
  244. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.title.TextTitle">
  245. <!-- -->
  246. </a>
  247. <h3>Methods inherited from class&nbsp;org.jfree.chart.title.<a href="../../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">TextTitle</a></h3>
  248. <code><a href="../../../../org/jfree/chart/title/TextTitle.html#arrange-java.awt.Graphics2D-org.jfree.chart.block.RectangleConstraint-">arrange</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#arrangeFN-java.awt.Graphics2D-double-">arrangeFN</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#arrangeNN-java.awt.Graphics2D-">arrangeNN</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#arrangeRN-java.awt.Graphics2D-org.jfree.data.Range-">arrangeRN</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#arrangeRR-java.awt.Graphics2D-org.jfree.data.Range-org.jfree.data.Range-">arrangeRR</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#clone--">clone</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">draw</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#draw-java.awt.Graphics2D-java.awt.geom.Rectangle2D-java.lang.Object-">draw</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#drawHorizontal-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">drawHorizontal</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#drawVertical-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">drawVertical</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#equals-java.lang.Object-">equals</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getBackgroundPaint--">getBackgroundPaint</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getExpandToFitSpace--">getExpandToFitSpace</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getFont--">getFont</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getMaximumLinesToDisplay--">getMaximumLinesToDisplay</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getPaint--">getPaint</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getText--">getText</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getTextAlignment--">getTextAlignment</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getToolTipText--">getToolTipText</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#getURLText--">getURLText</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#hashCode--">hashCode</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setBackgroundPaint-java.awt.Paint-">setBackgroundPaint</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setExpandToFitSpace-boolean-">setExpandToFitSpace</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setFont-java.awt.Font-">setFont</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setMaximumLinesToDisplay-int-">setMaximumLinesToDisplay</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setPaint-java.awt.Paint-">setPaint</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setText-java.lang.String-">setText</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setTextAlignment-org.jfree.ui.HorizontalAlignment-">setTextAlignment</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setToolTipText-java.lang.String-">setToolTipText</a>, <a href="../../../../org/jfree/chart/title/TextTitle.html#setURLText-java.lang.String-">setURLText</a></code></li>
  249. </ul>
  250. <ul class="blockList">
  251. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.title.Title">
  252. <!-- -->
  253. </a>
  254. <h3>Methods inherited from class&nbsp;org.jfree.chart.title.<a href="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</a></h3>
  255. <code><a href="../../../../org/jfree/chart/title/Title.html#addChangeListener-org.jfree.chart.event.TitleChangeListener-">addChangeListener</a>, <a href="../../../../org/jfree/chart/title/Title.html#getHorizontalAlignment--">getHorizontalAlignment</a>, <a href="../../../../org/jfree/chart/title/Title.html#getNotify--">getNotify</a>, <a href="../../../../org/jfree/chart/title/Title.html#getPosition--">getPosition</a>, <a href="../../../../org/jfree/chart/title/Title.html#getVerticalAlignment--">getVerticalAlignment</a>, <a href="../../../../org/jfree/chart/title/Title.html#isVisible--">isVisible</a>, <a href="../../../../org/jfree/chart/title/Title.html#notifyListeners-org.jfree.chart.event.TitleChangeEvent-">notifyListeners</a>, <a href="../../../../org/jfree/chart/title/Title.html#removeChangeListener-org.jfree.chart.event.TitleChangeListener-">removeChangeListener</a>, <a href="../../../../org/jfree/chart/title/Title.html#setHorizontalAlignment-org.jfree.ui.HorizontalAlignment-">setHorizontalAlignment</a>, <a href="../../../../org/jfree/chart/title/Title.html#setNotify-boolean-">setNotify</a>, <a href="../../../../org/jfree/chart/title/Title.html#setPosition-org.jfree.ui.RectangleEdge-">setPosition</a>, <a href="../../../../org/jfree/chart/title/Title.html#setVerticalAlignment-org.jfree.ui.VerticalAlignment-">setVerticalAlignment</a>, <a href="../../../../org/jfree/chart/title/Title.html#setVisible-boolean-">setVisible</a></code></li>
  256. </ul>
  257. <ul class="blockList">
  258. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.block.AbstractBlock">
  259. <!-- -->
  260. </a>
  261. <h3>Methods inherited from class&nbsp;org.jfree.chart.block.<a href="../../../../org/jfree/chart/block/AbstractBlock.html" title="class in org.jfree.chart.block">AbstractBlock</a></h3>
  262. <code><a href="../../../../org/jfree/chart/block/AbstractBlock.html#arrange-java.awt.Graphics2D-">arrange</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#calculateTotalHeight-double-">calculateTotalHeight</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#calculateTotalWidth-double-">calculateTotalWidth</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#drawBorder-java.awt.Graphics2D-java.awt.geom.Rectangle2D-">drawBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getBorder--">getBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getBounds--">getBounds</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getContentXOffset--">getContentXOffset</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getContentYOffset--">getContentYOffset</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getFrame--">getFrame</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getHeight--">getHeight</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getID--">getID</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getMargin--">getMargin</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getPadding--">getPadding</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#getWidth--">getWidth</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBorder-org.jfree.chart.block.BlockBorder-">setBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBorder-double-double-double-double-">setBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setBounds-java.awt.geom.Rectangle2D-">setBounds</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setFrame-org.jfree.chart.block.BlockFrame-">setFrame</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setHeight-double-">setHeight</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setID-java.lang.String-">setID</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setMargin-double-double-double-double-">setMargin</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setMargin-org.jfree.ui.RectangleInsets-">setMargin</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setPadding-double-double-double-double-">setPadding</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setPadding-org.jfree.ui.RectangleInsets-">setPadding</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#setWidth-double-">setWidth</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#toContentConstraint-org.jfree.chart.block.RectangleConstraint-">toContentConstraint</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimBorder-java.awt.geom.Rectangle2D-">trimBorder</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimMargin-java.awt.geom.Rectangle2D-">trimMargin</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimPadding-java.awt.geom.Rectangle2D-">trimPadding</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimToContentHeight-double-">trimToContentHeight</a>, <a href="../../../../org/jfree/chart/block/AbstractBlock.html#trimToContentWidth-double-">trimToContentWidth</a></code></li>
  263. </ul>
  264. <ul class="blockList">
  265. <li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
  266. <!-- -->
  267. </a>
  268. <h3>Methods inherited from class&nbsp;java.lang.Object</h3>
  269. <code>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</code></li>
  270. </ul>
  271. <ul class="blockList">
  272. <li class="blockList"><a name="methods.inherited.from.class.org.jfree.chart.block.Block">
  273. <!-- -->
  274. </a>
  275. <h3>Methods inherited from interface&nbsp;org.jfree.chart.block.<a href="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</a></h3>
  276. <code><a href="../../../../org/jfree/chart/block/Block.html#arrange-java.awt.Graphics2D-">arrange</a>, <a href="../../../../org/jfree/chart/block/Block.html#getBounds--">getBounds</a>, <a href="../../../../org/jfree/chart/block/Block.html#getID--">getID</a>, <a href="../../../../org/jfree/chart/block/Block.html#setBounds-java.awt.geom.Rectangle2D-">setBounds</a>, <a href="../../../../org/jfree/chart/block/Block.html#setID-java.lang.String-">setID</a></code></li>
  277. </ul>
  278. </li>
  279. </ul>
  280. </li>
  281. </ul>
  282. </div>
  283. <div class="details">
  284. <ul class="blockList">
  285. <li class="blockList">
  286. <!-- ========= CONSTRUCTOR DETAIL ======== -->
  287. <ul class="blockList">
  288. <li class="blockList"><a name="constructor.detail">
  289. <!-- -->
  290. </a>
  291. <h3>Constructor Detail</h3>
  292. <a name="DateTitle--">
  293. <!-- -->
  294. </a>
  295. <ul class="blockList">
  296. <li class="blockList">
  297. <h4>DateTitle</h4>
  298. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/title/DateTitle.html#line.88">DateTitle</a>()</pre>
  299. <div class="block">Creates a new chart title that displays the current date in the default
  300. (LONG) format for the locale, positioned to the bottom right of the
  301. chart.
  302. <P>
  303. The color will be black in 12 point, plain Helvetica font (maps to Arial
  304. on Win32 systems without Helvetica).</div>
  305. </li>
  306. </ul>
  307. <a name="DateTitle-int-">
  308. <!-- -->
  309. </a>
  310. <ul class="blockList">
  311. <li class="blockList">
  312. <h4>DateTitle</h4>
  313. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/title/DateTitle.html#line.102">DateTitle</a>(int&nbsp;style)</pre>
  314. <div class="block">Creates a new chart title that displays the current date with the
  315. specified style (for the default locale).
  316. <P>
  317. The date style should be one of: <code>SHORT</code>,
  318. <code>MEDIUM</code>, <code>LONG</code> or <code>FULL</code>
  319. (defined in <code>java.util.DateFormat</code>).</div>
  320. <dl>
  321. <dt><span class="paramLabel">Parameters:</span></dt>
  322. <dd><code>style</code> - the date style.</dd>
  323. </dl>
  324. </li>
  325. </ul>
  326. <a name="DateTitle-int-java.util.Locale-java.awt.Font-java.awt.Paint-">
  327. <!-- -->
  328. </a>
  329. <ul class="blockList">
  330. <li class="blockList">
  331. <h4>DateTitle</h4>
  332. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/title/DateTitle.html#line.122">DateTitle</a>(int&nbsp;style,
  333. java.util.Locale&nbsp;locale,
  334. java.awt.Font&nbsp;font,
  335. java.awt.Paint&nbsp;paint)</pre>
  336. <div class="block">Creates a new chart title that displays the current date.
  337. <p>
  338. The date style should be one of: <code>SHORT</code>,
  339. <code>MEDIUM</code>, <code>LONG</code> or <code>FULL</code> (defined
  340. in <code>java.util.DateFormat</code>).
  341. <P>
  342. For the locale, you can use <code>Locale.getDefault()</code> for the
  343. default locale.</div>
  344. <dl>
  345. <dt><span class="paramLabel">Parameters:</span></dt>
  346. <dd><code>style</code> - the date style.</dd>
  347. <dd><code>locale</code> - the locale.</dd>
  348. <dd><code>font</code> - the font.</dd>
  349. <dd><code>paint</code> - the text color.</dd>
  350. </dl>
  351. </li>
  352. </ul>
  353. <a name="DateTitle-int-java.util.Locale-java.awt.Font-java.awt.Paint-org.jfree.ui.RectangleEdge-org.jfree.ui.HorizontalAlignment-org.jfree.ui.VerticalAlignment-org.jfree.ui.RectangleInsets-">
  354. <!-- -->
  355. </a>
  356. <ul class="blockListLast">
  357. <li class="blockList">
  358. <h4>DateTitle</h4>
  359. <pre>public&nbsp;<a href="../../../../src-html/org/jfree/chart/title/DateTitle.html#line.151">DateTitle</a>(int&nbsp;style,
  360. java.util.Locale&nbsp;locale,
  361. java.awt.Font&nbsp;font,
  362. java.awt.Paint&nbsp;paint,
  363. org.jfree.ui.RectangleEdge&nbsp;position,
  364. org.jfree.ui.HorizontalAlignment&nbsp;horizontalAlignment,
  365. org.jfree.ui.VerticalAlignment&nbsp;verticalAlignment,
  366. org.jfree.ui.RectangleInsets&nbsp;padding)</pre>
  367. <div class="block">Creates a new chart title that displays the current date.
  368. <p>
  369. The date style should be one of: <code>SHORT</code>,
  370. <code>MEDIUM</code>, <code>LONG</code> or <code>FULL</code> (defined
  371. in <code>java.util.DateFormat</code>).
  372. <P>
  373. For the locale, you can use <code>Locale.getDefault()</code> for the
  374. default locale.</div>
  375. <dl>
  376. <dt><span class="paramLabel">Parameters:</span></dt>
  377. <dd><code>style</code> - the date style.</dd>
  378. <dd><code>locale</code> - the locale.</dd>
  379. <dd><code>font</code> - the font (not null).</dd>
  380. <dd><code>paint</code> - the text color (not null).</dd>
  381. <dd><code>position</code> - the relative location of this title (use constants in
  382. Title).</dd>
  383. <dd><code>horizontalAlignment</code> - the horizontal text alignment of this title
  384. (use constants in Title).</dd>
  385. <dd><code>verticalAlignment</code> - the vertical text alignment of this title (use
  386. constants in Title).</dd>
  387. <dd><code>padding</code> - determines the blank space around the outside of the
  388. title (not null).</dd>
  389. </dl>
  390. </li>
  391. </ul>
  392. </li>
  393. </ul>
  394. <!-- ============ METHOD DETAIL ========== -->
  395. <ul class="blockList">
  396. <li class="blockList"><a name="method.detail">
  397. <!-- -->
  398. </a>
  399. <h3>Method Detail</h3>
  400. <a name="setDateFormat-int-java.util.Locale-">
  401. <!-- -->
  402. </a>
  403. <ul class="blockListLast">
  404. <li class="blockList">
  405. <h4>setDateFormat</h4>
  406. <pre>public&nbsp;void&nbsp;<a href="../../../../src-html/org/jfree/chart/title/DateTitle.html#line.172">setDateFormat</a>(int&nbsp;style,
  407. java.util.Locale&nbsp;locale)</pre>
  408. <div class="block">Set the format of the date.
  409. <P>
  410. The date style should be one of: <code>SHORT</code>,
  411. <code>MEDIUM</code>, <code>LONG</code> or <code>FULL</code> (defined
  412. in <code>java.util.DateFormat</code>).
  413. <P>
  414. For the locale, you can use <code>Locale.getDefault()</code> for the
  415. default locale.</div>
  416. <dl>
  417. <dt><span class="paramLabel">Parameters:</span></dt>
  418. <dd><code>style</code> - the date style.</dd>
  419. <dd><code>locale</code> - the locale.</dd>
  420. </dl>
  421. </li>
  422. </ul>
  423. </li>
  424. </ul>
  425. </li>
  426. </ul>
  427. </div>
  428. </div>
  429. <!-- ========= END OF CLASS DATA ========= -->
  430. <!-- ======= START OF BOTTOM NAVBAR ====== -->
  431. <div class="bottomNav"><a name="navbar.bottom">
  432. <!-- -->
  433. </a>
  434. <div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
  435. <a name="navbar.bottom.firstrow">
  436. <!-- -->
  437. </a>
  438. <ul class="navList" title="Navigation">
  439. <li><a href="../../../../overview-summary.html">Overview</a></li>
  440. <li><a href="package-summary.html">Package</a></li>
  441. <li class="navBarCell1Rev">Class</li>
  442. <li><a href="class-use/DateTitle.html">Use</a></li>
  443. <li><a href="package-tree.html">Tree</a></li>
  444. <li><a href="../../../../deprecated-list.html">Deprecated</a></li>
  445. <li><a href="../../../../index-files/index-1.html">Index</a></li>
  446. <li><a href="../../../../help-doc.html">Help</a></li>
  447. </ul>
  448. </div>
  449. <div class="subNav">
  450. <ul class="navList">
  451. <li><a href="../../../../org/jfree/chart/title/CompositeTitle.html" title="class in org.jfree.chart.title"><span class="typeNameLink">Prev&nbsp;Class</span></a></li>
  452. <li><a href="../../../../org/jfree/chart/title/ImageTitle.html" title="class in org.jfree.chart.title"><span class="typeNameLink">Next&nbsp;Class</span></a></li>
  453. </ul>
  454. <ul class="navList">
  455. <li><a href="../../../../index.html?org/jfree/chart/title/DateTitle.html" target="_top">Frames</a></li>
  456. <li><a href="DateTitle.html" target="_top">No&nbsp;Frames</a></li>
  457. </ul>
  458. <ul class="navList" id="allclasses_navbar_bottom">
  459. <li><a href="../../../../allclasses-noframe.html">All&nbsp;Classes</a></li>
  460. </ul>
  461. <div>
  462. <script type="text/javascript"><!--
  463. allClassesLink = document.getElementById("allclasses_navbar_bottom");
  464. if(window==top) {
  465. allClassesLink.style.display = "block";
  466. }
  467. else {
  468. allClassesLink.style.display = "none";
  469. }
  470. //-->
  471. </script>
  472. </div>
  473. <div>
  474. <ul class="subNavList">
  475. <li>Summary:&nbsp;</li>
  476. <li>Nested&nbsp;|&nbsp;</li>
  477. <li><a href="#fields.inherited.from.class.org.jfree.chart.title.TextTitle">Field</a>&nbsp;|&nbsp;</li>
  478. <li><a href="#constructor.summary">Constr</a>&nbsp;|&nbsp;</li>
  479. <li><a href="#method.summary">Method</a></li>
  480. </ul>
  481. <ul class="subNavList">
  482. <li>Detail:&nbsp;</li>
  483. <li>Field&nbsp;|&nbsp;</li>
  484. <li><a href="#constructor.detail">Constr</a>&nbsp;|&nbsp;</li>
  485. <li><a href="#method.detail">Method</a></li>
  486. </ul>
  487. </div>
  488. <a name="skip.navbar.bottom">
  489. <!-- -->
  490. </a></div>
  491. <!-- ======== END OF BOTTOM NAVBAR ======= -->
  492. </body>
  493. </html>