public class

AccordionTabManagerTransform

extends TabManagerTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AbstractEditorTransform
           ↳ com.microstrategy.web.app.transforms.TabManagerTransform
             ↳ com.microstrategy.web.app.transforms.AccordionTabManagerTransform

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.TabManagerTransform
From class com.microstrategy.web.app.transforms.AbstractEditorTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.TabManagerTransform
From class com.microstrategy.web.app.transforms.AbstractEditorTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
AccordionTabManagerTransform()
Public Methods
Map getAttributesShellDiv()
Returns a Map with the list of attributes that the shell div must use.
WebBeanError getWebBeanErrorInfo()
void renderChildrenTabBody(MarkupOutput out)
Renders each of the TabBeans that are part of the TabManagerBean.
void renderTabManagerControlBarBody(MarkupOutput out)
Generates a table row with individual cells corresponding to each one of the TabBean child tab titles that are available to the user.
Protected Methods
WebEvent getCloseEvent()
String getCurrentTabName()
Obtains the Id/Name of the tab currently selected
String getCurrentTabTitle()
Obtains the title of the tab currently selected
String getEditorTitle()
void initEditor(Editor editor)
Initializes the editor with the global settings.
void initHeightAndWidthFromPreferences()
Initializes the _height and _width of this component from the bone dimesions retrieved from Preferences.
boolean needToAdjustContainer()
void renderJavascript(MarkupOutput out)
Generate the JavaScript code required by this editor manager for the proper behavior on the client.
void setAttributesTabSetContainer(Tag tabSetContainer)
void setTabSetStyle(Tag tabSetContainer)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.TabManagerTransform
From class com.microstrategy.web.app.transforms.AbstractEditorTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.transform.LayoutTransform
From interface com.microstrategy.web.transform.Transform

Public Constructors

public AccordionTabManagerTransform ()

Public Methods

public Map getAttributesShellDiv ()

Returns a Map with the list of attributes that the shell div must use. The shell is the main div surrounding the Transform's output.
This method can be overriden in case the subclass would like to add or change the value of attributes in the shell.

public WebBeanError getWebBeanErrorInfo ()

Returns
  • the error info

public void renderChildrenTabBody (MarkupOutput out)

Renders each of the TabBeans that are part of the TabManagerBean. Loops through the list of all the child TabBeans and renders their output. The reason that we have to loop through ALL of them is because the accordion is doing partial update during tab switch. Sometimes it will have new tabs added as a result of iframe request (eg. drill on view report) so we want to have the place holders ready for all the tabs so to guarantee that all the tabs will be iframe update-able.

Parameters
out MarkupOutput

public void renderTabManagerControlBarBody (MarkupOutput out)

Generates a table row with individual cells corresponding to each one of the TabBean child tab titles that are available to the user.

Parameters
out MarkupOutput instance where the HTML to render will be saved

Protected Methods

protected WebEvent getCloseEvent ()

protected String getCurrentTabName ()

Obtains the Id/Name of the tab currently selected

Returns
  • null if not found...

protected String getCurrentTabTitle ()

Obtains the title of the tab currently selected

Returns
  • null if not found...

protected String getEditorTitle ()

protected void initEditor (Editor editor)

Initializes the editor with the global settings.

Parameters
editor the Editor to modify.

protected void initHeightAndWidthFromPreferences ()

Initializes the _height and _width of this component from the bone dimesions retrieved from Preferences. The format of the preference is : id1:width:heigth@id2:width:height@....

protected boolean needToAdjustContainer ()

protected void renderJavascript (MarkupOutput out)

Generate the JavaScript code required by this editor manager for the proper behavior on the client. Extends the parent method by adding extra property values as well as the required library for it to work properly.

Parameters
out MarkupOutput instance where the HTML output will be saved.

protected void setAttributesTabSetContainer (Tag tabSetContainer)

protected void setTabSetStyle (Tag tabSetContainer)