Class SearchCategoryBrowser

    • Constructor Detail

      • SearchCategoryBrowser

        public SearchCategoryBrowser()
    • 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 interface CategoryBrowser
        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 interface CategoryBrowser
        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 interface CategoryBrowser
        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 interface CategoryBrowser
        Parameters:
        ctx - the Category Browser context
        Returns:
        the icon of the Category Browser.