Class Variant
- java.lang.Object
-
- org.ametys.skinfactory.parameters.Variant
-
-
Field Summary
Fields Modifier and Type Field Description (package private) I18nizableText
_description
(package private) String
_id
(package private) I18nizableText
_label
(package private) String
_thumbnail
-
Constructor Summary
Constructors Constructor Description Variant(String id, I18nizableText label, I18nizableText description, String thumbnail)
Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description I18nizableText
getDescription()
Get the descriptionString
getId()
Get the source pathI18nizableText
getLabel()
Get the descriptionString
getThumbnail()
Get the icon path
-
-
-
Field Detail
-
_label
I18nizableText _label
-
_description
I18nizableText _description
-
_thumbnail
String _thumbnail
-
-
Constructor Detail
-
Variant
public Variant(String id, I18nizableText label, I18nizableText description, String thumbnail)
Constructor- Parameters:
id
- the idlabel
- the labeldescription
- the descriptionthumbnail
- the thumbnail image
-
-
Method Detail
-
getLabel
public I18nizableText getLabel()
Get the description- Returns:
- the description
-
getDescription
public I18nizableText getDescription()
Get the description- Returns:
- the description
-
getThumbnail
public String getThumbnail()
Get the icon path- Returns:
- the icon path
-
-