📄 component.html.svn-base
字号:
<BR>
Invoked by <A HREF="../../../../com/sun/lwuit/Display.html" title="class in com.sun.lwuit"><CODE>Display</CODE></A> to set the source and destination forms.</TD>
</TR>
</TABLE>
<P>
<A NAME="com.sun.lwuit.events"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> in <A HREF="../../../../com/sun/lwuit/events/package-summary.html">com.sun.lwuit.events</A></FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../com/sun/lwuit/events/package-summary.html">com.sun.lwuit.events</A> with parameters of type <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>FocusListener.</B><B><A HREF="../../../../com/sun/lwuit/events/FocusListener.html#focusGained(com.sun.lwuit.Component)">focusGained</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> cmp)</CODE>
<BR>
Invoked when component gains focus</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>FocusListener.</B><B><A HREF="../../../../com/sun/lwuit/events/FocusListener.html#focusLost(com.sun.lwuit.Component)">focusLost</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> cmp)</CODE>
<BR>
Invoked when component loses focus</TD>
</TR>
</TABLE>
<P>
<A NAME="com.sun.lwuit.layouts"><!-- --></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
Uses of <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> in <A HREF="../../../../com/sun/lwuit/layouts/package-summary.html">com.sun.lwuit.layouts</A></FONT></TH>
</TR>
</TABLE>
<P>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">Methods in <A HREF="../../../../com/sun/lwuit/layouts/package-summary.html">com.sun.lwuit.layouts</A> with parameters of type <A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A></FONT></TH>
</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>GroupLayout.SequentialGroup.</B><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#add(boolean, com.sun.lwuit.Component)">add</A></B>(boolean useAsBaseline,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component)</CODE>
<BR>
Adds a <code>Component</code> to this <code>Group</code>.</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>GroupLayout.SequentialGroup.</B><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#add(boolean, com.sun.lwuit.Component, int, int, int)">add</A></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)</CODE>
<BR>
Adds a <code>Component</code> to this <code>Group</code> with the specified size.</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>GroupLayout.SequentialGroup.</B><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#add(com.sun.lwuit.Component)">add</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component)</CODE>
<BR>
Adds the specified 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.ParallelGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.ParallelGroup</A></CODE></FONT></TD>
<TD><CODE><B>GroupLayout.ParallelGroup.</B><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html#add(com.sun.lwuit.Component)">add</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component)</CODE>
<BR>
Adds the specified 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>GroupLayout.SequentialGroup.</B><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.SequentialGroup.html#add(com.sun.lwuit.Component, int, int, int)">add</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component,
int min,
int pref,
int max)</CODE>
<BR>
Adds the specified <code>Component</code>.</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.ParallelGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.ParallelGroup</A></CODE></FONT></TD>
<TD><CODE><B>GroupLayout.ParallelGroup.</B><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html#add(com.sun.lwuit.Component, int, int, int)">add</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component,
int min,
int pref,
int max)</CODE>
<BR>
Adds the specified <code>Component</code>.</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.ParallelGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.ParallelGroup</A></CODE></FONT></TD>
<TD><CODE><B>GroupLayout.ParallelGroup.</B><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html#add(int, com.sun.lwuit.Component)">add</A></B>(int alignment,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component)</CODE>
<BR>
Adds the specified 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.ParallelGroup.html" title="class in com.sun.lwuit.layouts">GroupLayout.ParallelGroup</A></CODE></FONT></TD>
<TD><CODE><B>GroupLayout.ParallelGroup.</B><B><A HREF="../../../../com/sun/lwuit/layouts/GroupLayout.ParallelGroup.html#add(int, com.sun.lwuit.Component, int, int, int)">add</A></B>(int alignment,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component,
int min,
int pref,
int max)</CODE>
<BR>
Adds the specified <code>Component</code>.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>Layout.</B><B><A HREF="../../../../com/sun/lwuit/layouts/Layout.html#addLayoutComponent(java.lang.Object, com.sun.lwuit.Component, com.sun.lwuit.Container)">addLayoutComponent</A></B>(java.lang.Object value,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> comp,
<A HREF="../../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A> c)</CODE>
<BR>
Some layouts can optionally track the addition of elements with meta-data that allows the user to "hint" on object positioning.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> void</CODE></FONT></TD>
<TD><CODE><B>BorderLayout.</B><B><A HREF="../../../../com/sun/lwuit/layouts/BorderLayout.html#addLayoutComponent(java.lang.Object, com.sun.lwuit.Component, com.sun.lwuit.Container)">addLayoutComponent</A></B>(java.lang.Object name,
<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> comp,
<A HREF="../../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A> c)</CODE>
<BR>
</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>GroupLayout.SequentialGroup.</B><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>GroupLayout.SequentialGroup.</B><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> java.lang.Object</CODE></FONT></TD>
<TD><CODE><B>Layout.</B><B><A HREF="../../../../com/sun/lwuit/layouts/Layout.html#getComponentConstraint(com.sun.lwuit.Component)">getComponentConstraint</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> comp)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> java.lang.Object</CODE></FONT></TD>
<TD><CODE><B>BorderLayout.</B><B><A HREF="../../../../com/sun/lwuit/layouts/BorderLayout.html#getComponentConstraint(com.sun.lwuit.Component)">getComponentConstraint</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> comp)</CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE> int</CODE></FONT></TD>
<TD><CODE><B>LayoutStyle.</B><B><A HREF="../../../../com/sun/lwuit/layouts/LayoutStyle.html#getContainerGap(com.sun.lwuit.Component, int, com.sun.lwuit.Container)">getContainerGap</A></B>(<A HREF="../../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> component,
int position,
<A HREF="../../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A> parent)</CODE>
<BR>
Returns the amount of space to position a component inside its parent.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -