Interface CategoryBrowser

All Known Implementing Classes:
SearchCategoryBrowser

public interface CategoryBrowser
  • Method Details

    • accept

      boolean accept(CategoryBrowserContext ctx)
      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

      default String getLinkCss()
      Returns CSS classes to add to the link.
      Returns:
      CSS classes to add to the link.
      Since:
      jcms-10.0.5
    • getLinkAttributes

      default String getLinkAttributes()
      Returns HTML attributes to add to the link.
      Returns:
      HTML attributes to add to the link.
      Since:
      jcms-10.0.5
    • isExclusive

      default boolean isExclusive(CategoryBrowserContext ctx)
      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

      default Button getButton(CategoryBrowserContext ctx)
      Returns the Button builded from other parameters
      Parameters:
      ctx - the CategoryBrowserContext
      Returns:
      the Button builded from other parameters
      Since:
      jcms-10.0.7