📄 grouplayout.sequentialgroup.html.svn-base
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> <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 pref,
int max)</CODE>
<BR>
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> <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> comp1,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> comp2,
int type)</CODE>
<BR>
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> <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> comp1,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> comp2,
int type,
boolean canGrow)</CODE>
<BR>
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> <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 type)</CODE>
<BR>
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> <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 type,
int pref,
int max)</CODE>
<BR>
Adds an element for the preferred gap between the nearest components.</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>equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<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> 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 useAsBaseline,
<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.Group.html" title="class in com.sun.lwuit.layouts">GroupLayout.Group</A> 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> 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 useAsBaseline,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> 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> component,
int min,
int pref,
int 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 useAsBaseline,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component,
int min,
int pref,
int 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 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 min,
int pref,
int max)</PRE>
<DL>
<DD>Adds a gap with the specified size.
<P>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -