Package de.xima.fc.form.common.models
Enum EFormThemeFileInheritanceMode
- java.lang.Object
-
- java.lang.Enum<EFormThemeFileInheritanceMode>
-
- de.xima.fc.form.common.models.EFormThemeFileInheritanceMode
-
- All Implemented Interfaces:
Serializable
,Comparable<EFormThemeFileInheritanceMode>
public enum EFormThemeFileInheritanceMode extends Enum<EFormThemeFileInheritanceMode>
Controls the behavior when aIFormTheme
and its parent both contain a file with the same name.- Since:
- 8.3.0
- Author:
- XIMA MEDIA GmbH
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EFormThemeFileInheritanceMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static EFormThemeFileInheritanceMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MERGE
public static final EFormThemeFileInheritanceMode MERGE
The file from the parent theme is merged with the file from the theme.
-
OVERRIDE
public static final EFormThemeFileInheritanceMode OVERRIDE
The file from the parent them eis ignored, only the file from the theme is used.
-
-
Method Detail
-
values
public static EFormThemeFileInheritanceMode[] 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 (EFormThemeFileInheritanceMode c : EFormThemeFileInheritanceMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EFormThemeFileInheritanceMode 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
-
-