Package org.ametys.web.skin
Class SkinModel.Theme
- java.lang.Object
-
- org.ametys.web.skin.SkinModel.Theme
-
- Enclosing class:
- SkinModel
public class SkinModel.Theme extends Object
Bean representing a theme
-
-
Field Summary
Fields Modifier and Type Field Description private List<String>_themeColorsprivate I18nizableText_themeDescriptionprivate String_themeIdprivate I18nizableText_themeLabel
-
Constructor Summary
Constructors Constructor Description Theme(String id, I18nizableText label, I18nizableText description, List<String> colors)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetColor(int index)Get the color to the given indexList<String>getColors()Get the colorsI18nizableTextgetDescription()Get the descriptionStringgetId()Get the idI18nizableTextgetLabel()Get the label
-
-
-
Field Detail
-
_themeLabel
private I18nizableText _themeLabel
-
_themeDescription
private I18nizableText _themeDescription
-
_themeColors
private List<String> _themeColors
-
-
Constructor Detail
-
Theme
public Theme(String id, I18nizableText label, I18nizableText description, List<String> colors)
Constructor- Parameters:
id- the theme idlabel- the theme's labeldescription- the theme's descriptioncolors- the theme's colors
-
-
Method Detail
-
getLabel
public I18nizableText getLabel()
Get the label- Returns:
- the label
-
getDescription
public I18nizableText getDescription()
Get the description- Returns:
- the description
-
-