📄 form.html.svn-base
字号:
<A NAME="getTitleStyle()"><!-- --></A><H3>
getTitleStyle</H3>
<PRE>
public <A HREF="../../../com/sun/lwuit/plaf/Style.html" title="class in com.sun.lwuit.plaf">Style</A> <B>getTitleStyle</B>()</PRE>
<DL>
<DD>Returns the style of the title
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setClearCommand(com.sun.lwuit.Command)"><!-- --></A><H3>
setClearCommand</H3>
<PRE>
public void <B>setClearCommand</B>(<A HREF="../../../com/sun/lwuit/Command.html" title="class in com.sun.lwuit">Command</A> clearCommand)</PRE>
<DL>
<DD>Indicates the command that is defined as the clear commnand in this form. A clear command can be used both to map to a "clear" hardware button if such a button exists.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getClearCommand()"><!-- --></A><H3>
getClearCommand</H3>
<PRE>
public <A HREF="../../../com/sun/lwuit/Command.html" title="class in com.sun.lwuit">Command</A> <B>getClearCommand</B>()</PRE>
<DL>
<DD>Indicates the command that is defined as the clear commnand in this form. A clear command can be used both to map to a "clear" hardware button if such a button exists.
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setBackCommand(com.sun.lwuit.Command)"><!-- --></A><H3>
setBackCommand</H3>
<PRE>
public void <B>setBackCommand</B>(<A HREF="../../../com/sun/lwuit/Command.html" title="class in com.sun.lwuit">Command</A> backCommand)</PRE>
<DL>
<DD>Indicates the command that is defined as the back commnand out of this form. A back command can be used both to map to a hardware button (e.g. on the Sony Ericsson devices) and by elements such as transitions etc. to change the behavior based on direction (e.g. slide to the left to enter screen and slide to the right to exit with back).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getBackCommand()"><!-- --></A><H3>
getBackCommand</H3>
<PRE>
public <A HREF="../../../com/sun/lwuit/Command.html" title="class in com.sun.lwuit">Command</A> <B>getBackCommand</B>()</PRE>
<DL>
<DD>Indicates the command that is defined as the back commnand out of this form. A back command can be used both to map to a hardware button (e.g. on the Sony Ericsson devices) and by elements such as transitions etc. to change the behavior based on direction (e.g. slide to the left to enter screen and slide to the right to exit with back).
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="getUIID()"><!-- --></A><H3>
getUIID</H3>
<PRE>
protected java.lang.String <B>getUIID</B>()</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../com/sun/lwuit/Component.html#getUIID()">Component</A></CODE></B></DD>
<DD>Unique identifier for a component, must be overriden for a component so a style can be applied to the component
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/sun/lwuit/Component.html#getUIID()">getUIID</A></CODE> in class <CODE><A HREF="../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Returns:</B><DD>unique string identifying this component for the style sheet</DL>
</DD>
</DL>
<HR>
<A NAME="getContentPane()"><!-- --></A><H3>
getContentPane</H3>
<PRE>
public <A HREF="../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A> <B>getContentPane</B>()</PRE>
<DL>
<DD>This method returns the Content pane instance
<P>
<DD><DL>
<DT><B>Returns:</B><DD>a content pane instance</DL>
</DD>
</DL>
<HR>
<A NAME="removeAll()"><!-- --></A><H3>
removeAll</H3>
<PRE>
public void <B>removeAll</B>()</PRE>
<DL>
<DD>Removes all Components from the Content Pane
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/sun/lwuit/Container.html#removeAll()">removeAll</A></CODE> in class <CODE><A HREF="../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A></CODE></DL>
</DD>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="setBgImage(com.sun.lwuit.Image)"><!-- --></A><H3>
setBgImage</H3>
<PRE>
public void <B>setBgImage</B>(<A HREF="../../../com/sun/lwuit/Image.html" title="class in com.sun.lwuit">Image</A> bgImage)</PRE>
<DL>
<DD>Sets the background image to show behind the form
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>bgImage</CODE> - the background image</DL>
</DD>
</DL>
<HR>
<A NAME="setLayout(com.sun.lwuit.layouts.Layout)"><!-- --></A><H3>
setLayout</H3>
<PRE>
public void <B>setLayout</B>(<A HREF="../../../com/sun/lwuit/layouts/Layout.html" title="class in com.sun.lwuit.layouts">Layout</A> layout)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../com/sun/lwuit/Container.html#setLayout(com.sun.lwuit.layouts.Layout)">Container</A></CODE></B></DD>
<DD>Sets the layout manager responsible for arranging this container
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/sun/lwuit/Container.html#setLayout(com.sun.lwuit.layouts.Layout)">setLayout</A></CODE> in class <CODE><A HREF="../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>layout</CODE> - the specified layout manager</DL>
</DD>
</DL>
<HR>
<A NAME="setTitle(java.lang.String)"><!-- --></A><H3>
setTitle</H3>
<PRE>
public void <B>setTitle</B>(java.lang.String title)</PRE>
<DL>
<DD>Sets the Form title to the given text
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>title</CODE> - the form title</DL>
</DD>
</DL>
<HR>
<A NAME="getTitle()"><!-- --></A><H3>
getTitle</H3>
<PRE>
public java.lang.String <B>getTitle</B>()</PRE>
<DL>
<DD>Returns the Form title text
<P>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="addComponent(com.sun.lwuit.Component)"><!-- --></A><H3>
addComponent</H3>
<PRE>
public void <B>addComponent</B>(<A HREF="../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> cmp)</PRE>
<DL>
<DD>Adds Component to the Form's Content Pane
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/sun/lwuit/Container.html#addComponent(com.sun.lwuit.Component)">addComponent</A></CODE> in class <CODE><A HREF="../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>cmp</CODE> - the added param</DL>
</DD>
</DL>
<HR>
<A NAME="addComponent(java.lang.String, com.sun.lwuit.Component)"><!-- --></A><H3>
addComponent</H3>
<PRE>
public void <B>addComponent</B>(java.lang.String constraints,
<A HREF="../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> cmp)</PRE>
<DL>
<DD>Adds Component to the Form's Content Pane
<P>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>constraints</CODE> - this method is useful when the Layout requires a constraint such as the BorderLayout. In this case you need to specify an additional data when you add a Component, such as "CENTER", "NORTH"...<DD><CODE>cmp</CODE> - component to add</DL>
</DD>
</DL>
<HR>
<A NAME="replace(com.sun.lwuit.Component, com.sun.lwuit.Component, com.sun.lwuit.animations.Transition)"><!-- --></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> current,
<A HREF="../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> next,
<A HREF="../../../com/sun/lwuit/animations/Transition.html" title="class in com.sun.lwuit.animations">Transition</A> t)</PRE>
<DL>
<DD><B>Description copied from class: <CODE><A HREF="../../../com/sun/lwuit/Container.html#replace(com.sun.lwuit.Component, com.sun.lwuit.Component, com.sun.lwuit.animations.Transition)">Container</A></CODE></B></DD>
<DD>This method replaces the current Component with the next Component. Current Component must be contained in this Container. This method return immediately.
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../com/sun/lwuit/Container.html#replace(com.sun.lwuit.Component, com.sun.lwuit.Component, com.sun.lwuit.animations.Transition)">replace</A></CODE> in class <CODE><A HREF="../../../com/sun/lwuit/Container.html" title="class in com.sun.lwuit">Container</A></CODE></DL>
</DD>
<DD><DL>
<DT><B>Parameters:</B><DD><CODE>current</CODE> - a Component to remove from the Container<DD><CODE>next</CODE> - a Component that replaces the current Component<DD><CODE>t</CODE> - a Transition between the add and removal of the Components a Transition can be null</DL>
</DD>
</DL>
<HR>
<A NAME="removeComponent(com.sun.lwuit.Component)"><!-- --></A><H3>
removeComponent</H3>
<PRE>
public void <B>removeComponent</B>(<A HREF="../../../com/sun/lwuit/Component.html" title="class in com.sun.lwuit">Component</A> cmp)</PRE>
<DL>
<DD>Removes a component from the Form's Content Pane
<P>
<DD><DL>
<DT><B>Overrides:</B><DD><CODE><A HREF="../../../c
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -