com.sapportals.wcm.rendering.uicommand

Class UIMenuBar

java.lang.Object
  extended bycom.sapportals.wcm.rendering.uicommand.AbstractUIMenu
      extended bycom.sapportals.wcm.rendering.uicommand.UIMenuBar
All Implemented Interfaces:
IUIMenu

public final class UIMenuBar
extends AbstractUIMenu

Renders the menu bar for the given IUICommandGroup


Field Summary
 
Fields inherited from interface com.sapportals.wcm.rendering.uicommand.IUIMenu
BUTTON_MENU_TYPE, HOVER_MENU_TYPE, ICON_MENU_TYPE, LINK_MENU_TYPE, MENU_BAR_TYPE, SMALL_BUTTON_MENU_TYPE, TAB_MENU_TYPE, TOOLBAR_BUTTON_MENU_TYPE, VERTICAL_LINK_MENU_TYPE
 
Constructor Summary
UIMenuBar()
           
 
Method Summary
 String getMenuType()
          Gets an unique menu type value of the menubar
 IUIMenu getNewInstance()
          Gets a instance of the IUIMenu object
 Component renderMenu(IUIGroupCommand groupCommand, IResource resource, AbstractProxyControl proxy)
          creates a menu bar component according with the input parameters
 
Methods inherited from class com.sapportals.wcm.rendering.uicommand.AbstractUIMenu
createTarget, createTarget, createTarget, getCommandLink, getCommandLink, getLinkLabel, renderGroup, renderHoverMenu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UIMenuBar

public UIMenuBar()
Method Detail

getNewInstance

public IUIMenu getNewInstance()
Description copied from interface: IUIMenu
Gets a instance of the IUIMenu object

Returns:
a new Instance of the UIMenuBar

getMenuType

public String getMenuType()
Gets an unique menu type value of the menubar

Returns:
The menuType value

renderMenu

public Component renderMenu(IUIGroupCommand groupCommand,
                            IResource resource,
                            AbstractProxyControl proxy)
                     throws WcmException
creates a menu bar component according with the input parameters

Parameters:
groupCommand - the given IUICommandGroup
resource - the IResource for which the component is requiered
proxy - the Control that called this method. It is set as parameter for the retrieved instance
Returns:
the resulted component
Throws:
WdfException - Exception raised in failure situation
WcmException


Copyright 2006 SAP AG Complete Copyright Notice