📄 formview.html
字号:
<CODE>protected <A HREF="../../../../java/awt/Component.html">Component</A></CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/html/FormView.html#createComponent()">createComponent</A></B>()</CODE><BR> Create the component.</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/html/FormView.html#imageSubmit(java.lang.String)">imageSubmit</A></B>(<A HREF="../../../../java/lang/String.html">String</A> imageData)</CODE><BR> This method is called to submit a form in response to a click on an image -- an <INPUT> form element of type "image".</TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1"><CODE>protected void</CODE></FONT></TD><TD><CODE><B><A HREF="../../../../javax/swing/text/html/FormView.html#submitData(java.lang.String)">submitData</A></B>(<A HREF="../../../../java/lang/String.html">String</A> data)</CODE><BR> This method is responsible for submitting the form data.</TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.ComponentView"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../../javax/swing/text/ComponentView.html">ComponentView</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/ComponentView.html#getAlignment(int)">getAlignment</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#getComponent()">getComponent</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#getMaximumSpan(int)">getMaximumSpan</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#getMinimumSpan(int)">getMinimumSpan</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#getPreferredSpan(int)">getPreferredSpan</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#modelToView(int, java.awt.Shape, javax.swing.text.Position.Bias)">modelToView</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#paint(java.awt.Graphics, java.awt.Shape)">paint</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#setParent(javax.swing.text.View)">setParent</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#setSize(float, float)">setSize</A>, <A HREF="../../../../javax/swing/text/ComponentView.html#viewToModel(float, float, java.awt.Shape, javax.swing.text.Position.Bias[])">viewToModel</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_javax.swing.text.View"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class javax.swing.text.<A HREF="../../../../javax/swing/text/View.html">View</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../javax/swing/text/View.html#append(javax.swing.text.View)">append</A>, <A HREF="../../../../javax/swing/text/View.html#breakView(int, int, float, float)">breakView</A>, <A HREF="../../../../javax/swing/text/View.html#changedUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">changedUpdate</A>, <A HREF="../../../../javax/swing/text/View.html#createFragment(int, int)">createFragment</A>, <A HREF="../../../../javax/swing/text/View.html#forwardUpdate(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">forwardUpdate</A>, <A HREF="../../../../javax/swing/text/View.html#forwardUpdateToView(javax.swing.text.View, javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">forwardUpdateToView</A>, <A HREF="../../../../javax/swing/text/View.html#getAttributes()">getAttributes</A>, <A HREF="../../../../javax/swing/text/View.html#getBreakWeight(int, float, float)">getBreakWeight</A>, <A HREF="../../../../javax/swing/text/View.html#getChildAllocation(int, java.awt.Shape)">getChildAllocation</A>, <A HREF="../../../../javax/swing/text/View.html#getContainer()">getContainer</A>, <A HREF="../../../../javax/swing/text/View.html#getDocument()">getDocument</A>, <A HREF="../../../../javax/swing/text/View.html#getElement()">getElement</A>, <A HREF="../../../../javax/swing/text/View.html#getEndOffset()">getEndOffset</A>, <A HREF="../../../../javax/swing/text/View.html#getGraphics()">getGraphics</A>, <A HREF="../../../../javax/swing/text/View.html#getNextVisualPositionFrom(int, javax.swing.text.Position.Bias, java.awt.Shape, int, javax.swing.text.Position.Bias[])">getNextVisualPositionFrom</A>, <A HREF="../../../../javax/swing/text/View.html#getParent()">getParent</A>, <A HREF="../../../../javax/swing/text/View.html#getResizeWeight(int)">getResizeWeight</A>, <A HREF="../../../../javax/swing/text/View.html#getStartOffset()">getStartOffset</A>, <A HREF="../../../../javax/swing/text/View.html#getView(int)">getView</A>, <A HREF="../../../../javax/swing/text/View.html#getViewCount()">getViewCount</A>, <A HREF="../../../../javax/swing/text/View.html#getViewFactory()">getViewFactory</A>, <A HREF="../../../../javax/swing/text/View.html#getViewIndex(int, javax.swing.text.Position.Bias)">getViewIndex</A>, <A HREF="../../../../javax/swing/text/View.html#insert(int, javax.swing.text.View)">insert</A>, <A HREF="../../../../javax/swing/text/View.html#insertUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">insertUpdate</A>, <A HREF="../../../../javax/swing/text/View.html#isVisible()">isVisible</A>, <A HREF="../../../../javax/swing/text/View.html#modelToView(int, javax.swing.text.Position.Bias, int, javax.swing.text.Position.Bias, java.awt.Shape)">modelToView</A>, <A HREF="../../../../javax/swing/text/View.html#modelToView(int, java.awt.Shape)">modelToView</A>, <A HREF="../../../../javax/swing/text/View.html#preferenceChanged(javax.swing.text.View, boolean, boolean)">preferenceChanged</A>, <A HREF="../../../../javax/swing/text/View.html#remove(int)">remove</A>, <A HREF="../../../../javax/swing/text/View.html#removeAll()">removeAll</A>, <A HREF="../../../../javax/swing/text/View.html#removeUpdate(javax.swing.event.DocumentEvent, java.awt.Shape, javax.swing.text.ViewFactory)">removeUpdate</A>, <A HREF="../../../../javax/swing/text/View.html#replace(int, int, javax.swing.text.View[])">replace</A>, <A HREF="../../../../javax/swing/text/View.html#updateChildren(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, javax.swing.text.ViewFactory)">updateChildren</A>, <A HREF="../../../../javax/swing/text/View.html#updateLayout(javax.swing.event.DocumentEvent.ElementChange, javax.swing.event.DocumentEvent, java.awt.Shape)">updateLayout</A>, <A HREF="../../../../javax/swing/text/View.html#viewToModel(float, float, java.awt.Shape)">viewToModel</A></CODE></TD></TR></TABLE> <A NAME="methods_inherited_from_class_java.lang.Object"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#EEEEFF" CLASS="TableSubHeadingColor"><TD><B>Methods inherited from class java.lang.<A HREF="../../../../java/lang/Object.html">Object</A></B></TD></TR><TR BGCOLOR="white" CLASS="TableRowColor"><TD><CODE><A HREF="../../../../java/lang/Object.html#clone()">clone</A>, <A HREF="../../../../java/lang/Object.html#equals(java.lang.Object)">equals</A>, <A HREF="../../../../java/lang/Object.html#finalize()">finalize</A>, <A HREF="../../../../java/lang/Object.html#getClass()">getClass</A>, <A HREF="../../../../java/lang/Object.html#hashCode()">hashCode</A>, <A HREF="../../../../java/lang/Object.html#notify()">notify</A>, <A HREF="../../../../java/lang/Object.html#notifyAll()">notifyAll</A>, <A HREF="../../../../java/lang/Object.html#toString()">toString</A>, <A HREF="../../../../java/lang/Object.html#wait()">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long)">wait</A>, <A HREF="../../../../java/lang/Object.html#wait(long, int)">wait</A></CODE></TD></TR></TABLE> <P><!-- ============ FIELD DETAIL =========== --><A NAME="field_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Field Detail</B></FONT></TD></TR></TABLE><A NAME="SUBMIT"><!-- --></A><H3>SUBMIT</H3><PRE>public static final <A HREF="../../../../java/lang/String.html">String</A> <B>SUBMIT</B></PRE><DL><DD><B>Deprecated.</B> <I>As of 1.3, value now comes from UIManager property FormView.submitButtonText</I><P><DD>If a value attribute is not specified for a FORM input element of type "submit", then this default string is used.</DL><HR><A NAME="RESET"><!-- --></A><H3>RESET</H3><PRE>public static final <A HREF="../../../../java/lang/String.html">String</A> <B>RESET</B></PRE><DL><DD><B>Deprecated.</B> <I>As of 1.3, value comes from UIManager UIManager property FormView.resetButtonText</I><P><DD>If a value attribute is not specified for a FORM input element of type "reset", then this default string is used.</DL><!-- ========= CONSTRUCTOR DETAIL ======== --><A NAME="constructor_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Constructor Detail</B></FONT></TD></TR></TABLE><A NAME="FormView(javax.swing.text.Element)"><!-- --></A><H3>FormView</H3><PRE>public <B>FormView</B>(<A HREF="../../../../javax/swing/text/Element.html">Element</A> elem)</PRE><DL><DD>Creates a new FormView object.<DD><DL><DT><B>Parameters:</B><DD><CODE>elem</CODE> - the element to decorate</DL></DD></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" CELLPADDING="3" CELLSPACING="0" WIDTH="100%"><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TD COLSPAN=1><FONT SIZE="+2"><B>Method Detail</B></FONT></TD></TR></TABLE><A NAME="createComponent()"><!-- --></A><H3>createComponent</H3><PRE>protected <A HREF="../../../../java/awt/Component.html">Component</A> <B>createComponent</B>()</PRE><DL><DD>Create the component. This is basically a big switch statement based upon the tag type and html attributes of the associated element.<DD><DL><DT><B>Overrides:</B><DD><CODE><A HREF="../../../../javax/swing/text/ComponentView.html#createComponent()">createComponent</A></CODE> in class <CODE><A HREF="../../../../javax/swing/text/ComponentView.html">ComponentView</A></CODE></DL></DD></DL><HR><A NAME="actionPerformed(java.awt.event.ActionEvent)"><!-- --></A><H3>actionPerformed</H3><PRE>public void <B>actionPerformed</B>(<A HREF="../../../../java/awt/event/ActionEvent.html">ActionEvent</A> evt)</PRE><DL><DD>Responsible for processeing the ActionEvent. If the element associated with the FormView, has a type of "submit", "reset", "text" or "password" then the action is processed. In the case of a "submit" the form is submitted. In the case of a "reset" the form is reset to its original state. In the case of "text" or "password", if the element is the last one of type "text" or "password", the form is submitted. Otherwise, focus is transferred to the next component in the form.<DD><DL><DT><B>Specified by: </B><DD><CODE><A HREF="../../../../java/awt/event/ActionListener.html#actionPerformed(java.awt.event.ActionEvent)">actionPerformed</A></CODE> in interface <CODE><A HREF="../../../../java/awt/event/ActionListener.html">ActionListener</A></CODE></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>evt</CODE> - the ActionEvent.</DL></DD></DL><HR><A NAME="submitData(java.lang.String)"><!-- --></A><H3>submitData</H3><PRE>protected void <B>submitData</B>(<A HREF="../../../../java/lang/String.html">String</A> data)</PRE><DL><DD>This method is responsible for submitting the form data. A thread is forked to undertake the submission.<DD><DL></DL></DD></DL><HR><A NAME="imageSubmit(java.lang.String)"><!-- --></A><H3>imageSubmit</H3><PRE>protected void <B>imageSubmit</B>(<A HREF="../../../../java/lang/String.html">String</A> imageData)</PRE><DL><DD>This method is called to submit a form in response to a click on an image -- an <INPUT> form element of type "image".<DD><DL></DL></DD><DD><DL><DT><B>Parameters:</B><DD><CODE>the</CODE> - mouse click coordinates.</DL></DD></DL><!-- ========= END OF CLASS DATA ========= --><HR><!-- ========== START OF NAVBAR ========== --><A NAME="navbar_bottom"><!-- --></A><TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0"><TR><TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1"><A NAME="navbar_bottom_firstrow"><!-- --></A><TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3"> <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="class-use/FormView.html"><FONT CLASS="NavBarFont1"><B>Use</B></FONT></A> </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-files/index-1.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><b>Java<sup><font size=-2>TM</font></sup> 2 Platform<br>Std. Ed. v1.3</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../javax/swing/text/html/CSS.Attribute.html"><B>PREV CLASS</B></A> <A HREF="../../../../javax/swing/text/html/FormView.MouseEventListener.html"><B>NEXT CLASS</B></A></FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../../index.html" TARGET="_top"><B>FRAMES</B></A> <A HREF="FormView.html" TARGET="_top"><B>NO FRAMES</B></A></FONT></TD></TR><TR><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2"> SUMMARY: <A HREF="#inner_class_summary">INNER</A> | <A HREF="#field_summary">FIELD</A> | <A HREF="#constructor_summary">CONSTR</A> | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#field_detail">FIELD</A> | <A HREF="#constructor_detail">CONSTR</A> | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><!-- =========== END OF NAVBAR =========== --><HR><font size="-1"><a href="http://java.sun.com/cgi-bin/bugreport.cgi">Submit a bug or feature</a><br>For further API reference and developer documentation, see <a href="http://java.sun.com/products/jdk/1.3/devdocs-vs-specs.html">Java 2 SDK SE Developer Documentation</a>. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples. <p>Java, Java 2D, and JDBC are trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.<br>Copyright 1993-2000 Sun Microsystems, Inc. 901 San Antonio Road<br>Palo Alto, California, 94303, U.S.A. All Rights Reserved.</font></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -