Package org.hippoecm.hst.core.sitemenu
Interface EditableMenu
-
- All Superinterfaces:
CommonMenu
,PageModelEntity
public interface EditableMenu extends CommonMenu
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description EditableMenuItem
getDeepestExpandedItem()
HstSiteMenus
getHstSiteMenus()
List<EditableMenuItem>
getMenuItems()
EditableMenuItem
getSelectMenuItem()
Note: the method should have been called getSelectedMenuItem because of a historical typo it is called getSelectMenuItemvoid
setSelectedMenuItem(EditableMenuItem selectedMenuItem)
Sets theselectedMenuItem
as selected-
Methods inherited from interface org.hippoecm.hst.core.sitemenu.CommonMenu
getName, isExpanded
-
-
-
-
Method Detail
-
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
-
setSelectedMenuItem
void setSelectedMenuItem(EditableMenuItem selectedMenuItem)
Sets theselectedMenuItem
as selected- Parameters:
selectedMenuItem
- theEditableMenuItem
that is 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
-
-