Package org.hippoecm.hst.core.sitemenu
Interface EditableMenuItem
-
- All Superinterfaces:
CommonMenuItem
public interface EditableMenuItem extends CommonMenuItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
addChildMenuItem(EditableMenuItem childMenuItem)
List<EditableMenuItem>
getChildMenuItems()
EditableMenu
getEditableMenu()
EditableMenuItem
getParentItem()
void
setExpanded(boolean expanded)
Set this EditableMenuItem to expanded (true) or not-
Methods inherited from interface org.hippoecm.hst.core.sitemenu.CommonMenuItem
getDepth, getExternalLink, getHstLink, getName, getProperties, isExpanded, isRepositoryBased, isSelected, resolveToSiteMapItem
-
-
-
-
Method Detail
-
getChildMenuItems
List<EditableMenuItem> getChildMenuItems()
- Returns:
- The
List
ofEditableMenuItem
s and empty List if no child menu items available
-
addChildMenuItem
void addChildMenuItem(EditableMenuItem childMenuItem)
- Parameters:
childMenuItem
- - Add thisEditableMenuItem
to the list of childs
-
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
-
-