Package org.hippoecm.hst.core.sitemenu
Interface EditableMenu
- All Superinterfaces:
CommonMenu
,PageModelEntity
-
Method Summary
Modifier and TypeMethodDescriptionNote: the method should have been called getSelectedMenuItem because of a historical typo it is called getSelectMenuItemvoid
setSelectedMenuItem
(EditableMenuItem selectedMenuItem) Sets theselectedMenuItem
as selectedMethods inherited from interface org.hippoecm.hst.core.sitemenu.CommonMenu
getName, isExpanded
-
Method Details
-
getSelectMenuItem
EditableMenuItem getSelectMenuItem()Note: the method should have been called getSelectedMenuItem because of a historical typo it is called getSelectMenuItem- Returns:
- the selected
EditableMenuItem
andnull
if none selected
-
getMenuItems
List<EditableMenuItem> getMenuItems()- Returns:
- The
List
of rootEditableMenuItem
s for thisEditableMenu
-
getHstSiteMenus
HstSiteMenus getHstSiteMenus()- Returns:
- The backing
HstSiteMenus
for thisEditableMenu
-
getDeepestExpandedItem
EditableMenuItem getDeepestExpandedItem()- Returns:
- The deepest expanded
EditableMenuItem
andnull
if none of the items are expanded
-