Package org.cyclos.model.system.fields
Enum CustomFieldControl
- java.lang.Object
-
- java.lang.Enum<CustomFieldControl>
-
- org.cyclos.model.system.fields.CustomFieldControl
-
- All Implemented Interfaces:
Serializable,Comparable<CustomFieldControl>,HasMessageKey
public enum CustomFieldControl extends Enum<CustomFieldControl> implements HasMessageKey
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHECKBOXENTITY_SELECTIONMULTI_SELECTIONRADIORICH_EDITORSINGLE_SELECTIONTEXTTEXTAREAUPLOAD
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MessageKeygetMessageKey()booleanisUseSize()static CustomFieldControlvalueOf(String name)Returns the enum constant of this type with the specified name.static CustomFieldControl[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TEXT
public static final CustomFieldControl TEXT
-
TEXTAREA
public static final CustomFieldControl TEXTAREA
-
RICH_EDITOR
public static final CustomFieldControl RICH_EDITOR
-
SINGLE_SELECTION
public static final CustomFieldControl SINGLE_SELECTION
-
MULTI_SELECTION
public static final CustomFieldControl MULTI_SELECTION
-
ENTITY_SELECTION
public static final CustomFieldControl ENTITY_SELECTION
-
RADIO
public static final CustomFieldControl RADIO
-
CHECKBOX
public static final CustomFieldControl CHECKBOX
-
UPLOAD
public static final CustomFieldControl UPLOAD
-
-
Method Detail
-
values
public static CustomFieldControl[] 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 (CustomFieldControl c : CustomFieldControl.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CustomFieldControl 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
-
getMessageKey
public MessageKey getMessageKey()
- Specified by:
getMessageKeyin interfaceHasMessageKey
-
isUseSize
public boolean isUseSize()
-
-