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>
_themeColors
private I18nizableText
_themeDescription
private String
_themeId
private 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 String
getColor(int index)
Get the color to the given indexList<String>
getColors()
Get the colorsI18nizableText
getDescription()
Get the descriptionString
getId()
Get the idI18nizableText
getLabel()
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
-
-