SAP NetWeaver '04

com.sapportals.wcm.rendering.uicommand
Class UILinkMenu

[contained in: com.sap.km.cm.ui.flex.par - km.shared.ui.flex.uicommand_api.jar]
java.lang.Object
  |
  +--com.sapportals.wcm.rendering.uicommand.AbstractUIMenu
        |
        +--com.sapportals.wcm.rendering.uicommand.UILinkMenu
All Implemented Interfaces:
IUIMenu

public final class UILinkMenu
extends AbstractUIMenu

Renders the link menu for the given IUICommandGroup


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
UILinkMenu()
           
 
Method Summary
 java.lang.String getMenuType()
          Gets an unique menu type value of the menu link
 IUIMenu getNewInstance()
          Gets the newInstance attribute of the UILinkMenu object
 com.sapportals.htmlb.Component renderMenu(IUIGroupCommand groupCommand, IResource resource, AbstractProxyControl proxy)
          Creates a link menu component according with the input parameters
static com.sapportals.htmlb.Component renderSeparator()
          Renders link menu separator
static com.sapportals.htmlb.Component renderSeparator(boolean showLeft)
           
 
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

UILinkMenu

public UILinkMenu()
Method Detail

getNewInstance

public IUIMenu getNewInstance()
Gets the newInstance attribute of the UILinkMenu object
Returns:
The newInstance value

getMenuType

public java.lang.String getMenuType()
Gets an unique menu type value of the menu link
Returns:
The menuType value

renderMenu

public com.sapportals.htmlb.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 com.sapportals.htmlb.Component renderSeparator()
Renders link menu separator
Returns:
the resulted component

renderSeparator

public static com.sapportals.htmlb.Component renderSeparator(boolean showLeft)

SAP NetWeaver '04

Copyright © 2004 by SAP AG. All Rights Reserved.
SAP, R/3, mySAP, mySAP.com, xApps, xApp, SAP NetWeaver, and other SAP products and services mentioned herein as well as their respective logos are trademarks or registered trademarks of SAP AG in Germany and in several other countries all over the world. All other product and service names mentioned are the trademarks of their respective companies. Data contained in this document serves informational purposes only. National product specifications may vary.

These materials are subject to change without notice. These materials are provided by SAP AG and its affiliated companies ("SAP Group") for informational purposes only, without representation or warranty of any kind, and SAP Group shall not be liable for errors or omissions with respect to the materials. The only warranties for SAP Group products and services are those that are set forth in the express warranty statements accompanying such products and services, if any. Nothing herein should be construed as constituting an additional warranty.