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

📄 grouplayout.html.svn-base

📁 j2me设计的界面包
💻 SVN-BASE
📖 第 1 页 / 共 4 页
字号:
<A NAME="getVerticalGroup()"><!-- --></A><H3>
getVerticalGroup</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.Group.html" title="class in com.sun.lwuit.layouts">GroupLayout.Group</A> <B>getVerticalGroup</B>()</PRE>
<DL>
<DD>Returns the <code>ParallelGroup</code> that is responsible for layout along the vertical axis.
<P>
<DD><DL>

<DT><B>Returns:</B><DD><code>ParallelGroup</code> responsible for layout along          the vertical axis.</DL>
</DD>
</DL>
<HR>

<A NAME="createSequentialGroup()"><!-- --></A><H3>
createSequentialGroup</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.SequentialGroup</A> <B>createSequentialGroup</B>()</PRE>
<DL>
<DD>Creates and returns a <code>SequentialGroup</code>.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>a new <code>SequentialGroup</code></DL>
</DD>
</DL>
<HR>

<A NAME="createParallelGroup()"><!-- --></A><H3>
createParallelGroup</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.ParallelGroup</A> <B>createParallelGroup</B>()</PRE>
<DL>
<DD>Creates and returns a <code>ParallelGroup</code> with a <code>LEADING</code> alignment.  This is a cover method for the more general <code>createParallelGroup(int)</code> method.
<P>
<DD><DL>

<DT><B>Returns:</B><DD>a new ParallelGroup<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.html#createParallelGroup(int)"><CODE>createParallelGroup(int)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="createParallelGroup(int)"><!-- --></A><H3>
createParallelGroup</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.ParallelGroup</A> <B>createParallelGroup</B>(int&nbsp;alignment)</PRE>
<DL>
<DD>Creates and returns an <code>ParallelGroup</code>.  The alignment specifies how children elements should be positioned when the the parallel group is given more space than necessary.  For example, if a ParallelGroup with an alignment of TRAILING is given 100 pixels and a child only needs 50 pixels, the child will be positioned at the position 50.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alignment</CODE> - alignment for the elements of the Group, one        of <code>LEADING</code>, <code>TRAILING</code>,        <code>CENTER</code> or <code>BASELINE</code>.
<DT><B>Returns:</B><DD>a new <code>ParallelGroup</code>
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if alignment is not one of         <code>LEADING</code>, <code>TRAILING</code>,         <code>CENTER</code> or <code>BASELINE</code></DL>
</DD>
</DL>
<HR>

<A NAME="createParallelGroup(int, boolean)"><!-- --></A><H3>
createParallelGroup</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.ParallelGroup</A> <B>createParallelGroup</B>(int&nbsp;alignment,
                                                     boolean&nbsp;resizable)</PRE>
<DL>
<DD>Creates and returns an <code>ParallelGroup</code>.  The alignment specifies how children elements should be positioned when the the parallel group is given more space than necessary.  For example, if a ParallelGroup with an alignment of TRAILING is given 100 pixels and a child only needs 50 pixels, the child will be positioned at the position 50.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>alignment</CODE> - alignment for the elements of the Group, one        of <code>LEADING</code>, <code>TRAILING</code>,        <code>CENTER</code> or <code>BASELINE</code>.<DD><CODE>resizable</CODE> - whether or not the group is resizable.  If the group        is not resizable the min/max size will be the same as the        preferred.
<DT><B>Returns:</B><DD>a new <code>ParallelGroup</code>
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if alignment is not one of         <code>LEADING</code>, <code>TRAILING</code>,         <code>CENTER</code> or <code>BASELINE</code></DL>
</DD>
</DL>
<HR>

<A NAME="createBaselineGroup(boolean, boolean)"><!-- --></A><H3>
createBaselineGroup</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.ParallelGroup</A> <B>createBaselineGroup</B>(boolean&nbsp;resizable,
                                                     boolean&nbsp;anchorBaselineToTop)</PRE>
<DL>
<DD>Creates and returns a <code>ParallelGroup</code> that aligns it's elements along the baseline.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>resizable</CODE> - whether the group is resizable<DD><CODE>anchorBaselineToTop</CODE> - whether the baseline is anchored to        the top or bottom of the group<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.html#createBaselineGroup(boolean, boolean)"><CODE>createBaselineGroup(boolean, boolean)</CODE></A>, 
<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html" title="class in com.sun.lwuit.layouts"><CODE>GroupLayout.ParallelGroup</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="linkSize(com.sun.lwuit.Component[])"><!-- --></A><H3>
linkSize</H3>
<PRE>
public void <B>linkSize</B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>[]&nbsp;components)</PRE>
<DL>
<DD>Forces the set of components to have the same size. This can be used multiple times to force any number of components to share the same size. <p> Linked Components are not be resizable.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>components</CODE> - Components to force to have same size.
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>components</code> is         null, or contains null.</DL>
</DD>
</DL>
<HR>

<A NAME="linkSize(com.sun.lwuit.Component[], int)"><!-- --></A><H3>
linkSize</H3>
<PRE>
public void <B>linkSize</B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>[]&nbsp;components,
                     int&nbsp;axis)</PRE>
<DL>
<DD>Forces the set of components to have the same size. This can be used multiple times to force any number of components to share the same size. <p> Linked Components are not be resizable.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>components</CODE> - Components to force to have same size.<DD><CODE>axis</CODE> - Axis to bind size, one of HORIZONTAL, VERTICAL or             HORIZONTAL | VERTICAL
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>components</code> is         null, or contains null.
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>axis</code> does not         contain <code>HORIZONTAL</code> or <code>VERTICAL</code></DL>
</DD>
</DL>
<HR>

<A NAME="replace(com.sun.lwuit.Component, com.sun.lwuit.Component)"><!-- --></A><H3>
replace</H3>
<PRE>
public void <B>replace</B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;existingComponent,
                    <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;newComponent)</PRE>
<DL>
<DD>Removes an existing component replacing it with the specified component.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>existingComponent</CODE> - the Component that should be removed and        replaced with newComponent<DD><CODE>newComponent</CODE> - the Component to put in existingComponents place
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - is either of the Components are null or         if existingComponent is not being managed by this layout manager</DL>
</DD>
</DL>
<HR>

<A NAME="setLayoutStyle(com.sun.lwuit.layouts.LayoutStyle)"><!-- --></A><H3>
setLayoutStyle</H3>
<PRE>
public void <B>setLayoutStyle</B>(<A HREF="../../../../com/sun/lwuit/layouts/LayoutStyle.html" title="class in com.sun.lwuit.layouts">LayoutStyle</A>&nbsp;layoutStyle)</PRE>
<DL>
<DD>Sets the LayoutStyle this GroupLayout is to use. A value of null can be used to indicate the shared instance of LayoutStyle should be used.
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>layoutStyle</CODE> - the LayoutStyle to use</DL>
</DD>
</DL>
<HR>

<A NAME="getLayoutStyle()"><!-- --></A><H3>
getLayoutStyle</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/layouts/LayoutStyle.html" title="class in com.sun.lwuit.layouts">LayoutStyle</A> <B>getLayoutStyle</B>()</PRE>
<DL>
<DD>Returns the LayoutStyle instance to use
<P>
<DD><DL>

<DT><B>Returns:</B><DD>the LayoutStyle instance to use</DL>
</DD>
</DL>
<HR>

<A NAME="removeLayoutComponent(com.sun.lwuit.Component)"><!-- --></A><H3>
removeLayoutComponent</H3>
<PRE>
public void <B>removeLayoutComponent</B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A>&nbsp;component)</PRE>
<DL>
<DD>Notification that a <code>Component</code> has been removed from the parent container.  You should not invoke this method directly, instead invoke <code>removeComponent</code> on the parent <code>Container</code>.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/layouts/Layout.html#removeLayoutComponent(com.sun.lwuit.Component)">removeLayoutComponent</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/layouts/Layout.html" title="class in com.sun.lwuit.layouts">Layout</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>component</CODE> - the component to be removed<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/lwuit/Container.html#removeComponent(com.sun.lwuit.Component)"><CODE>Container.removeComponent(com.sun.lwuit.Component)</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="getPreferredSize(com.sun.lwuit.Container)"><!-- --></A><H3>
getPreferredSize</H3>
<PRE>
public <A HREF="../../../../com/sun/lwuit/geom/Dimension.html" title="class in com.sun.lwuit.geom">Dimension</A> <B>getPreferredSize</B>(<A HREF="../../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A>&nbsp;parent)</PRE>
<DL>
<DD>Returns the preferred size for the specified container.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/layouts/Layout.html#getPreferredSize(com.sun.lwuit.Container)">getPreferredSize</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/layouts/Layout.html" title="class in com.sun.lwuit.layouts">Layout</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the container to return size for
<DT><B>Returns:</B><DD>the container preferred size
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalArgumentException</CODE> - if <code>parent</code> is not         the same <code>Container</code> that this was created with
<DD><CODE>java.lang.IllegalStateException</CODE> - if any of the components added to         this layout are not in both a horizontal and vertical group<DT><B>See Also:</B><DD><A HREF="../../../../com/sun/lwuit/Component.html#getPreferredSize()"><CODE>Component.getPreferredSize()</CODE></A></DL>
</DD>
</DL>
<HR>

<A NAME="layoutContainer(com.sun.lwuit.Container)"><!-- --></A><H3>
layoutContainer</H3>
<PRE>
public void <B>layoutContainer</B>(<A HREF="../../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A>&nbsp;parent)</PRE>
<DL>
<DD>Lays out the specified container.
<P>
<DD><DL>
<DT><B>Specified by:</B><DD><CODE><A HREF="../../../../com/sun/lwuit/layouts/Layout.html#layoutContainer(com.sun.lwuit.Container)">layoutContainer</A></CODE> in class <CODE><A HREF="../../../../com/sun/lwuit/layouts/Layout.html" title="class in com.sun.lwuit.layouts">Layout</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>parent</CODE> - the container to be laid out
<DT><B>Throws:</B>
<DD><CODE>java.lang.IllegalStateException</CODE> - if any of the components added to         this layout are not in both a horizontal and vertical group</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.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/GridLayout.html" title="class in com.sun.lwuit.layouts"><B>PREV CLASS</B></A>&nbsp;
&nbsp;<A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.Group.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.html" target="_top"><B>FRAMES</B></A>  &nbsp;
&nbsp;<A HREF="GroupLayout.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;<A HREF="#nested_class_summary">NESTED</A>&nbsp;|&nbsp;<A HREF="#field_summary">FIELD</A>&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;<A HREF="#field_detail">FIELD</A>&nbsp;|&nbsp;<A HREF="#constructor_detail">CONSTR</A>&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 + -