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

📄 block.html

📁 jfreechart最新源代码
💻 HTML
📖 第 1 页 / 共 2 页
字号:
<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="getID()"><!-- --></A><H3>getID</H3><PRE>java.lang.String <A HREF="../../../../src-html/org/jfree/chart/block/Block.html#line.66"><B>getID</B></A>()</PRE><DL><DD>Returns an ID for the block.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>An ID.</DL></DD></DL><HR><A NAME="setID(java.lang.String)"><!-- --></A><H3>setID</H3><PRE>void <A HREF="../../../../src-html/org/jfree/chart/block/Block.html#line.73"><B>setID</B></A>(java.lang.String&nbsp;id)</PRE><DL><DD>Sets the ID for the block.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>id</CODE> - the ID.</DL></DD></DL><HR><A NAME="arrange(java.awt.Graphics2D)"><!-- --></A><H3>arrange</H3><PRE>org.jfree.ui.Size2D <A HREF="../../../../src-html/org/jfree/chart/block/Block.html#line.83"><B>arrange</B></A>(java.awt.Graphics2D&nbsp;g2)</PRE><DL><DD>Arranges the contents of the block, with no constraints, and returns the block size.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>g2</CODE> - the graphics device.<DT><B>Returns:</B><DD>The size of the block.</DL></DD></DL><HR><A NAME="arrange(java.awt.Graphics2D, org.jfree.chart.block.RectangleConstraint)"><!-- --></A><H3>arrange</H3><PRE>org.jfree.ui.Size2D <A HREF="../../../../src-html/org/jfree/chart/block/Block.html#line.94"><B>arrange</B></A>(java.awt.Graphics2D&nbsp;g2,                            <A HREF="../../../../org/jfree/chart/block/RectangleConstraint.html" title="class in org.jfree.chart.block">RectangleConstraint</A>&nbsp;constraint)</PRE><DL><DD>Arranges the contents of the block, within the given constraints, and  returns the block size.<P><DD><DL></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="getBounds()"><!-- --></A><H3>getBounds</H3><PRE>java.awt.geom.Rectangle2D <A HREF="../../../../src-html/org/jfree/chart/block/Block.html#line.101"><B>getBounds</B></A>()</PRE><DL><DD>Returns the current bounds of the block.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The bounds.</DL></DD></DL><HR><A NAME="setBounds(java.awt.geom.Rectangle2D)"><!-- --></A><H3>setBounds</H3><PRE>void <A HREF="../../../../src-html/org/jfree/chart/block/Block.html#line.108"><B>setBounds</B></A>(java.awt.geom.Rectangle2D&nbsp;bounds)</PRE><DL><DD>Sets the bounds of the block.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>bounds</CODE> - the bounds.</DL></DD></DL><HR><A NAME="draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.lang.Object)"><!-- --></A><H3>draw</H3><PRE>java.lang.Object <A HREF="../../../../src-html/org/jfree/chart/block/Block.html#line.121"><B>draw</B></A>(java.awt.Graphics2D&nbsp;g2,                      java.awt.geom.Rectangle2D&nbsp;area,                      java.lang.Object&nbsp;params)</PRE><DL><DD>Draws the block within the specified area.  Refer to the documentation  for the implementing class for information about the <code>params</code> and return value supported.<P><DD><DL></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> - optional parameters (<code>null</code> permitted).<DT><B>Returns:</B><DD>An optional return value (possibly <code>null</code>).</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>&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="class-use/Block.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A>&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-files/index-1.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;<A HREF="../../../../org/jfree/chart/block/Arrangement.html" title="interface in org.jfree.chart.block"><B>PREV CLASS</B></A>&nbsp;&nbsp;<A HREF="../../../../org/jfree/chart/block/BlockBorder.html" title="class in org.jfree.chart.block"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">  <A HREF="../../../../index.html?org/jfree/chart/block/Block.html" target="_top"><B>FRAMES</B></A>  &nbsp;&nbsp;<A HREF="Block.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;FIELD&nbsp;|&nbsp;CONSTR&nbsp;|&nbsp;<A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL:&nbsp;FIELD&nbsp;|&nbsp;CONSTR&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 + -