com.sapportals.wcm.rendering.uicommand

Class UITabMenu

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

public final class UITabMenu
extends AbstractUIMenu

Renders the link menu for the given IUICommandGroup do not use - this class is not released !!!!


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
UITabMenu()
           
 
Method Summary
protected  Component getCommandLink(IExecCommand command, AbstractProxyControl proxy, boolean renderDots)
           
 String getMenuType()
          Gets an unique menu type value of the menu link
 IUIMenu getNewInstance()
          Gets the newInstance attribute of the UILinkMenu object
 Component renderMenu(IUIGroupCommand groupCommand, IResource resource, AbstractProxyControl proxy)
          Creates a link menu component according with the input parameters
static Component renderSeparator()
          Renders link menu separator
 
Methods inherited from class com.sapportals.wcm.rendering.uicommand.AbstractUIMenu
createTarget, createTarget, createTarget, getCommandLink, getLinkLabel, renderGroup, renderHoverMenu
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UITabMenu

public UITabMenu()
Method Detail

getNewInstance

public IUIMenu getNewInstance()
Gets the newInstance attribute of the UILinkMenu object

Returns:
The newInstance value

getMenuType

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

Returns:
The menuType value

renderMenu

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

Parameters:
groupCommand - the given IUIGroupCommand
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:
WcmException - Description of the Exception

renderSeparator

public static Component renderSeparator()
Renders link menu separator

Returns:
the resulted component

getCommandLink

protected Component getCommandLink(IExecCommand command,
                                   AbstractProxyControl proxy,
                                   boolean renderDots)
Overrides:
getCommandLink in class AbstractUIMenu


Copyright 2006 SAP AG Complete Copyright Notice