Package com.jalios.jcms.categorybrowser
Interface CategoryBrowser
- All Known Implementing Classes:
SearchCategoryBrowser
public interface CategoryBrowser
-
Method Summary
Modifier and TypeMethodDescriptionbooleanReturns true if the Category Browser proposes to browse this cateogy.default ButtonReturns theButtonbuilded from other parametersReturns the icon of the Category Browser.Return the label used in the dropdown menu.default StringReturns HTML attributes to add to the link.default StringReturns CSS classes to add to the link.Returns the URL to browse the categorydefault booleanReturns true if this CategoryBrowser must be the only one to be displayed.
-
Method Details
-
accept
Returns true if the Category Browser proposes to browse this cateogy.- Parameters:
ctx- the Category Browser context- Returns:
- true if the Category Browser proposes to browse this cateogy.
- Since:
- jcms-10.0.5
-
getUrl
Returns the URL to browse the category- Parameters:
ctx- the Category Browser context- Returns:
- the URL to browse the category
- Since:
- jcms-10.0.5
-
getLabel
Return the label used in the dropdown menu.- Parameters:
ctx- the Category Browser context- Returns:
- the label used in the dropdown menu.
- Since:
- jcms-10.0.5
-
getIcon
Returns the icon of the Category Browser.- Parameters:
ctx- the Category Browser context- Returns:
- the icon of the Category Browser.
- Since:
- jcms-10.0.5
-
getLinkCss
Returns CSS classes to add to the link.- Returns:
- CSS classes to add to the link.
- Since:
- jcms-10.0.5
-
getLinkAttributes
Returns HTML attributes to add to the link.- Returns:
- HTML attributes to add to the link.
- Since:
- jcms-10.0.5
-
isExclusive
Returns true if this CategoryBrowser must be the only one to be displayed.- Parameters:
ctx- the Category Browser context- Returns:
- true if this CategoryBrowser must be the only one to be displayed.
- Since:
- jcms-10.0.5
-
getButton
Returns theButtonbuilded from other parameters- Parameters:
ctx- theCategoryBrowserContext- Returns:
- the
Buttonbuilded from other parameters - Since:
- jcms-10.0.7
-