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
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoidaddMenuItem(CmsAdminMenuItem item) Adds a menu item.voidaddMenuItem(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:
 
 - 
addMenuItem
Adds a menu item at the given position.- Parameters:
 item- the itemposition- the position- See Also:
 
 - 
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
 
 
 -