Package org.hippoecm.hst.core.sitemenu
Interface EditableMenuItem
- All Superinterfaces:
CommonMenuItem
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addChildMenuItem
(EditableMenuItem childMenuItem) void
setExpanded
(boolean expanded) Set this EditableMenuItem to expanded (true) or notMethods inherited from interface org.hippoecm.hst.core.sitemenu.CommonMenuItem
getDepth, getExternalLink, getHstLink, getName, getProperties, isExpanded, isRepositoryBased, isSelected, resolveToSiteMapItem
-
Method Details
-
getChildMenuItems
List<EditableMenuItem> getChildMenuItems()- Returns:
- The
List
ofEditableMenuItem
s and empty List if no child menu items available
-
getEditableMenu
EditableMenu getEditableMenu()- Returns:
- The
EditableMenu
for thisEditableMenuItem
-
getParentItem
EditableMenuItem getParentItem()- Returns:
- The parent
EditableMenuItem
of this item andnull
when there is not parent
-
setExpanded
void setExpanded(boolean expanded) Set this EditableMenuItem to expanded (true) or not- Parameters:
expanded
- - Whentrue
sets theEditableMenuItem
to expanded
-