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
-
-
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 String
getCssClass()
Get the css classString
getIcon()
Get the iconString
getIconCls()
Get the icon css classI18nizableText
getLabel()
Get the labelString
getValue()
Get the value
-
-
-
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
-
-