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

📄 grouplayout.sequentialgroup.html.svn-base

📁 j2me设计的界面包
💻 SVN-BASE
📖 第 1 页 / 共 3 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#addContainerGap(int, int)">addContainerGap</A></B>(int&nbsp;pref,
                int&nbsp;max)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an element representing the preferred gap between one edge of the container and the next/previous Component.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#addPreferredGap(com.sun.lwuit.Component, com.sun.lwuit.Component, int)">addPreferredGap</A></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)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an element representing the preferred gap between the two components.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#addPreferredGap(com.sun.lwuit.Component, com.sun.lwuit.Component, int, boolean)">addPreferredGap</A></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)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an element representing the preferred gap between the two components.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#addPreferredGap(int)">addPreferredGap</A></B>(int&nbsp;type)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an element representing the preferred gap between the nearest components.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#addPreferredGap(int, int, int)">addPreferredGap</A></B>(int&nbsp;type,
                int&nbsp;pref,
                int&nbsp;max)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Adds an element for the preferred gap between the nearest components.</TD>
</TR>
</TABLE>
&nbsp;<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>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
&nbsp;
<P>

<!-- ============ 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="add(com.sun.lwuit.layouts.GroupLayout.Group)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>add</B>(<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.Group.html" title="class in com.sun.lwuit.layouts">GroupLayout.Group</A>&nbsp;group)</PRE>
<DL>
<DD>Adds the specified <code>Group</code> to this <code>SequentialGroup</code>
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>group</CODE> - the Group to add
<DT><B>Returns:</B><DD>this Group</DL>
</DD>
</DL>
<HR>

<A NAME="add(boolean, com.sun.lwuit.layouts.GroupLayout.Group)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>add</B>(boolean&nbsp;useAsBaseline,
                                       <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.Group.html" title="class in com.sun.lwuit.layouts">GroupLayout.Group</A>&nbsp;group)</PRE>
<DL>
<DD>Adds a <code>Group</code> to this <code>Group</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>group</CODE> - the <code>Group</code> to add<DD><CODE>useAsBaseline</CODE> - whether the specified <code>Group</code> should        be used to calculate the baseline for this <code>Group</code>
<DT><B>Returns:</B><DD>this <code>Group</code></DL>
</DD>
</DL>
<HR>

<A NAME="add(com.sun.lwuit.Component)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>add</B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;component)</PRE>
<DL>
<DD>Adds the specified Component.  If the Component's min/max are different from its pref than the component will be resizable.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>component</CODE> - the Component to add
<DT><B>Returns:</B><DD>this <code>SequentialGroup</code></DL>
</DD>
</DL>
<HR>

<A NAME="add(boolean, com.sun.lwuit.Component)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>add</B>(boolean&nbsp;useAsBaseline,
                                       <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;component)</PRE>
<DL>
<DD>Adds a <code>Component</code> to this <code>Group</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>useAsBaseline</CODE> - whether the specified <code>Component</code> should        be used to calculate the baseline for this <code>Group</code><DD><CODE>component</CODE> - the <code>Component</code> to add
<DT><B>Returns:</B><DD>this <code>Group</code></DL>
</DD>
</DL>
<HR>

<A NAME="add(com.sun.lwuit.Component, int, int, int)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>add</B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;component,
                                       int&nbsp;min,
                                       int&nbsp;pref,
                                       int&nbsp;max)</PRE>
<DL>
<DD>Adds the specified <code>Component</code>.  Min, pref and max can be absolute values, or they can be one of <code>DEFAULT_SIZE</code> or <code>PREFERRED_SIZE</code>.  For example, the following: <pre>   add(component, PREFERRED_SIZE, PREFERRED_SIZE, 1000); </pre> Forces a max of 1000, with the min and preferred equalling that of the preferred size of <code>component</code>.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>component</CODE> - the Component to add<DD><CODE>min</CODE> - the minimum size<DD><CODE>pref</CODE> - the preferred size<DD><CODE>max</CODE> - the maximum size
<DT><B>Returns:</B><DD>this <code>SequentialGroup</code>
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if min, pref or max are         not positive and not one of PREFERRED_SIZE or DEFAULT_SIZE</DL>
</DD>
</DL>
<HR>

<A NAME="add(boolean, com.sun.lwuit.Component, int, int, int)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>add</B>(boolean&nbsp;useAsBaseline,
                                       <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;component,
                                       int&nbsp;min,
                                       int&nbsp;pref,
                                       int&nbsp;max)</PRE>
<DL>
<DD>Adds a <code>Component</code> to this <code>Group</code> with the specified size.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>useAsBaseline</CODE> - whether the specified <code>Component</code> should        be used to calculate the baseline for this <code>Group</code><DD><CODE>component</CODE> - the <code>Component</code> to add<DD><CODE>min</CODE> - the minimum size or one of <code>DEFAULT_SIZE</code> or            <code>PREFERRED_SIZE</code><DD><CODE>pref</CODE> - the preferred size or one of <code>DEFAULT_SIZE</code> or            <code>PREFERRED_SIZE</code><DD><CODE>max</CODE> - the maximum size or one of <code>DEFAULT_SIZE</code> or            <code>PREFERRED_SIZE</code>
<DT><B>Returns:</B><DD>this <code>Group</code></DL>
</DD>
</DL>
<HR>

<A NAME="add(int)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>add</B>(int&nbsp;pref)</PRE>
<DL>
<DD>Adds a rigid gap.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>pref</CODE> - the size of the gap
<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="add(int, int, int)"><!-- --></A><H3>
add</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>add</B>(int&nbsp;min,
                                       int&nbsp;pref,
                                       int&nbsp;max)</PRE>
<DL>
<DD>Adds a gap with the specified size.
<P>

⌨️ 快捷键说明

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