texttitle.html
来自「jfreechart1。0。2的api。」· HTML 代码 · 共 1,078 行 · 第 1/4 页
HTML
1,078 行
public boolean <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.404"><B>getExpandToFitSpace</B></A>()</PRE><DL><DD>Returns the flag that controls whether or not the title expands to fit the available space.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The flag.</DL></DD></DL><HR><A NAME="setExpandToFitSpace(boolean)"><!-- --></A><H3>setExpandToFitSpace</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.415"><B>setExpandToFitSpace</B></A>(boolean expand)</PRE><DL><DD>Sets the flag that controls whether the title expands to fit the available space, 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>expand</CODE> - the flag.</DL></DD></DL><HR><A NAME="arrange(java.awt.Graphics2D, org.jfree.chart.block.RectangleConstraint)"><!-- --></A><H3>arrange</H3><PRE>public org.jfree.ui.Size2D <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.429"><B>arrange</B></A>(java.awt.Graphics2D g2, <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A> constraint)</PRE><DL><DD>Arranges the contents of the block, within the given constraints, and returns the block size.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/block/Block.html#arrange(java.awt.Graphics2D, org.jfree.chart.block.RectangleConstraint)">arrange</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/block/AbstractBlock.html#arrange(java.awt.Graphics2D, org.jfree.chart.block.RectangleConstraint)">arrange</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/block/AbstractBlock.html" title="class in org.jfree.chart.block">AbstractBlock</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>constraint</CODE> - the constraint (<code>null</code> not permitted).<DT><B>Returns:</B><DD>The block size (in Java2D units, never <code>null</code>).</DL></DD></DL><HR><A NAME="arrangeRR(java.awt.Graphics2D, org.jfree.data.Range, org.jfree.data.Range)"><!-- --></A><H3>arrangeRR</H3><PRE>protected org.jfree.ui.Size2D <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.483"><B>arrangeRR</B></A>(java.awt.Graphics2D g2, <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> widthRange, <A HREF="../../../../org/jfree/data/Range.html" title="class in org.jfree.data">Range</A> heightRange)</PRE><DL><DD>Returns the content size for the title. This will reflect the fact that a text title positioned on the left or right of a chart will be rotated 90 degrees.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>widthRange</CODE> - the width range.<DD><CODE>heightRange</CODE> - the height range.<DT><B>Returns:</B><DD>The content size.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D)"><!-- --></A><H3>draw</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.529"><B>draw</B></A>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)</PRE><DL><DD>Draws the title on a Java 2D graphics device (such as the screen or a printer).<P><DD><DL><DT><B>Specified by:</B><DD><CODE>draw</CODE> in interface <CODE>org.jfree.ui.Drawable</CODE><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/title/Title.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D)">draw</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>area</CODE> - the area allocated for the title.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.lang.Object)"><!-- --></A><H3>draw</H3><PRE>public java.lang.Object <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.545"><B>draw</B></A>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, java.lang.Object params)</PRE><DL><DD>Draws the block within the specified area.<P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../org/jfree/chart/block/Block.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.lang.Object)">draw</A></CODE> in interface <CODE><A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>area</CODE> - the area.<DD><CODE>params</CODE> - if this is an instance of <A HREF="../../../../org/jfree/chart/block/EntityBlockParams.html" title="interface in org.jfree.chart.block"><CODE>EntityBlockParams</CODE></A> it is used to determine whether or not an <A HREF="../../../../org/jfree/chart/entity/EntityCollection.html" title="interface in org.jfree.chart.entity"><CODE>EntityCollection</CODE></A> is returned by this method.<DT><B>Returns:</B><DD>An <A HREF="../../../../org/jfree/chart/entity/EntityCollection.html" title="interface in org.jfree.chart.entity"><CODE>EntityCollection</CODE></A> containing a chart entity for the title, or <code>null</code>.</DL></DD></DL><HR><A NAME="drawHorizontal(java.awt.Graphics2D, java.awt.geom.Rectangle2D)"><!-- --></A><H3>drawHorizontal</H3><PRE>protected void <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.592"><B>drawHorizontal</B></A>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)</PRE><DL><DD>Draws a the title horizontally within the specified area. This method will be called from the <A HREF="../../../../org/jfree/chart/title/TextTitle.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D)"><CODE>draw</CODE></A> method.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>area</CODE> - the area for the title.</DL></DD></DL><HR><A NAME="drawVertical(java.awt.Graphics2D, java.awt.geom.Rectangle2D)"><!-- --></A><H3>drawVertical</H3><PRE>protected void <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.639"><B>drawVertical</B></A>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area)</PRE><DL><DD>Draws a the title vertically within the specified area. This method will be called from the <A HREF="../../../../org/jfree/chart/title/TextTitle.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D)"><CODE>draw</CODE></A> method.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DD><CODE>area</CODE> - the area for the title.</DL></DD></DL><HR><A NAME="equals(java.lang.Object)"><!-- --></A><H3>equals</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.685"><B>equals</B></A>(java.lang.Object obj)</PRE><DL><DD>Tests this title for equality with another object.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/title/Title.html#equals(java.lang.Object)">equals</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>obj</CODE> - the object (<code>null</code> permitted).<DT><B>Returns:</B><DD><code>true</code> or <code>false</code>.</DL></DD></DL><HR><A NAME="hashCode()"><!-- --></A><H3>hashCode</H3><PRE>public int <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.719"><B>hashCode</B></A>()</PRE><DL><DD>Returns a hash code.<P><DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/title/Title.html#hashCode()">hashCode</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A hash code.</DL></DD></DL><HR><A NAME="clone()"><!-- --></A><H3>clone</H3><PRE>public java.lang.Object <A HREF="../../../../src-html/org/jfree/chart/title/TextTitle.html#line.736"><B>clone</B></A>() throws java.lang.CloneNotSupportedException</PRE><DL><DD>Returns a clone of this object.<P><DD><DL><DT><B>Specified by:</B><DD><CODE>clone</CODE> in interface <CODE>org.jfree.util.PublicCloneable</CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../org/jfree/chart/title/Title.html#clone()">clone</A></CODE> in class <CODE><A HREF="../../../../org/jfree/chart/title/Title.html" title="class in org.jfree.chart.title">Title</A></CODE></DL></DD><DD><DL><DT><B>Returns:</B><DD>A clone.<DT><B>Throws:</B><DD><CODE>java.lang.CloneNotSupportedException</CODE> - never.</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=2 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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="class-use/TextTitle.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-files/index-1.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../org/jfree/chart/title/LegendTitle.html" title="class in org.jfree.chart.title"><B>PREV CLASS</B></A> <A HREF="../../../../org/jfree/chart/title/Title.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?org/jfree/chart/title/TextTitle.html" target="_top"><B>FRAMES</B></A> <A HREF="TextTitle.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <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 + =
减小字号Ctrl + -
显示快捷键?