📄 formfield.type.html
字号:
boolean_type</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>boolean_type</B></PRE><DL><DD>The field enables an entity to gather or provide an either-or choice between two options. The allowable values are 1 for yes/true/assent and 0 for no/false/decline. The default value is 0.<P><DL></DL></DL><HR><A NAME="fixed"><!-- --></A><H3>fixed</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>fixed</B></PRE><DL><DD>The field is intended for data description (e.g., human-readable text such as "section" headers) rather than data gathering or provision. The <value/> child SHOULD NOT contain newlines (the \n and \r characters); instead an application SHOULD generate multiple fixed fields, each with one <value/> child.<P><DL></DL></DL><HR><A NAME="hidden"><!-- --></A><H3>hidden</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>hidden</B></PRE><DL><DD>The field is not shown to the entity providing information, but instead is returned with the form.<P><DL></DL></DL><HR><A NAME="jid_multi"><!-- --></A><H3>jid_multi</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>jid_multi</B></PRE><DL><DD>The field enables an entity to gather or provide multiple Jabber IDs.<P><DL></DL></DL><HR><A NAME="jid_single"><!-- --></A><H3>jid_single</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>jid_single</B></PRE><DL><DD>The field enables an entity to gather or provide multiple Jabber IDs.<P><DL></DL></DL><HR><A NAME="list_multi"><!-- --></A><H3>list_multi</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>list_multi</B></PRE><DL><DD>The field enables an entity to gather or provide one or more options from among many.<P><DL></DL></DL><HR><A NAME="list_single"><!-- --></A><H3>list_single</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>list_single</B></PRE><DL><DD>The field enables an entity to gather or provide one option from among many.<P><DL></DL></DL><HR><A NAME="text_multi"><!-- --></A><H3>text_multi</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>text_multi</B></PRE><DL><DD>The field enables an entity to gather or provide multiple lines of text.<P><DL></DL></DL><HR><A NAME="text_private"><!-- --></A><H3>text_private</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>text_private</B></PRE><DL><DD>The field enables an entity to gather or provide a single line or word of text, which shall be obscured in an interface (e.g., *****).<P><DL></DL></DL><HR><A NAME="text_single"><!-- --></A><H3>text_single</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>text_single</B></PRE><DL><DD>The field enables an entity to gather or provide a single line or word of text, which may be shown in an interface. This field type is the default and MUST be assumed if an entity receives a field type it does not understand.<P><DL></DL></DL><!-- ============ METHOD DETAIL ========== --><A NAME="method_detail"><!-- --></A><TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY=""><TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor"><TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2"><B>Method Detail</B></FONT></TH></TR></TABLE><A NAME="values()"><!-- --></A><H3>values</H3><PRE>public static final <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A>[] <B>values</B>()</PRE><DL><DD>Returns an array containing the constants of this enum type, inthe order they're declared. This method may be used to iterateover the constants as follows:<pre>for(FormField.Type c : FormField.Type.values()) System.out.println(c);</pre><P><DD><DL><DT><B>Returns:</B><DD>an array containing the constants of this enum type, inthe order they're declared</DL></DD></DL><HR><A NAME="valueOf(java.lang.String)"><!-- --></A><H3>valueOf</H3><PRE>public static <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>valueOf</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> name)</PRE><DL><DD>Returns the enum constant of this type with the specified name.The string must match <I>exactly</I> an identifier used to declare anenum constant in this type. (Extraneous whitespace characters are not permitted.)<P><DD><DL><DT><B>Parameters:</B><DD><CODE>name</CODE> - the name of the enum constant to be returned.<DT><B>Returns:</B><DD>the enum constant with the specified name<DT><B>Throws:</B><DD><CODE><A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/IllegalArgumentException.html" title="class or interface in java.lang">IllegalArgumentException</A></CODE> - if this enum type has no constantwith the specified name</DL></DD></DL><HR><A NAME="fromXMPP(java.lang.String)"><!-- --></A><H3>fromXMPP</H3><PRE>public static <A HREF="../../../org/xmpp/forms/FormField.Type.html" title="enum in org.xmpp.forms">FormField.Type</A> <B>fromXMPP</B>(<A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> type)</PRE><DL><DD>Converts a String value into its Type representation.<P><DD><DL><DT><B>Parameters:</B><DD><CODE>type</CODE> - the String value.<DT><B>Returns:</B><DD>the type corresponding to the String.</DL></DD></DL><HR><A NAME="toXMPP()"><!-- --></A><H3>toXMPP</H3><PRE>public <A HREF="http://java.sun.com/j2se/1.5.0/docs/api/java/lang/String.html" title="class or interface in java.lang">String</A> <B>toXMPP</B>()</PRE><DL><DD>Returns the Field Type as a valid Field Type code string.<P><DD><DL><DT><B>Returns:</B><DD>the Field Type value.</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><b>Openfire 3.6.0a Javadoc</b></EM></TD></TR><TR><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../org/xmpp/forms/FormField.Option.html" title="class in org.xmpp.forms"><B>PREV CLASS</B></A> NEXT CLASS</FONT></TD><TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2"> <A HREF="../../../index.html?org/xmpp/forms/FormField.Type.html" target="_top"><B>FRAMES</B></A> <A HREF="FormField.Type.html" target="_top"><B>NO FRAMES</B></A> <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: NESTED | <A HREF="#enum_constant_summary">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_summary">METHOD</A></FONT></TD><TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">DETAIL: <A HREF="#enum_constant_detail">ENUM CONSTANTS</A> | FIELD | <A HREF="#method_detail">METHOD</A></FONT></TD></TR></TABLE><A NAME="skip-navbar_bottom"></A><!-- ======== END OF BOTTOM NAVBAR ======= --><HR><i>Copyright © 2003-2008 Jive Software.</i></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -