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