Package org.opencms.gwt.client.ui.input
Enum I_CmsFormWidget.FieldType
- All Implemented Interfaces:
Serializable
,Comparable<I_CmsFormWidget.FieldType>
,java.lang.constant.Constable
- Enclosing interface:
- I_CmsFormWidget
Field type constants.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionField type constant for booleans (Java type: Boolean).Field type constant for dates (Java type: Date).Field type constant for numbers (Java type: Double).Field type constant for strings (Java type: String).Field type constant for lists of strings (Java type: List). -
Method Summary
Modifier and TypeMethodDescriptionstatic I_CmsFormWidget.FieldType
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 Details
-
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 Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-