Package de.xima.fc.mdl.enums
Enum EFormFieldTyp
- java.lang.Object
-
- java.lang.Enum<EFormFieldTyp>
-
- de.xima.fc.mdl.enums.EFormFieldTyp
-
- All Implemented Interfaces:
Serializable
,Comparable<EFormFieldTyp>
public enum EFormFieldTyp extends Enum<EFormFieldTyp>
This enum lists the different types of form elements. Each form element has got exactly one of these types.- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKBOX
The checkbox type, ie. aINPUT
form element of typecheckbox
that has two states, checked and not checked.SELECT
The select type, ie. aSELECT
form element with several options from which one can be selected.TEXTAREA
The textarea type, ie. aTEXTAREA
form element for textual input that support multiple lines.TEXTFIELD
The textfield type, ie. aINPUT
form element of typetext
that supports only a single line of text.UNKNOWN
The unknown type, ie. all form elements that are not of one of the other types.UPLOAD
The upload type, ie. aUPLOAD
form element of typefile
that can be used to upload file from the file system.WIDGET
The widget type, ie. any form element supplied by a widget plugin.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFormFieldTyp
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFormFieldTyp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CHECKBOX
public static final EFormFieldTyp CHECKBOX
The checkbox type, ie. aINPUT
form element of typecheckbox
that has two states, checked and not checked.
-
SELECT
public static final EFormFieldTyp SELECT
The select type, ie. aSELECT
form element with several options from which one can be selected.
-
TEXTAREA
public static final EFormFieldTyp TEXTAREA
The textarea type, ie. aTEXTAREA
form element for textual input that support multiple lines.
-
TEXTFIELD
public static final EFormFieldTyp TEXTFIELD
The textfield type, ie. aINPUT
form element of typetext
that supports only a single line of text.
-
UPLOAD
public static final EFormFieldTyp UPLOAD
The upload type, ie. aUPLOAD
form element of typefile
that can be used to upload file from the file system.
-
WIDGET
public static final EFormFieldTyp WIDGET
The widget type, ie. any form element supplied by a widget plugin.
-
UNKNOWN
public static final EFormFieldTyp UNKNOWN
The unknown type, ie. all form elements that are not of one of the other types. Includes, for example, spacer and image elements.
-
-
Method Detail
-
values
public static EFormFieldTyp[] 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 (EFormFieldTyp c : EFormFieldTyp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFormFieldTyp valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-