📄 htmlform.html
字号:
<A NAME="getOnreset()"><!-- --></A><H3>getOnreset</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getOnreset</B>()</PRE><DL><DD><p>Return the value of the <code>onreset</code> property.</p> <p>Contents: Javascript code executed when this form is reset.<P><DD><DL></DL></DD></DL><HR><A NAME="setOnreset(java.lang.String)"><!-- --></A><H3>setOnreset</H3><PRE>public void <B>setOnreset</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> onreset)</PRE><DL><DD><p>Set the value of the <code>onreset</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getOnsubmit()"><!-- --></A><H3>getOnsubmit</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getOnsubmit</B>()</PRE><DL><DD><p>Return the value of the <code>onsubmit</code> property.</p> <p>Contents: Javascript code executed when this form is submitted.<P><DD><DL></DL></DD></DL><HR><A NAME="setOnsubmit(java.lang.String)"><!-- --></A><H3>setOnsubmit</H3><PRE>public void <B>setOnsubmit</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> onsubmit)</PRE><DL><DD><p>Set the value of the <code>onsubmit</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getStyle()"><!-- --></A><H3>getStyle</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getStyle</B>()</PRE><DL><DD><p>Return the value of the <code>style</code> property.</p> <p>Contents: CSS style(s) to be applied when this component is rendered.<P><DD><DL></DL></DD></DL><HR><A NAME="setStyle(java.lang.String)"><!-- --></A><H3>setStyle</H3><PRE>public void <B>setStyle</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> style)</PRE><DL><DD><p>Set the value of the <code>style</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getStyleClass()"><!-- --></A><H3>getStyleClass</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getStyleClass</B>()</PRE><DL><DD><p>Return the value of the <code>styleClass</code> property.</p> <p>Contents: Space-separated list of CSS style class(es) to be applied when this element is rendered. This value must be passed through as the "class" attribute on generated markup.<P><DD><DL></DL></DD></DL><HR><A NAME="setStyleClass(java.lang.String)"><!-- --></A><H3>setStyleClass</H3><PRE>public void <B>setStyleClass</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> styleClass)</PRE><DL><DD><p>Set the value of the <code>styleClass</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getTarget()"><!-- --></A><H3>getTarget</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getTarget</B>()</PRE><DL><DD><p>Return the value of the <code>target</code> property.</p> <p>Contents: Name of a frame where the response retrieved after this form submit is to be displayed.<P><DD><DL></DL></DD></DL><HR><A NAME="setTarget(java.lang.String)"><!-- --></A><H3>setTarget</H3><PRE>public void <B>setTarget</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> target)</PRE><DL><DD><p>Set the value of the <code>target</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="getTitle()"><!-- --></A><H3>getTitle</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>getTitle</B>()</PRE><DL><DD><p>Return the value of the <code>title</code> property.</p> <p>Contents: Advisory title information about markup elements generated for this component.<P><DD><DL></DL></DD></DL><HR><A NAME="setTitle(java.lang.String)"><!-- --></A><H3>setTitle</H3><PRE>public void <B>setTitle</B>(<A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> title)</PRE><DL><DD><p>Set the value of the <code>title</code> property.</p><P><DD><DL></DL></DD></DL><HR><A NAME="saveState(javax.faces.context.FacesContext)"><!-- --></A><H3>saveState</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> <B>saveState</B>(<A HREF="../../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> _context)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/faces/component/StateHolder.html#saveState(javax.faces.context.FacesContext)">StateHolder</A></CODE></B></DD><DD><p> Gets the state of the instance as a <code>Serializable</code> Object.<p> <p>If the class that implements this interface has references to instances that implement StateHolder (such as a <code>UIComponent</code> with event handlers, validators, etc.) this method must call the <A HREF="../../../../javax/faces/component/StateHolder.html#saveState(javax.faces.context.FacesContext)"><CODE>StateHolder.saveState(javax.faces.context.FacesContext)</CODE></A> method on all those instances as well. <strong>This method must not save the state of children and facets.</strong> That is done via the <A HREF="../../../../javax/faces/application/StateManager.html" title="class in javax.faces.application"><CODE>StateManager</CODE></A></p> <p>This method must not alter the state of the implementing object. In other words, after executing this code:</p> <code><pre> Object state = component.saveState(facesContext); </pre></code> <p><code>component</code> should be the same as before executing it.</p> <p>The return from this method must be <code>Serializable</code></p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/faces/component/StateHolder.html#saveState(javax.faces.context.FacesContext)">saveState</A></CODE> in interface <CODE><A HREF="../../../../javax/faces/component/StateHolder.html" title="interface in javax.faces.component">StateHolder</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/faces/component/UIComponentBase.html#saveState(javax.faces.context.FacesContext)">saveState</A></CODE> in class <CODE><A HREF="../../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL></DL></DD></DL><HR><A NAME="restoreState(javax.faces.context.FacesContext, java.lang.Object)"><!-- --></A><H3>restoreState</H3><PRE>public void <B>restoreState</B>(<A HREF="../../../../javax/faces/context/FacesContext.html" title="class in javax.faces.context">FacesContext</A> _context, <A HREF="http://java.sun.com/j2se/1.5/docs/api/java/lang/Object.html" title="class or interface in java.lang">Object</A> _state)</PRE><DL><DD><B>Description copied from interface: <CODE><A HREF="../../../../javax/faces/component/StateHolder.html#restoreState(javax.faces.context.FacesContext, java.lang.Object)">StateHolder</A></CODE></B></DD><DD><p> Perform any processing required to restore the state from the entries in the state Object.</p> <p>If the class that implements this interface has references to instances that also implement StateHolder (such as a <code>UIComponent</code> with event handlers, validators, etc.) this method must call the <A HREF="../../../../javax/faces/component/StateHolder.html#restoreState(javax.faces.context.FacesContext, java.lang.Object)"><CODE>StateHolder.restoreState(javax.faces.context.FacesContext, java.lang.Object)</CODE></A> method on all those instances as well. </p><P><DD><DL><DT><B>Specified by:</B><DD><CODE><A HREF="../../../../javax/faces/component/StateHolder.html#restoreState(javax.faces.context.FacesContext, java.lang.Object)">restoreState</A></CODE> in interface <CODE><A HREF="../../../../javax/faces/component/StateHolder.html" title="interface in javax.faces.component">StateHolder</A></CODE><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/faces/component/UIComponentBase.html#restoreState(javax.faces.context.FacesContext, java.lang.Object)">restoreState</A></CODE> in class <CODE><A HREF="../../../../javax/faces/component/UIComponentBase.html" title="class in javax.faces.component">UIComponentBase</A></CODE></DL></DD><DD><DL></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> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD> <TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD> <TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD> </TR></TABLE></TD><TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -