Package org.ametys.web.tags
Class TagColorsComponent
java.lang.Object
org.ametys.runtime.plugin.component.AbstractLogEnabled
org.ametys.cms.color.AbstractColorsComponent
org.ametys.web.color.AbstractSkinColorsComponent
org.ametys.web.tags.TagColorsComponent
- All Implemented Interfaces:
LogEnabled
,Initializable
,Component
,Configurable
,Contextualizable
,Serviceable
Component listing the available colors for a tag
First getting colors in skin://conf/tag-colors.xml
If not, getting colors in /WEB-INF/param/tag-colors.xml
If not, getting default colors in plugin.xml
-
Nested Class Summary
Nested classes/interfaces inherited from class org.ametys.web.color.AbstractSkinColorsComponent
AbstractSkinColorsComponent.ColorFileReloader
Nested classes/interfaces inherited from class org.ametys.cms.color.AbstractColorsComponent
AbstractColorsComponent.ColorsDefinition
-
Field Summary
Fields inherited from class org.ametys.web.color.AbstractSkinColorsComponent
_cacheManager, _context, _fileReloaderUtils, _siteManager, _sourceResolver, COLOR_SKIN_CACHE
-
Constructor Summary
-
Method Summary
Methods inherited from class org.ametys.web.color.AbstractSkinColorsComponent
_getColorsFromSkin, _getDefaultKeyFromSkin, contextualize, getColors, getColors, getDefaultKey, getDefaultKey, initialize, service
Methods inherited from class org.ametys.cms.color.AbstractColorsComponent
configure, getColorCSSClassPrefix, parseColors
Methods inherited from class org.ametys.runtime.plugin.component.AbstractLogEnabled
getLogger, setLogger
-
Constructor Details
-
TagColorsComponent
public TagColorsComponent()
-
-
Method Details
-
_getColorSkinFilePath
Description copied from class:AbstractSkinColorsComponent
Add the color file path- Specified by:
_getColorSkinFilePath
in classAbstractSkinColorsComponent
- Returns:
- the color file path
-