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

📄 title.html

📁 JFreeChart 9.20的文档 需要用JAVA在网页上做统计图的东东
💻 HTML
📖 第 1 页 / 共 3 页
字号:
<TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#getSpacer()">getSpacer</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the spacer  which determines the blank space around the edges of the title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;org.jfree.ui.VerticalAlignment</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#getVerticalAlignment()">getVerticalAlignment</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns the vertical alignment of the title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;int</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#hashCode()">hashCode</A></B>()</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Returns a hashcode for the title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected &nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#notifyListeners(org.jfree.chart.event.TitleChangeEvent)">notifyListeners</A></B>(<A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event">TitleChangeEvent</A>&nbsp;event)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Notifies all registered listeners that the chart title has changed in some way.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#removeChangeListener(org.jfree.chart.event.TitleChangeListener)">removeChangeListener</A></B>(<A HREF="../../../../org/jfree/chart/event/TitleChangeListener.html" title="interface in org.jfree.chart.event">TitleChangeListener</A>&nbsp;listener)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Unregisters an object for notification of changes to the chart title.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#setHorizontalAlignment(org.jfree.ui.HorizontalAlignment)">setHorizontalAlignment</A></B>(org.jfree.ui.HorizontalAlignment&nbsp;alignment)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the horizontal alignment for the title and sends a <A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><CODE>TitleChangeEvent</CODE></A> to all registered listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#setNotify(boolean)">setNotify</A></B>(boolean&nbsp;flag)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the flag that indicates whether or not the notification mechanism is enabled.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#setPosition(org.jfree.ui.RectangleEdge)">setPosition</A></B>(org.jfree.ui.RectangleEdge&nbsp;position)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the position for the title and sends a <A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><CODE>TitleChangeEvent</CODE></A> to all registered  listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#setSpacer(org.jfree.ui.Spacer)">setSpacer</A></B>(org.jfree.ui.Spacer&nbsp;spacer)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the spacer for the title and sends a <A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><CODE>TitleChangeEvent</CODE></A> to all registered  listeners.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>&nbsp;void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/title/Title.html#setVerticalAlignment(org.jfree.ui.VerticalAlignment)">setVerticalAlignment</A></B>(org.jfree.ui.VerticalAlignment&nbsp;alignment)</CODE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sets the vertical alignment for the title, and notifies any registered listeners of the change.</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 =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="TOP"><!-- --></A><H3>TOP</H3><PRE>public static final int <B>TOP</B></PRE><DL><DD>Useful constant for the title position (also used for vertical alignment).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.TOP">Constant Field Values</A></DL></DL><HR><A NAME="BOTTOM"><!-- --></A><H3>BOTTOM</H3><PRE>public static final int <B>BOTTOM</B></PRE><DL><DD>Useful constant for the title position (also used for vertical alignment).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.BOTTOM">Constant Field Values</A></DL></DL><HR><A NAME="RIGHT"><!-- --></A><H3>RIGHT</H3><PRE>public static final int <B>RIGHT</B></PRE><DL><DD>Useful constant for the title position (also used for horizontal alignment).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.RIGHT">Constant Field Values</A></DL></DL><HR><A NAME="LEFT"><!-- --></A><H3>LEFT</H3><PRE>public static final int <B>LEFT</B></PRE><DL><DD>Useful constant for the title position (also used for horizontal alignment).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.LEFT">Constant Field Values</A></DL></DL><HR><A NAME="NORTH"><!-- --></A><H3>NORTH</H3><PRE>public static final int <B>NORTH</B></PRE><DL><DD>Useful constant for the title position.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.NORTH">Constant Field Values</A></DL></DL><HR><A NAME="SOUTH"><!-- --></A><H3>SOUTH</H3><PRE>public static final int <B>SOUTH</B></PRE><DL><DD>Useful constant for the title position.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.SOUTH">Constant Field Values</A></DL></DL><HR><A NAME="EAST"><!-- --></A><H3>EAST</H3><PRE>public static final int <B>EAST</B></PRE><DL><DD>Useful constant for the title position.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.EAST">Constant Field Values</A></DL></DL><HR><A NAME="WEST"><!-- --></A><H3>WEST</H3><PRE>public static final int <B>WEST</B></PRE><DL><DD>Useful constant for the title position.<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.WEST">Constant Field Values</A></DL></DL><HR><A NAME="CENTER"><!-- --></A><H3>CENTER</H3><PRE>public static final int <B>CENTER</B></PRE><DL><DD>Useful constant for the title alignment (horizontal or vertical).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.CENTER">Constant Field Values</A></DL></DL><HR><A NAME="MIDDLE"><!-- --></A><H3>MIDDLE</H3><PRE>public static final int <B>MIDDLE</B></PRE><DL><DD>Useful constant for the title alignment (horizontal or vertical).<P><DL><DT><B>See Also:</B><DD><A HREF="../../../../constant-values.html#org.jfree.chart.title.Title.MIDDLE">Constant Field Values</A></DL></DL><HR><A NAME="DEFAULT_POSITION"><!-- --></A><H3>DEFAULT_POSITION</H3><PRE>public static final org.jfree.ui.RectangleEdge <B>DEFAULT_POSITION</B></PRE><DL><DD>The default title position.<P><DL></DL></DL><HR><A NAME="DEFAULT_HORIZONTAL_ALIGNMENT"><!-- --></A><H3>DEFAULT_HORIZONTAL_ALIGNMENT</H3><PRE>public static final org.jfree.ui.HorizontalAlignment <B>DEFAULT_HORIZONTAL_ALIGNMENT</B></PRE><DL><DD>The default horizontal alignment.<P><DL></DL></DL><HR><A NAME="DEFAULT_VERTICAL_ALIGNMENT"><!-- --></A><H3>DEFAULT_VERTICAL_ALIGNMENT</H3><PRE>public static final org.jfree.ui.VerticalAlignment <B>DEFAULT_VERTICAL_ALIGNMENT</B></PRE><DL><DD>The default vertical alignment.<P><DL></DL></DL><HR><A NAME="DEFAULT_SPACER"><!-- --></A><H3>DEFAULT_SPACER</H3><PRE>public static final org.jfree.ui.Spacer <B>DEFAULT_SPACER</B></PRE><DL><DD>Default title spacer.<P><DL></DL></DL><!-- ========= 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="Title()"><!-- --></A><H3>Title</H3><PRE>protected <B>Title</B>()</PRE><DL><DD>Creates a new title, using default attributes where necessary.<P></DL><HR><A NAME="Title(org.jfree.ui.RectangleEdge, org.jfree.ui.HorizontalAlignment, org.jfree.ui.VerticalAlignment)"><!-- --></A><H3>Title</H3><PRE>protected <B>Title</B>(org.jfree.ui.RectangleEdge&nbsp;position,                org.jfree.ui.HorizontalAlignment&nbsp;horizontalAlignment,                org.jfree.ui.VerticalAlignment&nbsp;verticalAlignment)</PRE><DL><DD>Creates a new title, using default attributes where necessary.<P><DT><B>Parameters:</B><DD><CODE>position</CODE> - the position of the title (<code>null</code> not permitted).<DD><CODE>horizontalAlignment</CODE> - the horizontal alignment of the title                              (<code>null</code> not permitted).<DD><CODE>verticalAlignment</CODE> - the vertical alignment of the title                            (<code>null</code> not permitted).</DL><HR><A NAME="Title(org.jfree.ui.RectangleEdge, org.jfree.ui.HorizontalAlignment, org.jfree.ui.VerticalAlignment, org.jfree.ui.Spacer)"><!-- --></A><H3>Title</H3><PRE>protected <B>Title</B>(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 title. <P> This class defines constants for the valid position and alignment values --- an IllegalArgumentException will be thrown if invalid values are passed to this constructor.<P><DT><B>Parameters:</B><DD><CODE>position</CODE> - the position of the title (<code>null</code> not permitted).<DD><CODE>horizontalAlignment</CODE> - the horizontal alignment of the title (LEFT, CENTER or RIGHT,                              <code>null</code> not permitted).<DD><CODE>verticalAlignment</CODE> - the vertical alignment of the title (TOP, MIDDLE or BOTTOM,                            <code>null</code> not permitted).<DD><CODE>spacer</CODE> - the amount of space to leave around the outside of the title                 (<code>null</code> not permitted).</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="getPosition()"><!-- --></A><H3>getPosition</H3><PRE>public org.jfree.ui.RectangleEdge <B>getPosition</B>()</PRE><DL><DD>Returns the position of the title.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>the title position (never <code>null</code>).</DL></DD></DL><HR><A NAME="setPosition(org.jfree.ui.RectangleEdge)"><!-- --></A><H3>setPosition</H3><PRE>public void <B>setPosition</B>(org.jfree.ui.RectangleEdge&nbsp;position)</PRE><DL><DD>Sets the position for the title and sends a <A HREF="../../../../org/jfree/chart/event/TitleChangeEvent.html" title="class in org.jfree.chart.event"><CODE>TitleChangeEvent</CODE></A> to all registered  listeners.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>position</CODE> - the position (<code>null</code> not permitted).</DL></DD>

⌨️ 快捷键说明

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