public class SkinModel.Theme extends Object
Modifier and Type | Field and Description |
---|---|
private List<String> |
_themeColors |
private I18nizableText |
_themeDescription |
private String |
_themeId |
private I18nizableText |
_themeLabel |
Constructor and Description |
---|
Theme(String id,
I18nizableText label,
I18nizableText description,
List<String> colors)
Constructor
|
Modifier and Type | Method and Description |
---|---|
String |
getColor(int index)
Get the color to the given index
|
List<String> |
getColors()
Get the colors
|
I18nizableText |
getDescription()
Get the description
|
String |
getId()
Get the id
|
I18nizableText |
getLabel()
Get the label
|
private I18nizableText _themeLabel
private I18nizableText _themeDescription
private List<String> _themeColors
public Theme(String id, I18nizableText label, I18nizableText description, List<String> colors)
id
- the theme idlabel
- the theme's labeldescription
- the theme's descriptioncolors
- the theme's colorspublic I18nizableText getLabel()
public I18nizableText getDescription()