Package de.xima.fc.form.common.models
Enum EFormThemeReferenceKind
- java.lang.Object
-
- java.lang.Enum<EFormThemeReferenceKind>
-
- de.xima.fc.form.common.models.EFormThemeReferenceKind
-
- All Implemented Interfaces:
Serializable,Comparable<EFormThemeReferenceKind>
public enum EFormThemeReferenceKind extends Enum<EFormThemeReferenceKind>
Enumeration of the possible types ofFormThemeReference.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CLIENT_FORM_THEMEFORM_THEME_PLUGINSYSTEM
-
Field Summary
Fields Modifier and Type Field Description static StringTYPE_CLIENT_FORM_THEMEThe name for theCLIENT_FORM_THEMEtype.static StringTYPE_FORM_THEME_PLUGINThe name for theFORM_THEME_PLUGINtype.static StringTYPE_SYSTEMThe name for theSYSTEMtype.
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description static EFormThemeReferenceKindbyTypeNameOrNull(String typeName)Returns theEFormThemeReferenceKindfor the giventype name, or null if no such type exists.StringgetDisplayName(Locale locale)Returns the display name of this kind of form theme reference in the given locale.abstract StringgetTypeName()Gets the canonical type name for this kind of form theme reference.static EFormThemeReferenceKindvalueOf(String name)Returns the enum constant of this type with the specified name.static EFormThemeReferenceKind[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CLIENT_FORM_THEME
public static final EFormThemeReferenceKind CLIENT_FORM_THEME
-
FORM_THEME_PLUGIN
public static final EFormThemeReferenceKind FORM_THEME_PLUGIN
-
SYSTEM
public static final EFormThemeReferenceKind SYSTEM
-
-
Field Detail
-
TYPE_CLIENT_FORM_THEME
public static final String TYPE_CLIENT_FORM_THEME
The name for theCLIENT_FORM_THEMEtype.- See Also:
- Constant Field Values
-
TYPE_FORM_THEME_PLUGIN
public static final String TYPE_FORM_THEME_PLUGIN
The name for theFORM_THEME_PLUGINtype.- See Also:
- Constant Field Values
-
TYPE_SYSTEM
public static final String TYPE_SYSTEM
The name for theSYSTEMtype.- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static EFormThemeReferenceKind[] 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 (EFormThemeReferenceKind c : EFormThemeReferenceKind.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFormThemeReferenceKind 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
-
getDisplayName
public String getDisplayName(Locale locale)
Returns the display name of this kind of form theme reference in the given locale.- Parameters:
locale- The locale to use.- Returns:
- The display name of this kind of form theme reference in the given locale.
-
getTypeName
public abstract String getTypeName()
Gets the canonical type name for this kind of form theme reference.- Returns:
- The canonical type name for this kind of form theme reference.
- See Also:
byTypeNameOrNull(String)
-
byTypeNameOrNull
public static EFormThemeReferenceKind byTypeNameOrNull(String typeName)
Returns theEFormThemeReferenceKindfor the giventype name, or null if no such type exists.- Parameters:
typeName- The type name to look up.- Returns:
- The corresponding
EFormThemeReferenceKind, or null if no such type exists.
-
-