Package de.xima.fc.mdl.enums
Enum EFormFieldTyp
- All Implemented Interfaces:
Serializable
,Comparable<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 ConstantsEnum ConstantDescriptionThe checkbox type, ie. aINPUT
form element of typecheckbox
that has two states, checked and not checked.The select type, ie. aSELECT
form element with several options from which one can be selected.The textarea type, ie. aTEXTAREA
form element for textual input that support multiple lines.The textfield type, ie. aINPUT
form element of typetext
that supports only a single line of text.The unknown type, ie. all form elements that are not of one of the other types.The upload type, ie. aUPLOAD
form element of typefile
that can be used to upload file from the file system.The widget type, ie. any form element supplied by a widget plugin. -
Method Summary
Modifier and TypeMethodDescriptionstatic EFormFieldTyp
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 Details
-
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. -
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. -
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 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
-