Package com.jalios.jcms.categorybrowser
Class SearchCategoryBrowser
- java.lang.Object
-
- com.jalios.jcms.categorybrowser.SearchCategoryBrowser
-
- All Implemented Interfaces:
CategoryBrowser
public class SearchCategoryBrowser extends java.lang.Object implements CategoryBrowser
-
-
Constructor Summary
Constructors Constructor Description SearchCategoryBrowser()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
accept(CategoryBrowserContext ctx)
Returns true if the Category Browser proposes to browse this cateogy.java.lang.String
getIcon(CategoryBrowserContext ctx)
Returns the icon of the Category Browser.java.lang.String
getLabel(CategoryBrowserContext ctx)
Return the label used in the dropdown menu.java.lang.String
getUrl(CategoryBrowserContext ctx)
Returns the URL to browse the category-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.jalios.jcms.categorybrowser.CategoryBrowser
getButton, getLinkAttributes, getLinkCss, isExclusive
-
-
-
-
Method Detail
-
accept
public boolean accept(CategoryBrowserContext ctx)
Description copied from interface:CategoryBrowser
Returns true if the Category Browser proposes to browse this cateogy.- Specified by:
accept
in interfaceCategoryBrowser
- Parameters:
ctx
- the Category Browser context- Returns:
- true if the Category Browser proposes to browse this cateogy.
-
getUrl
public java.lang.String getUrl(CategoryBrowserContext ctx)
Description copied from interface:CategoryBrowser
Returns the URL to browse the category- Specified by:
getUrl
in interfaceCategoryBrowser
- Parameters:
ctx
- the Category Browser context- Returns:
- the URL to browse the category
-
getLabel
public java.lang.String getLabel(CategoryBrowserContext ctx)
Description copied from interface:CategoryBrowser
Return the label used in the dropdown menu.- Specified by:
getLabel
in interfaceCategoryBrowser
- Parameters:
ctx
- the Category Browser context- Returns:
- the label used in the dropdown menu.
-
getIcon
public java.lang.String getIcon(CategoryBrowserContext ctx)
Description copied from interface:CategoryBrowser
Returns the icon of the Category Browser.- Specified by:
getIcon
in interfaceCategoryBrowser
- Parameters:
ctx
- the Category Browser context- Returns:
- the icon of the Category Browser.
-
-