⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 datetitle.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 2 页
字号:
              java.util.Locale&nbsp;locale)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Set the format of the date.</TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.chart.title.TextTitle"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.chart.title.<A HREF="../../../../org/jfree/chart/title/TextTitle.html" title="class in org.jfree.chart.title">TextTitle</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><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#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#getFont()">getFont</A>, <A HREF="../../../../org/jfree/chart/title/TextTitle.html#getPaint()">getPaint</A>, <A HREF="../../../../org/jfree/chart/title/TextTitle.html#getPreferredHeight(java.awt.Graphics2D, float)">getPreferredHeight</A>, <A HREF="../../../../org/jfree/chart/title/TextTitle.html#getPreferredWidth(java.awt.Graphics2D, float)">getPreferredWidth</A>, <A HREF="../../../../org/jfree/chart/title/TextTitle.html#getText()">getText</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#setFont(java.awt.Font)">setFont</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></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_org.jfree.chart.title.Title"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class org.jfree.chart.title.<A HREF="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><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#getSpacer()">getSpacer</A>, <A HREF="../../../../org/jfree/chart/title/Title.html#getVerticalAlignment()">getVerticalAlignment</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#setSpacer(org.jfree.ui.Spacer)">setSpacer</A>, <A HREF="../../../../org/jfree/chart/title/Title.html#setVerticalAlignment(org.jfree.ui.VerticalAlignment)">setVerticalAlignment</A></CODE></TD></TR></TABLE>&nbsp;<A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.Object</B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE>&nbsp;<P><!-- ============ FIELD DETAIL =========== --><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="DateTitle()"><!-- --></A><H3>DateTitle</H3><PRE>public <B>DateTitle</B>()</PRE><DL><DD>Creates a new chart title that displays the current date in the default (LONG) format for the locale, positioned to the bottom right of the chart. <P> The color will be black in 12 point, plain Helvetica font (maps to Arial on Win32 systems without Helvetica).<P></DL><HR><A NAME="DateTitle(int)"><!-- --></A><H3>DateTitle</H3><PRE>public <B>DateTitle</B>(int&nbsp;style)</PRE><DL><DD>Creates a new chart title that displays the current date with the specified style (for the default locale). <P> The date style should be one of:  <code>SHORT</code>, <code>MEDIUM</code>, <code>LONG</code> or <code>FULL</code> (defined in <code>java.util.DateFormat<code>).<P><DT><B>Parameters:</B><DD><CODE>style</CODE> - the date style.</DL><HR><A NAME="DateTitle(int, java.util.Locale, java.awt.Font, java.awt.Paint)"><!-- --></A><H3>DateTitle</H3><PRE>public <B>DateTitle</B>(int&nbsp;style,                 java.util.Locale&nbsp;locale,                 java.awt.Font&nbsp;font,                 java.awt.Paint&nbsp;paint)</PRE><DL><DD>Creates a new chart title that displays the current date. <p> The date style should be one of:  <code>SHORT</code>, <code>MEDIUM</code>, <code>LONG</code> or <code>FULL</code> (defined in <code>java.util.DateFormat<code>). <P> For the locale, you can use <code>Locale.getDefault()</code> for the default locale.<P><DT><B>Parameters:</B><DD><CODE>style</CODE> - the date style.<DD><CODE>locale</CODE> - the locale.<DD><CODE>font</CODE> - the font.<DD><CODE>paint</CODE> - the text color.</DL><HR><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.Spacer)"><!-- --></A><H3>DateTitle</H3><PRE>public <B>DateTitle</B>(int&nbsp;style,                 java.util.Locale&nbsp;locale,                 java.awt.Font&nbsp;font,                 java.awt.Paint&nbsp;paint,                 org.jfree.ui.RectangleEdge&nbsp;position,                 org.jfree.ui.HorizontalAlignment&nbsp;horizontalAlignment,                 org.jfree.ui.VerticalAlignment&nbsp;verticalAlignment,                 org.jfree.ui.Spacer&nbsp;spacer)</PRE><DL><DD>Creates a new chart title that displays the current date. <p> The date style should be one of:  <code>SHORT</code>, <code>MEDIUM</code>, <code>LONG</code> or <code>FULL</code> (defined in <code>java.util.DateFormat<code>). <P> For the locale, you can use <code>Locale.getDefault()</code> for the default locale.<P><DT><B>Parameters:</B><DD><CODE>style</CODE> - the date style.<DD><CODE>locale</CODE> - the locale.<DD><CODE>font</CODE> - the font (not null).<DD><CODE>paint</CODE> - the text color (not null).<DD><CODE>position</CODE> - the relative location of this title (use constants in Title).<DD><CODE>horizontalAlignment</CODE> - the horizontal text alignment of this title (use constants                             in Title).<DD><CODE>verticalAlignment</CODE> - the vertical text alignment of this title (use constants in                           Title).<DD><CODE>spacer</CODE> - determines the blank space around the outside of the title (not null).</DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="setDateFormat(int, java.util.Locale)"><!-- --></A><H3>setDateFormat</H3><PRE>public void <B>setDateFormat</B>(int&nbsp;style,                          java.util.Locale&nbsp;locale)</PRE><DL><DD>Set the format of the date. <P> The date style should be one of:  <code>SHORT</code>, <code>MEDIUM</code>, <code>LONG</code> or <code>FULL</code> (defined in <code>java.util.DateFormat<code>). <P> For the locale, you can use <code>Locale.getDefault()</code> for the default locale.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>style</CODE> - the date style.<DD><CODE>locale</CODE> - the locale.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ======= START OF BOTTOM NAVBAR ====== --><A NAME="navbar_bottom"><!-- --></A><A HREF="#skip-navbar_bottom" title="Skip navigation links"></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY=""><TR><TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">  <TR ALIGN="center" VALIGN="top">  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> &nbsp;<FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A>&nbsp;</TD>  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A>&nbsp;</TD>  </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">&nbsp;PREV CLASS&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/title/ImageTitle.html" title="class in org.jfree.chart.title"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="DateTitle.html" target="_top"><B>NO FRAMES</B></A>  &nbsp;&nbsp;<SCRIPT type="text/javascript">  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT>  <A HREF="../../../../allclasses-noframe.html"><B>All Classes</B></A></NOSCRIPT></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">  SUMMARY:&nbsp;NESTED&nbsp;|&nbsp;<A HREF="#fields_inherited_from_class_org.jfree.chart.title.TextTitle">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_summary">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&nbsp;|&nbsp;<A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR></BODY></HTML>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -