public class EditableMenuItemImpl extends AbstractMenuItem implements EditableMenuItem
depth, expanded, externalLink, hstLink, name, properties, repositoryBased, selected
Constructor and Description |
---|
EditableMenuItemImpl(EditableMenu editableMenu,
EditableMenuItem parentItem,
HstSiteMenuItem siteMenuItem) |
EditableMenuItemImpl(EditableMenuItem parentItem) |
Modifier and Type | Method and Description |
---|---|
void |
addChildMenuItem(EditableMenuItem childMenuItem) |
List<EditableMenuItem> |
getChildMenuItems() |
EditableMenu |
getEditableMenu() |
EditableMenuItem |
getParentItem() |
void |
setExpanded(boolean expanded)
Set this EditableMenuItem to expanded (true) or not
|
getDepth, getExternalLink, getHstLink, getName, getProperties, isExpanded, isRepositoryBased, isSelected, resolveToSiteMapItem, resolveToSiteMapItem
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDepth, getExternalLink, getHstLink, getName, getProperties, isExpanded, isRepositoryBased, isSelected, resolveToSiteMapItem, resolveToSiteMapItem
public EditableMenuItemImpl(EditableMenuItem parentItem)
public EditableMenuItemImpl(EditableMenu editableMenu, EditableMenuItem parentItem, HstSiteMenuItem siteMenuItem)
public List<EditableMenuItem> getChildMenuItems()
getChildMenuItems
in interface EditableMenuItem
List
of EditableMenuItem
s and empty List if no child menu items availablepublic void addChildMenuItem(EditableMenuItem childMenuItem)
addChildMenuItem
in interface EditableMenuItem
childMenuItem
- - Add this EditableMenuItem
to the list of childspublic EditableMenu getEditableMenu()
getEditableMenu
in interface EditableMenuItem
EditableMenu
for this EditableMenuItem
public EditableMenuItem getParentItem()
getParentItem
in interface EditableMenuItem
EditableMenuItem
of this item and null
when there
is not parentpublic void setExpanded(boolean expanded)
EditableMenuItem
setExpanded
in interface EditableMenuItem
expanded
- - When true
sets the EditableMenuItem
to expandedCopyright © 2008–2016 Hippo B.V. (http://www.onehippo.com). All rights reserved.