|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CommonMenuItem
Method Summary | |
---|---|
int |
getDepth()
|
String |
getExternalLink()
When this method does not return null, then by default will return null even if the sitemenu item
has a sitemap reference path defined |
HstLink |
getHstLink()
|
String |
getName()
|
Map<String,Object> |
getProperties()
When developers have customized SiteMenuItem configuration with extra properties, these properties can be accessed through this Map |
boolean |
isExpanded()
A sitemenu item is expanded if one of its descendants is selected or if it is selected itself |
boolean |
isRepositoryBased()
|
boolean |
isSelected()
|
ResolvedSiteMapItem |
resolveToSiteMapItem(HstRequest request)
|
Method Detail |
---|
String getName()
HstLink getHstLink()
String getExternalLink()
null
even if the sitemenu item
has a sitemap reference path defined
null
if no external link is definedResolvedSiteMapItem resolveToSiteMapItem(HstRequest request)
ResolvedSiteMapItem
belonging to this SiteMenuItem or null
if it cannot be resolved
in the HstSiteMap
boolean isExpanded()
true
if the SiteMenuItem is expandedMap<String,Object> getProperties()
boolean isRepositoryBased()
true
when below this sitemenu item repository based navigation is expectedint getDepth()
boolean isSelected()
true
is the SiteMenuItem is selected
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |