Package org.ametys.web.skin
Class SkinModel.CssStyleItem
- java.lang.Object
-
- org.ametys.web.skin.SkinModel.CssStyleItem
-
- All Implemented Interfaces:
SkinModel.CssMenuItem
- Enclosing class:
- SkinModel
public class SkinModel.CssStyleItem extends Object implements SkinModel.CssMenuItem
Bean representing a item of css style
-
-
Field Summary
Fields Modifier and Type Field Description private String_cssClassprivate String_cssValueprivate String_styleIconprivate String_styleIconClsprivate I18nizableText_styleLabel
-
Constructor Summary
Constructors Constructor Description CssStyleItem(String value, I18nizableText label, String iconCls, String icon, String cssClass)Constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCssClass()Get the css classStringgetIcon()Get the iconStringgetIconCls()Get the icon css classI18nizableTextgetLabel()Get the labelStringgetValue()Get the value
-
-
-
Field Detail
-
_styleLabel
private I18nizableText _styleLabel
-
_styleIcon
private String _styleIcon
-
_styleIconCls
private String _styleIconCls
-
-
Constructor Detail
-
CssStyleItem
public CssStyleItem(String value, I18nizableText label, String iconCls, String icon, String cssClass)
Constructor- Parameters:
value- the valuelabel- the item's labeliconCls- the CSS class for icon. Can be null.icon- the icon. Can be null.cssClass- the css class. Can be null.
-
-
Method Detail
-
getLabel
public I18nizableText getLabel()
Get the label- Returns:
- the label
-
getIconCls
public String getIconCls()
Get the icon css class- Returns:
- the icon css class or
null
-
getCssClass
public String getCssClass()
Get the css class- Returns:
- The css class or
null
-
-