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
-
-
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
-
-
-
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
-
-