Package com.jalios.jcms.uicomponent.icon
Class IconFetcher
- java.lang.Object
-
- com.jalios.jcms.uicomponent.icon.IconFetcher
-
public class IconFetcher extends java.lang.Object
A class to query icons- Since:
- jcms-10.0.7
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
DEFAULT_ICON_SET_PROP_PREFIX
static java.lang.String
ICON_DEFAULT_SET_PROP
protected java.lang.String
iconPropPrefix
protected java.lang.String
search
protected java.lang.String
userLang
-
Constructor Summary
Constructors Constructor Description IconFetcher()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<Icon>
getIcons()
Return the list of icons filtered by provided filtersIconFetcher
iconPropPrefix(java.lang.String iconPropPrefix)
IconFetcher
search(java.lang.String search)
IconFetcher
userLang(java.lang.String userLang)
-
-
-
Field Detail
-
DEFAULT_ICON_SET_PROP_PREFIX
public static final java.lang.String DEFAULT_ICON_SET_PROP_PREFIX
- See Also:
- Constant Field Values
-
ICON_DEFAULT_SET_PROP
public static final java.lang.String ICON_DEFAULT_SET_PROP
- See Also:
- Constant Field Values
-
iconPropPrefix
protected java.lang.String iconPropPrefix
-
search
protected java.lang.String search
-
userLang
protected java.lang.String userLang
-
-
Method Detail
-
getIcons
public java.util.List<Icon> getIcons()
Return the list of icons filtered by provided filters- Returns:
- a List of
Icon
- Since:
- jcms-10.0.7
-
iconPropPrefix
public IconFetcher iconPropPrefix(java.lang.String iconPropPrefix)
- Parameters:
iconPropPrefix
- the property prefix to search matching icons- Returns:
- the
IconFetcher
(this) - Since:
- jcms-10.0.7
-
search
public IconFetcher search(java.lang.String search)
- Parameters:
search
- the text to filter on- Returns:
- the
IconFetcher
(this) - Since:
- jcms-10.0.7
-
userLang
public IconFetcher userLang(java.lang.String userLang)
- Parameters:
userLang
- the user lang to search on icon keywords per language- Returns:
- the
IconFetcher
(this) - Since:
- jcms-10.0.7
-
-