📄 blockcontainer.html
字号:
<TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.lang.Object</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/BlockContainer.html#draw(java.awt.Graphics2D, java.awt.geom.Rectangle2D, java.lang.Object)">draw</A></B>(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, java.lang.Object params)</CODE><BR> Draws the block within the specified area.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/BlockContainer.html#equals(java.lang.Object)">equals</A></B>(java.lang.Object obj)</CODE><BR> Tests this container for equality with an arbitrary object.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> <A HREF="../../../../org/jfree/chart/block/Arrangement.html" title="interface in org.jfree.chart.block">Arrangement</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/BlockContainer.html#getArrangement()">getArrangement</A></B>()</CODE><BR> Returns the arrangement (layout) manager for the container.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> java.util.List</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/BlockContainer.html#getBlocks()">getBlocks</A></B>()</CODE><BR> Returns an unmodifiable list of the <A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block"><CODE>Block</CODE></A> objects managed by this arrangement.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> boolean</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/BlockContainer.html#isEmpty()">isEmpty</A></B>()</CODE><BR> Returns <code>true</code> if there are no blocks in the container, and <code>false</code> otherwise.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE> void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../org/jfree/chart/block/BlockContainer.html#setArrangement(org.jfree.chart.block.Arrangement)">setArrangement</A></B>(<A HREF="../../../../org/jfree/chart/block/Arrangement.html" title="interface in org.jfree.chart.block">Arrangement</A> arrangement)</CODE><BR> Sets the arrangement (layout) manager.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.chart.block.AbstractBlock"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from class org.jfree.chart.block.<A HREF="../../../../org/jfree/chart/block/AbstractBlock.html" title="class in org.jfree.chart.block">AbstractBlock</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><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#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#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></TD></TR></TABLE> <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"><TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE>finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_org.jfree.chart.block.Block"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TH ALIGN="left"><B>Methods inherited from interface org.jfree.chart.block.<A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</A></B></TH></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><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></TD></TR></TABLE> <P><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_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>Constructor Detail</B></FONT></TH></TR></TABLE><A NAME="BlockContainer()"><!-- --></A><H3>BlockContainer</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/block/BlockContainer.html#line.86"><B>BlockContainer</B></A>()</PRE><DL><DD>Creates a new instance with default settings.<P></DL><HR><A NAME="BlockContainer(org.jfree.chart.block.Arrangement)"><!-- --></A><H3>BlockContainer</H3><PRE>public <A HREF="../../../../src-html/org/jfree/chart/block/BlockContainer.html#line.96"><B>BlockContainer</B></A>(<A HREF="../../../../org/jfree/chart/block/Arrangement.html" title="interface in org.jfree.chart.block">Arrangement</A> arrangement)</PRE><DL><DD>Creates a new instance with the specified arrangement.<P><DL><DT><B>Parameters:</B><DD><CODE>arrangement</CODE> - the arrangement manager (<code>null</code> not permitted).</DL></DL><!-- ============ METHOD DETAIL ========== --><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="getArrangement()"><!-- --></A><H3>getArrangement</H3><PRE>public <A HREF="../../../../org/jfree/chart/block/Arrangement.html" title="interface in org.jfree.chart.block">Arrangement</A> <A HREF="../../../../src-html/org/jfree/chart/block/BlockContainer.html#line.109"><B>getArrangement</B></A>()</PRE><DL><DD>Returns the arrangement (layout) manager for the container.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>The arrangement manager (never <code>null</code>).</DL></DD></DL><HR><A NAME="setArrangement(org.jfree.chart.block.Arrangement)"><!-- --></A><H3>setArrangement</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/block/BlockContainer.html#line.118"><B>setArrangement</B></A>(<A HREF="../../../../org/jfree/chart/block/Arrangement.html" title="interface in org.jfree.chart.block">Arrangement</A> arrangement)</PRE><DL><DD>Sets the arrangement (layout) manager.<P><DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>arrangement</CODE> - the arrangement (<code>null</code> not permitted).</DL></DD></DL><HR><A NAME="isEmpty()"><!-- --></A><H3>isEmpty</H3><PRE>public boolean <A HREF="../../../../src-html/org/jfree/chart/block/BlockContainer.html#line.131"><B>isEmpty</B></A>()</PRE><DL><DD>Returns <code>true</code> if there are no blocks in the container, and <code>false</code> otherwise.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A boolean.</DL></DD></DL><HR><A NAME="getBlocks()"><!-- --></A><H3>getBlocks</H3><PRE>public java.util.List <A HREF="../../../../src-html/org/jfree/chart/block/BlockContainer.html#line.141"><B>getBlocks</B></A>()</PRE><DL><DD>Returns an unmodifiable list of the <A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block"><CODE>Block</CODE></A> objects managed by this arrangement.<P><DD><DL></DL></DD><DD><DL><DT><B>Returns:</B><DD>A list of blocks.</DL></DD></DL><HR><A NAME="add(org.jfree.chart.block.Block)"><!-- --></A><H3>add</H3><PRE>public void <A HREF="../../../../src-html/org/jfree/chart/block/BlockContainer.html#line.150"><B>add</B></A>(<A HREF="../../../../org/jfree/chart/block/Block.html" title="interface in org.jfree.chart.block">Block</A> block)</PRE><DL><DD>Adds a block to the container.
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -