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 booleanaccept(CategoryBrowserContext ctx)Returns true if the Category Browser proposes to browse this cateogy.java.lang.StringgetIcon(CategoryBrowserContext ctx)Returns the icon of the Category Browser.java.lang.StringgetLabel(CategoryBrowserContext ctx)Return the label used in the dropdown menu.java.lang.StringgetUrl(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:CategoryBrowserReturns true if the Category Browser proposes to browse this cateogy.- Specified by:
acceptin 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:CategoryBrowserReturns the URL to browse the category- Specified by:
getUrlin 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:CategoryBrowserReturn the label used in the dropdown menu.- Specified by:
getLabelin 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:CategoryBrowserReturns the icon of the Category Browser.- Specified by:
getIconin interfaceCategoryBrowser- Parameters:
ctx- the Category Browser context- Returns:
- the icon of the Category Browser.
-
-