public class EditableMenuImpl extends AbstractMenu implements EditableMenu
expanded, name
Constructor and Description |
---|
EditableMenuImpl(HstSiteMenu hstSiteMenu) |
Modifier and Type | Method and 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 getSelectMenuItem
|
void |
setSelectedMenuItem(EditableMenuItem selectedMenuItem)
Sets the
selectedMenuItem as selected |
getName, isExpanded
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getName, isExpanded
public EditableMenuImpl(HstSiteMenu hstSiteMenu)
public List<EditableMenuItem> getMenuItems()
getMenuItems
in interface EditableMenu
List
of root EditableMenuItem
s for this EditableMenu
public EditableMenuItem getDeepestExpandedItem()
getDeepestExpandedItem
in interface EditableMenu
EditableMenuItem
and null
if none
of the items are expandedpublic HstSiteMenus getHstSiteMenus()
getHstSiteMenus
in interface EditableMenu
HstSiteMenus
for this EditableMenu
public EditableMenuItem getSelectMenuItem()
EditableMenu
getSelectMenuItem
in interface EditableMenu
EditableMenuItem
and null
if none selectedpublic void setSelectedMenuItem(EditableMenuItem selectedMenuItem)
EditableMenu
selectedMenuItem
as selectedsetSelectedMenuItem
in interface EditableMenu
selectedMenuItem
- the EditableMenuItem
that is selectedCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.