com.sapportals.wcm.rendering.uicommand

Interface IUIMenu

All Known Implementing Classes:
AbstractUIMenu

public interface IUIMenu

Base class for rendering menus


Field Summary
static String BUTTON_MENU_TYPE
          menu type for the buttonmenu
static String HOVER_MENU_TYPE
          menu type for the hovermenu
static String ICON_MENU_TYPE
          menu type for the icon menu
static String LINK_MENU_TYPE
          menu type for the linkmenu
static String MENU_BAR_TYPE
          menu type for the menubar
static String SMALL_BUTTON_MENU_TYPE
          menu type for the small buttonmenu
static String TAB_MENU_TYPE
          menu type for the icon menu
static String TOOLBAR_BUTTON_MENU_TYPE
          menu type for the toolbar buttonmenu
static String VERTICAL_LINK_MENU_TYPE
          menu type for the vertical links menu
 
Method Summary
 String getMenuType()
          Gets an unique menu type value of the menu
 IUIMenu getNewInstance()
          Gets a instance of the IUIMenu object
 Component renderMenu(IUIGroupCommand groupCommand, IResource resource, AbstractProxyControl newProxy)
          Creates a menu component according with the input parameters
 

Field Detail

MENU_BAR_TYPE

public static final String MENU_BAR_TYPE
menu type for the menubar

See Also:
Constant Field Values

HOVER_MENU_TYPE

public static final String HOVER_MENU_TYPE
menu type for the hovermenu

See Also:
Constant Field Values

LINK_MENU_TYPE

public static final String LINK_MENU_TYPE
menu type for the linkmenu

See Also:
Constant Field Values

BUTTON_MENU_TYPE

public static final String BUTTON_MENU_TYPE
menu type for the buttonmenu

See Also:
Constant Field Values

SMALL_BUTTON_MENU_TYPE

public static final String SMALL_BUTTON_MENU_TYPE
menu type for the small buttonmenu

See Also:
Constant Field Values

TOOLBAR_BUTTON_MENU_TYPE

public static final String TOOLBAR_BUTTON_MENU_TYPE
menu type for the toolbar buttonmenu

See Also:
Constant Field Values

VERTICAL_LINK_MENU_TYPE

public static final String VERTICAL_LINK_MENU_TYPE
menu type for the vertical links menu

See Also:
Constant Field Values

ICON_MENU_TYPE

public static final String ICON_MENU_TYPE
menu type for the icon menu

See Also:
Constant Field Values

TAB_MENU_TYPE

public static final String TAB_MENU_TYPE
menu type for the icon menu

See Also:
Constant Field Values
Method Detail

getNewInstance

public IUIMenu getNewInstance()
Gets a instance of the IUIMenu object

Returns:
the newInstance value

renderMenu

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

Parameters:
resource - the IResource for which the component is requiered
newProxy - the Control that called this method
groupCommand - the given IUICommandGroup which will rendered
Returns:
the resulted component
Throws:
WdfException - Exception raised in failure situation
WcmException

getMenuType

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

Returns:
the menuType value


Copyright 2006 SAP AG. All rights reserved. No part of this publication may be reproduced or transmitted in any form or for any purpose without the express permission of SAP AG. The information contained herein may be changed without prior notice. Microsoft, Windows, Outlook, and PowerPoint are registered trademarks of Microsoft Corporation. Oracle is a registered trademark of Oracle Corporation. UNIX, X/Open, OSF/1, and Motif are registered trademarks of the Open Group. Citrix, ICA, Program Neighborhood, MetaFrame, WinFrame, VideoFrame, and MultiWin are trademarks or registered trademarks of Citrix Systems, Inc. HTML, XML, XHTML and W3C are trademarks or registered trademarks of W3C, World Wide Web Consortium, Massachusetts Institute of Technology. Java is a registered trademark of Sun Microsystems, Inc. JavaScript is a registered trademark of Sun Microsystems, Inc., used under license for technology invented and implemented by Netscape. MaxDB is a trademark of MySQL AB, Sweden. 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.