groupflowlayout.html

来自「JAVA写的一个不规则窗体程序!用了JNI等技术」· HTML 代码 · 共 501 行 · 第 1/2 页

HTML
501
字号
GroupFlowLayout</H3>
<PRE>
public <B>GroupFlowLayout</B>()</PRE>
<DL>
</DL>

<!-- ============ METHOD DETAIL ========== -->

<A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TD COLSPAN=1><FONT SIZE="+2">
<B>Method Detail</B></FONT></TD>
</TR>
</TABLE>

<A NAME="addLayoutComponent(java.awt.Component, java.lang.Object)"><!-- --></A><H3>
addLayoutComponent</H3>
<PRE>
public void <B>addLayoutComponent</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Component.html">Component</A>&nbsp;comp,                               <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Object.html">Object</A>&nbsp;constraints)</PRE>
<DL>
<DD>Adds a component to the layout manager.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>addLayoutComponent</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>comp</CODE> - the Component to be added<DD><CODE>constraints</CODE> - type GroupFlowLayoutConstraints that contains the Insets used as padding and the group name for the Component<DT><B>See Also:</B><DD><A HREF="../../../../com/ibm/iwt/layout/GroupFlowLayoutConstraints.html"><CODE>GroupFlowLayoutConstraints</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="maximumLayoutSize(java.awt.Container)"><!-- --></A><H3>
maximumLayoutSize</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Dimension.html">Dimension</A> <B>maximumLayoutSize</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Container.html">Container</A>&nbsp;target)</PRE>
<DL>
<DD>Returns the maximum size this layout manager will size for.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>maximumLayoutSize</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - the Container this layout manager is responsible for<DT><B>Returns:</B><DD>the maxium size</DL>
</DD>
</DL>
<HR>

<A NAME="getLayoutAlignmentX(java.awt.Container)"><!-- --></A><H3>
getLayoutAlignmentX</H3>
<PRE>
public float <B>getLayoutAlignmentX</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Container.html">Container</A>&nbsp;target)</PRE>
<DL>
<DD>Returns the layout alignment along the x axis this layout manager uses. <br>This layout always returns 0.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>getLayoutAlignmentX</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - the Container this layout manager is responsible for<DT><B>Returns:</B><DD>the alignment</DL>
</DD>
</DL>
<HR>

<A NAME="getLayoutAlignmentY(java.awt.Container)"><!-- --></A><H3>
getLayoutAlignmentY</H3>
<PRE>
public float <B>getLayoutAlignmentY</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Container.html">Container</A>&nbsp;target)</PRE>
<DL>
<DD>Returns the layout alignment along the y axis this layout manager uses. <br>This layout always returns 0.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>getLayoutAlignmentY</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - the Container this layout manager is responsible for<DT><B>Returns:</B><DD>the alignment</DL>
</DD>
</DL>
<HR>

<A NAME="invalidateLayout(java.awt.Container)"><!-- --></A><H3>
invalidateLayout</H3>
<PRE>
public void <B>invalidateLayout</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Container.html">Container</A>&nbsp;target)</PRE>
<DL>
<DD>Invalidates the layout.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>invalidateLayout</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager2.html">LayoutManager2</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>target</CODE> - the Container this layout manager is responsible for</DL>
</DD>
</DL>
<HR>

<A NAME="addLayoutComponent(java.lang.String, java.awt.Component)"><!-- --></A><H3>
addLayoutComponent</H3>
<PRE>
public void <B>addLayoutComponent</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/lang/String.html">String</A>&nbsp;name,                               <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Component.html">Component</A>&nbsp;comp)</PRE>
<DL>
<DD>Adds a component to this layout using the name only. <br>This function is not supported by GroupFlowLayout.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>addLayoutComponent</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager.html">LayoutManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>name</CODE> - the Component name<DD><CODE>comp</CODE> - the Component to be added</DL>
</DD>
</DL>
<HR>

<A NAME="removeLayoutComponent(java.awt.Component)"><!-- --></A><H3>
removeLayoutComponent</H3>
<PRE>
public void <B>removeLayoutComponent</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Component.html">Component</A>&nbsp;comp)</PRE>
<DL>
<DD>Removes a component from the layout and from the container  this layout manager is responsible for.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>removeLayoutComponent</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager.html">LayoutManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>comp</CODE> - the Component to be removed</DL>
</DD>
</DL>
<HR>

<A NAME="preferredLayoutSize(java.awt.Container)"><!-- --></A><H3>
preferredLayoutSize</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Dimension.html">Dimension</A> <B>preferredLayoutSize</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Container.html">Container</A>&nbsp;parent)</PRE>
<DL>
<DD>Returns the preferred layout size of this layout manager.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>preferredLayoutSize</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager.html">LayoutManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the Container this layout manager is responsible for<DT><B>Returns:</B><DD>the preferred size</DL>
</DD>
</DL>
<HR>

<A NAME="minimumLayoutSize(java.awt.Container)"><!-- --></A><H3>
minimumLayoutSize</H3>
<PRE>
public <A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Dimension.html">Dimension</A> <B>minimumLayoutSize</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Container.html">Container</A>&nbsp;parent)</PRE>
<DL>
<DD>Returns the minimum size this layout manager needs to layout its components properly.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>minimumLayoutSize</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager.html">LayoutManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the Container this layout manager is responsible for<DT><B>Returns:</B><DD>the minimum size</DL>
</DD>
</DL>
<HR>

<A NAME="layoutContainer(java.awt.Container)"><!-- --></A><H3>
layoutContainer</H3>
<PRE>
public void <B>layoutContainer</B>(<A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/Container.html">Container</A>&nbsp;parent)</PRE>
<DL>
<DD>Lays out the container with all the components that have been added to the  container.
<P>
<DD><DL>
<DT><B>Specified by: </B><DD><CODE>layoutContainer</CODE> in interface <CODE><A HREF="http://java.sun.com/j2se/1.4.1/docs/api/java/awt/LayoutManager.html">LayoutManager</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the Container this layout manager is responsible for</DL>
</DD>
</DL>
<!-- ========= END OF CLASS DATA ========= -->
<HR>

<!-- ========== START OF NAVBAR ========== -->
<A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0">
<TR>
<TD COLSPAN=3 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3">
  <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;<A HREF="#main"><FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT></A>&nbsp;</TD>
  <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1">    <A HREF="class-use/GroupFlowLayout.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="../../../../serialized-form.html"><FONT CLASS="NavBarFont1"><B>Serialized</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;PREV CLASS&nbsp;
&nbsp;<A HREF="../../../../com/ibm/iwt/layout/GroupFlowLayoutConstraints.html"><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="GroupFlowLayout.html" TARGET="_top"><B>NO FRAMES</B></A>  &nbsp;
&nbsp;<SCRIPT>  <!--  if(window==top) {    document.writeln('<A HREF="../../../../allclasses-noframe.html" TARGET=""><B>All Classes</B></A>');  }  //--></SCRIPT><NOSCRIPT><A HREF="../../../../allclasses-noframe.html" TARGET=""><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;<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>
<!-- =========== END OF NAVBAR =========== -->

<HR>

</BODY>
</HTML>

⌨️ 快捷键说明

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