Class CmsAdminMenuGroup
java.lang.Object
org.opencms.workplace.administration.CmsAdminMenuGroup
Container for menu items that generates the necesary html code for a group of items.
- Since:
- 6.0.0
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addMenuItem
(CmsAdminMenuItem item) Adds a menu item.void
addMenuItem
(CmsAdminMenuItem item, float position) Adds a menu item at the given position.getId()
Returns the dhtml unique id.Returns a list of menu items.getName()
Returns the group name.groupHtml
(org.opencms.workplace.CmsWorkplace wp) Returns the necessary html code.
-
Constructor Details
-
CmsAdminMenuGroup
Default Constructor.- Parameters:
id
- a unique idname
- the name of the group
-
-
Method Details
-
addMenuItem
Adds a menu item.- Parameters:
item
- the item- See Also:
-
CmsIdentifiableObjectContainer.addIdentifiableObject(String, Object)
-
addMenuItem
Adds a menu item at the given position.- Parameters:
item
- the itemposition
- the position- See Also:
-
CmsIdentifiableObjectContainer.addIdentifiableObject(String, Object, float)
-
getId
Returns the dhtml unique id.- Returns:
- the dhtml unique id
-
getMenuItems
Returns a list of menu items.- Returns:
- a list of
sCmsAdminMenuItem
-
getName
Returns the group name.- Returns:
- the group name
-
groupHtml
Returns the necessary html code.- Parameters:
wp
- the jsp page to write the code to- Returns:
- html code
-