Package org.opencms.gwt.client.ui.input
Enum I_CmsFormWidget.FieldType
- java.lang.Object
-
- java.lang.Enum<I_CmsFormWidget.FieldType>
-
- org.opencms.gwt.client.ui.input.I_CmsFormWidget.FieldType
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<I_CmsFormWidget.FieldType>
- Enclosing interface:
- I_CmsFormWidget
public static enum I_CmsFormWidget.FieldType extends java.lang.Enum<I_CmsFormWidget.FieldType>
Field type constants.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLEAN
Field type constant for booleans (Java type: Boolean).DATE
Field type constant for dates (Java type: Date).NUMBER
Field type constant for numbers (Java type: Double).STRING
Field type constant for strings (Java type: String).STRING_LIST
Field type constant for lists of strings (Java type: List).
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static I_CmsFormWidget.FieldType
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static I_CmsFormWidget.FieldType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
BOOLEAN
public static final I_CmsFormWidget.FieldType BOOLEAN
Field type constant for booleans (Java type: Boolean).
-
DATE
public static final I_CmsFormWidget.FieldType DATE
Field type constant for dates (Java type: Date).
-
NUMBER
public static final I_CmsFormWidget.FieldType NUMBER
Field type constant for numbers (Java type: Double).
-
STRING
public static final I_CmsFormWidget.FieldType STRING
Field type constant for strings (Java type: String).
-
STRING_LIST
public static final I_CmsFormWidget.FieldType STRING_LIST
Field type constant for lists of strings (Java type: List).
-
-
Method Detail
-
values
public static I_CmsFormWidget.FieldType[] 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 (I_CmsFormWidget.FieldType c : I_CmsFormWidget.FieldType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static I_CmsFormWidget.FieldType 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 namejava.lang.NullPointerException
- if the argument is null
-
-