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

📄 grouplayout.sequentialgroup.html.svn-base

📁 j2me设计的界面包
💻 SVN-BASE
📖 第 1 页 / 共 3 页
字号:
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>min</CODE> - the minimum size of the gap, or PREFERRED_SIZE<DD><CODE>pref</CODE> - the preferred size of the gap<DD><CODE>max</CODE> - the maximum size of the gap, or PREFERRED_SIZE
<DT><B>Returns:</B><DD>this <code>SequentialGroup</code>
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if min < 0 or pref < 0 or max < 0         or the following is not meant min <= pref <= max</DL>
</DD>
</DL>
<HR>

<A NAME="addPreferredGap(com.sun.lwuit.Component, com.sun.lwuit.Component, int)"><!-- --></A><H3>
addPreferredGap</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>addPreferredGap</B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;comp1,
                                                   <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;comp2,
                                                   int&nbsp;type)</PRE>
<DL>
<DD>Adds an element representing the preferred gap between the two components.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>comp1</CODE> - the first component<DD><CODE>comp2</CODE> - the second component<DD><CODE>type</CODE> - the type of gap; one of the constants defined by        LayoutStyle
<DT><B>Returns:</B><DD>this <code>SequentialGroup</code>
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>type</code> is not a         valid LayoutStyle constant<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/lwuit/layouts/LayoutStyle.html" title="class in com.sun.lwuit.layouts"><CODE>LayoutStyle</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addPreferredGap(com.sun.lwuit.Component, com.sun.lwuit.Component, int, boolean)"><!-- --></A><H3>
addPreferredGap</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>addPreferredGap</B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;comp1,
                                                   <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;comp2,
                                                   int&nbsp;type,
                                                   boolean&nbsp;canGrow)</PRE>
<DL>
<DD>Adds an element representing the preferred gap between the two components.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>comp1</CODE> - the first component<DD><CODE>comp2</CODE> - the second component<DD><CODE>type</CODE> - the type of gap; one of the constants defined by        LayoutStyle<DD><CODE>canGrow</CODE> - true if the gap can grow if more                space is available
<DT><B>Returns:</B><DD>this <code>SequentialGroup</code>
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>type</code> is not a         valid LayoutStyle constant<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/lwuit/layouts/LayoutStyle.html" title="class in com.sun.lwuit.layouts"><CODE>LayoutStyle</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addPreferredGap(int)"><!-- --></A><H3>
addPreferredGap</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>addPreferredGap</B>(int&nbsp;type)</PRE>
<DL>
<DD>Adds an element representing the preferred gap between the nearest components.  That is, during layout the neighboring components are found, and the min, pref and max of this element is set based on the preferred gap between the components.  If no neighboring components are found the min, pref and max are set to 0.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of gap; one of the LayoutStyle constants
<DT><B>Returns:</B><DD>this SequentialGroup
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if type is not one of         <code>LayoutStyle.RELATED</code> or         <code>LayoutStyle.UNRELATED</code><DT><B>See Also:</B><DD><A HREF="../../../../com/sun/lwuit/layouts/LayoutStyle.html" title="class in com.sun.lwuit.layouts"><CODE>LayoutStyle</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addPreferredGap(int, int, int)"><!-- --></A><H3>
addPreferredGap</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>addPreferredGap</B>(int&nbsp;type,
                                                   int&nbsp;pref,
                                                   int&nbsp;max)</PRE>
<DL>
<DD>Adds an element for the preferred gap between the nearest components.  That is, during layout the neighboring components are found, and the min of this element is set based on the preferred gap between the components.  If no neighboring components are found the min is set to 0.  This method allows you to specify the preferred and maximum size by way of the <code>pref</code> and <code>max</code> arguments.  These can either be a value &gt;= 0, in which case the preferred or max is the max of the argument and the preferred gap, of DEFAULT_VALUE in which case the value is the same as the preferred gap.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>type</CODE> - the type of gap; one of LayoutStyle.RELATED or        LayoutStyle.UNRELATED<DD><CODE>pref</CODE> - the preferred size; one of DEFAULT_SIZE or a value > 0<DD><CODE>max</CODE> - the maximum size; one of DEFAULT_SIZE, PREFERRED_SIZE        or a value > 0
<DT><B>Returns:</B><DD>this SequentialGroup
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if type is not one of         <code>LayoutStyle.RELATED</code> or         <code>LayoutStyle.UNRELATED</code> or pref/max is         != DEFAULT_SIZE and < 0, or pref > max<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/lwuit/layouts/LayoutStyle.html" title="class in com.sun.lwuit.layouts"><CODE>LayoutStyle</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="addContainerGap()"><!-- --></A><H3>
addContainerGap</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>addContainerGap</B>()</PRE>
<DL>
<DD>Adds an element representing the preferred gap between one edge of the container and the next/previous Component.  This will have no effect if the next/previous element is not a Component and does not touch one edge of the parent container.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>this <code>SequentialGroup</code>.</DL>
</DD>
</DL>
<HR>

<A NAME="addContainerGap(int, int)"><!-- --></A><H3>
addContainerGap</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>addContainerGap</B>(int&nbsp;pref,
                                                   int&nbsp;max)</PRE>
<DL>
<DD>Adds an element representing the preferred gap between one edge of the container and the next/previous Component.  This will have no effect if the next/previous element is not a Component and does not touch one edge of the parent container.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pref</CODE> - the preferred size; one of DEFAULT_SIZE or a value > 0<DD><CODE>max</CODE> - the maximum size; one of DEFAULT_SIZE, PREFERRED_SIZE        or a value > 0.
<DT><B>Returns:</B><DD>this <code>SequentialGroup</code>
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if pref/max is         != DEFAULT_SIZE and < 0, or pref > max</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/GroupLayout.SequentialGroup.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="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html" title="class in com.sun.lwuit.layouts"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/sun/lwuit/layouts/Layout.html" title="class in com.sun.lwuit.layouts"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
  <A HREF="../../../../index.html?com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="GroupLayout.SequentialGroup.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>
Copyright 2008 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms.
</BODY>
</HTML>

⌨️ 快捷键说明

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