Enum AbstractSkinParameter.SkinParameterType
- java.lang.Object
-
- java.lang.Enum<AbstractSkinParameter.SkinParameterType>
-
- org.ametys.skinfactory.parameters.AbstractSkinParameter.SkinParameterType
-
- All Implemented Interfaces:
Serializable
,Comparable<AbstractSkinParameter.SkinParameterType>
- Enclosing class:
- AbstractSkinParameter
public static enum AbstractSkinParameter.SkinParameterType extends Enum<AbstractSkinParameter.SkinParameterType>
Enumeration of supported types
-
-
Constructor Summary
Constructors Modifier Constructor Description private
SkinParameterType()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AbstractSkinParameter.SkinParameterType
valueOf(String name)
Returns the enum constant of this type with the specified name.static AbstractSkinParameter.SkinParameterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMAGE
public static final AbstractSkinParameter.SkinParameterType IMAGE
Image
-
CSS
public static final AbstractSkinParameter.SkinParameterType CSS
CSS property
-
VARIANT
public static final AbstractSkinParameter.SkinParameterType VARIANT
Variant
-
TEXT
public static final AbstractSkinParameter.SkinParameterType TEXT
Text
-
I18N
public static final AbstractSkinParameter.SkinParameterType I18N
I18n text
-
-
Constructor Detail
-
SkinParameterType
private SkinParameterType()
-
-
Method Detail
-
values
public static AbstractSkinParameter.SkinParameterType[] 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 (AbstractSkinParameter.SkinParameterType c : AbstractSkinParameter.SkinParameterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AbstractSkinParameter.SkinParameterType 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
-
-