Package org.ametys.cms.tag
Interface ColorableTag
- All Superinterfaces:
Tag
- All Known Implementing Classes:
Category
,CategoryCMSTag
,ColorableCMSTag
Interface for colorable Tag
-
Field Summary
Fields inherited from interface org.ametys.cms.tag.Tag
NAME_PATTERN
-
Method Summary
-
Method Details
-
getColor
Get the color index in the component palete- Parameters:
withDefaultValue
-true
if we want to get first the color of the parent then the default value- Returns:
- the color. Can be null if withDefaultValue is
false
-
getColorComponent
Get the color component- Returns:
- the color component
-
getColorCSSClassPrefix
Get the color css class- Returns:
- the color css class
-