net.neurowork.mobile.android.fw.levels.impl
Enum FormFieldType
java.lang.Object
java.lang.Enum<FormFieldType>
net.neurowork.mobile.android.fw.levels.impl.FormFieldType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<FormFieldType>
public enum FormFieldType
- extends java.lang.Enum<FormFieldType>
Class that implements all type form
- Author:
- Jorge E. Villaverde
Method Summary |
static FormFieldType |
fromText(java.lang.String text)
|
static FormFieldType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static FormFieldType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared. |
Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INPUT_TEXT
public static final FormFieldType INPUT_TEXT
INPUT_NUMBER
public static final FormFieldType INPUT_NUMBER
INPUT_EMAIL
public static final FormFieldType INPUT_EMAIL
INPUT_PHONE
public static final FormFieldType INPUT_PHONE
INPUT_CHECK
public static final FormFieldType INPUT_CHECK
INPUT_PICKER
public static final FormFieldType INPUT_PICKER
INPUT_PASSWORD
public static final FormFieldType INPUT_PASSWORD
values
public static FormFieldType[] values()
- Returns an array containing the constants of this enum type, in
the order they are declared. This method may be used to iterate
over the constants as follows:
for (FormFieldType c : FormFieldType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static FormFieldType valueOf(java.lang.String name)
- Returns the enum constant of this type with the specified name.
The string must match exactly an identifier used to declare an
enum constant in this type. (Extraneous whitespace characters are
not permitted.)
- Parameters:
name
- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is null
fromText
public static FormFieldType fromText(java.lang.String text)