com.sapportals.wcm.rendering.readymades

Class MenuBarComponent

java.lang.Object
  extended byBaseCompositeComponent
      extended bycom.sapportals.wcm.rendering.readymades.MenuBarComponent
All Implemented Interfaces:
IPreviewLayout

public final class MenuBarComponent
extends BaseCompositeComponent
implements IPreviewLayout

Description of the Class Copyright: Copyright (c) SAP Portals Europe GmbH 2001 renders a menu bar that shows a number of command groups that will operate on the given resource or - in case of mass commands - on the list of selected resources. This component will not persist any data of its own on the iView - the rendered commands only communicate with the given IProxy. There can be several menu bar components rendered within one iView.

Since:
NW 04, SP5
See Also:
Serialized Form

Field Summary
 
Fields inherited from interface com.sapportals.wcm.rendering.layout.IPreviewLayout
PREVIEW_ACTION
 
Constructor Summary
MenuBarComponent()
          must not be used!
MenuBarComponent(IProxy proxy, IResource resource, String group)
           
 
Method Summary
protected  Component buildContent()
           
protected  void initFromPageContextImpl(IPageContext pc, String baseId)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MenuBarComponent

public MenuBarComponent()
must not be used! Only needed for htmlb-Framework generic calls. Usage will lead to a runtime exception in the buildContent()-method


MenuBarComponent

public MenuBarComponent(IProxy proxy,
                        IResource resource,
                        String group)
Parameters:
proxy - the proxy that will be used by the rendered commands as target for their htmbl-events. Must not be null
resource - the resource to render the commands for - must not be null
group - defining what parameter of the configuration defines the renderign - if it is null or an empty string, the IParameterName.UI_GROUP_DETAILS will be used
Method Detail

buildContent

protected Component buildContent()

initFromPageContextImpl

protected void initFromPageContextImpl(IPageContext pc,
                                       String baseId)


Copyright 2006 SAP AG Complete Copyright Notice