Package com.microstrategy.web.app.gui
Class MenuImpl
- java.lang.Object
 - 
- com.microstrategy.web.app.gui.AbstractGuiElement
 - 
- com.microstrategy.web.app.gui.MenuImpl
 
 
 
- 
- All Implemented Interfaces:
 GuiElement,Menu
public class MenuImpl extends AbstractGuiElement implements Menu
Title: MenuImpl.
Description: represent the menu bar on top of report/document page
Copyright: Copyright (c) 2002
Company: Microstrategy, Inc.
- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Field Summary
- 
Fields inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
_appContext, _name, _webComponent 
 - 
 
- 
Constructor Summary
Constructors Constructor Description MenuImpl() 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDynamicMenuName()Get the name of the list of shortcuts that shall be rendered as a menuShortcutListSetgetDynamicMenus()Get the list of shortcuts that shall be rendered as a menujava.lang.StringgetMenuBlockCss()Get the css style to use for the menu blockjava.lang.StringgetMenuHeaderCss()Get the css style to use for the menu headerjava.lang.StringgetMenuHeaderSelectedCss()Get the css style to use for the selected menu headerjava.lang.StringgetMenuItemCss()Get the css style to use for the menu itemsjava.lang.StringgetMenuItemSelectedCss()Get the css style to use for the selected menu itemjava.lang.StringgetMenuSeparatorCss()Get the css style to use for the menu separatorMarkupOutputrenderElement()Render the GUI Element represented by this instancebooleanrenderElement(MarkupOutput mo)Render the current GUI Element with the information providedvoidsetDynamicMenuName(java.lang.String value)Set the name of the list of shortcuts that shall be rendered as a menuvoidsetDynamicMenus(ShortcutListSet value)Set the list of shortcuts that shall be rendered as a menuvoidsetMenuBlockCss(java.lang.String value)Set the css style to use for the menu blockvoidsetMenuHeaderCss(java.lang.String value)Set the css style to use for the menu headervoidsetMenuHeaderSelectedCss(java.lang.String value)Set the css style to use for the selected menu headervoidsetMenuItemCss(java.lang.String value)Set the css style to use for the menu itemsvoidsetMenuItemSelectedCss(java.lang.String value)Set the css style to use for the selected menu itemvoidsetMenuSeparatorCss(java.lang.String value)Set the css style to use for the menu separator- 
Methods inherited from class com.microstrategy.web.app.gui.AbstractGuiElement
getAppContext, getDescriptor, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getTagsFactory, getUseIFrame, getWebComponent, isDhtml, isIFrameEnabled, newHiddenInputBuilder, newNamespaceEncoder, newURIBuilder, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame, setWebComponent 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait 
- 
Methods inherited from interface com.microstrategy.web.app.gui.GuiElement
getAppContext, getDescriptor, getDescriptor, getEventManager, getExtraInput, getExtraUrl, getFeatures, getMessages, getName, getUseIFrame, getWebComponent, setAppContext, setExtraInput, setExtraUrl, setName, setUseIFrame, setWebComponent 
 - 
 
 - 
 
- 
- 
Method Detail
- 
renderElement
public MarkupOutput renderElement()
Render the GUI Element represented by this instance- Specified by:
 renderElementin interfaceGuiElement- Specified by:
 renderElementin classAbstractGuiElement- Returns:
 - a 
MarkupOutputinstance initialized with the HTML code to render for this element 
 
- 
renderElement
public boolean renderElement(MarkupOutput mo)
Description copied from class:AbstractGuiElementRender the current GUI Element with the information provided- Specified by:
 renderElementin interfaceGuiElement- Overrides:
 renderElementin classAbstractGuiElement- Parameters:
 mo-MarkupOutputinstance where the HTML information to display to the user is to be saved.- Returns:
 booleanvalue indicating if the render operation was successful or not- See Also:
 GuiElement.renderElement(com.microstrategy.web.beans.MarkupOutput)
 
- 
setDynamicMenus
public void setDynamicMenus(ShortcutListSet value)
Set the list of shortcuts that shall be rendered as a menu- Specified by:
 setDynamicMenusin interfaceMenu- Parameters:
 value- aShortcutListSetinstance initialized with the shortcuts to render.
 
- 
getDynamicMenus
public ShortcutListSet getDynamicMenus()
Get the list of shortcuts that shall be rendered as a menu- Specified by:
 getDynamicMenusin interfaceMenu- Returns:
 - the 
ShortcutListSetinstance associated with this instance. 
 
- 
setDynamicMenuName
public void setDynamicMenuName(java.lang.String value)
Set the name of the list of shortcuts that shall be rendered as a menu- Specified by:
 setDynamicMenuNamein interfaceMenu- Parameters:
 value- aShortcutListSetinstance initialized with the shortcuts to render.- Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getDynamicMenuName
public java.lang.String getDynamicMenuName()
Get the name of the list of shortcuts that shall be rendered as a menu- Specified by:
 getDynamicMenuNamein interfaceMenu- Returns:
 - the 
ShortcutListSetinstance associated with this instance. - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
setMenuHeaderCss
public void setMenuHeaderCss(java.lang.String value)
Set the css style to use for the menu header- Specified by:
 setMenuHeaderCssin interfaceMenu- Parameters:
 value- String representing the css style to use
 
- 
getMenuHeaderCss
public java.lang.String getMenuHeaderCss()
Get the css style to use for the menu header- Specified by:
 getMenuHeaderCssin interfaceMenu- Returns:
 - the String representing the css style assigned to use
 
 
- 
setMenuHeaderSelectedCss
public void setMenuHeaderSelectedCss(java.lang.String value)
Set the css style to use for the selected menu header- Specified by:
 setMenuHeaderSelectedCssin interfaceMenu- Parameters:
 value- String representing the css style to use
 
- 
getMenuHeaderSelectedCss
public java.lang.String getMenuHeaderSelectedCss()
Get the css style to use for the selected menu header- Specified by:
 getMenuHeaderSelectedCssin interfaceMenu- Returns:
 - the String representing the css style assigned to use
 
 
- 
setMenuItemCss
public void setMenuItemCss(java.lang.String value)
Set the css style to use for the menu items- Specified by:
 setMenuItemCssin interfaceMenu- Parameters:
 value- String representing the css style to use
 
- 
getMenuItemCss
public java.lang.String getMenuItemCss()
Get the css style to use for the menu items- Specified by:
 getMenuItemCssin interfaceMenu- Returns:
 - the String representing the css style assigned to use
 
 
- 
setMenuItemSelectedCss
public void setMenuItemSelectedCss(java.lang.String value)
Set the css style to use for the selected menu item- Specified by:
 setMenuItemSelectedCssin interfaceMenu- Parameters:
 value- String representing the css style to use
 
- 
getMenuItemSelectedCss
public java.lang.String getMenuItemSelectedCss()
Get the css style to use for the selected menu item- Specified by:
 getMenuItemSelectedCssin interfaceMenu- Returns:
 - the String representing the css style assigned to use
 
 
- 
setMenuBlockCss
public void setMenuBlockCss(java.lang.String value)
Set the css style to use for the menu block- Specified by:
 setMenuBlockCssin interfaceMenu- Parameters:
 value- String representing the css style to use
 
- 
getMenuBlockCss
public java.lang.String getMenuBlockCss()
Get the css style to use for the menu block- Specified by:
 getMenuBlockCssin interfaceMenu- Returns:
 - the String representing the css style assigned to use
 
 
- 
setMenuSeparatorCss
public void setMenuSeparatorCss(java.lang.String value)
Set the css style to use for the menu separator- Specified by:
 setMenuSeparatorCssin interfaceMenu- Parameters:
 value- String representing the css style to use
 
- 
getMenuSeparatorCss
public java.lang.String getMenuSeparatorCss()
Get the css style to use for the menu separator- Specified by:
 getMenuSeparatorCssin interfaceMenu- Returns:
 - the String representing the css style assigned to use
 
 
 - 
 
 -