Package org.ametys.web.sitemap
Interface SitemapTreeIndicator
- All Superinterfaces:
Prioritizable
- All Known Implementing Classes:
AbstractStaticSitemapIndicator
,ClassifiedAdsRootSitemapIndicator
,DefaultSitemapIndicator
,OrgUnitRootSitemapIndicator
,PageTagSitemapDecorator
,UserDirectoryRootSitemapIndicator
Interface representing a sitemap's indicator (icon or decorator)
-
Method Summary
Modifier and TypeMethodDescriptiongetIcon()
The icon pathThe icon decoratorThe icon glyphgetId()
Get the indicator's idgetLabel()
The indicator's labelboolean
matches
(SitemapElement sitemapElement) Check if the sitemap element matches the indicator's conditionsMethods inherited from interface org.ametys.runtime.plugin.component.Prioritizable
getPriority
-
Method Details
-
getId
Get the indicator's id- Returns:
- the id
-
getLabel
The indicator's label- Returns:
- the label. Can be null
-
getIcon
The icon path- Returns:
- The icon path. Can be null.
-
getIconGlyph
The icon glyph- Returns:
- The icon glyph. Can be null.
-
getIconDecorator
The icon decorator- Returns:
- The icon decorator
-
matches
Check if the sitemap element matches the indicator's conditions- Parameters:
sitemapElement
- the sitemap element to check- Returns:
- true if the element matches the indicator
-