Package com.jalios.jcms.uicomponent.icon
Class Icon
java.lang.Object
com.jalios.jcms.uicomponent.icon.Icon
A Pojo representing an icon
- Since:
- jcms-10.0.7
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetKey()String[]getKeywords(String lang) Returns the icon keywords for provided languageReturns the icon label by searching for a matching language property (By its key) or by returning the key last word if glp has not been foundgetSrc()voidsetKeywordsPerLang(Map<String, String[]> keywordsPerLang)
-
Field Details
-
src
-
key
-
keywordsPerLang
-
-
Constructor Details
-
Icon
-
-
Method Details
-
getSrc
- Returns:
- the icon src (For jalios:icon tag)
- Since:
- jcms-10.0.7
-
getKey
- Returns:
- the icon key has found in properties
- Since:
- jcms-10.0.7
-
getKeywordsPerLang
- Returns:
- the map of keywords for all site language
- Since:
- jcms-10.0.7
-
getLabel
Returns the icon label by searching for a matching language property (By its key) or by returning the key last word if glp has not been found- Parameters:
lang- the language- Returns:
- the icon label
- Since:
- jcms-10.0.7
-
getKeywords
Returns the icon keywords for provided language- Parameters:
lang- the language- Returns:
- and array of keywords
- Since:
- jcms-10.0.7
-
setKeywordsPerLang
-