| 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 | ||||
Known Direct Subclasses
|
Known Indirect Subclasses
|
This transform can be used as base for the transforms that will
take care of rendering TabManagerBean instances. It considers the
final output to be divided in these sections:
TabManagerFrame / TabManagerFrameBody
-------------------------------------
| Title / TitleBody |
-------------------------------------
| ControlBar / ControlBarBody |
|-----------------------------------|
| Contents / ContentsBody |
| |
| |
| |
| |
-------------------------------------
Therefore, there will exist the following methods for defining each one of the HTML
contents of the sections:
renderTabManagerFrame
- renderTabManagerFrameBody
+ renderTabManagerTitle
= renderTabManagerTitleBody
+ renderTabManagerContents
= renderTabManagerContentsBody
> renderTabManagerControlBar
* renderTabManagerControlBarBody
> renderTabManagerTabContainer
* renderTabManagerTabContainerBody
The methods like renderTabManagerFrame, renderContents, etc
take care of generating the HTML that will serve as a container or frame of the body
of these different sections (for keeping formatting on the contents to display) then,
they call their respective Body methods for
obtaining the HTML that will be the most visible to the user. | Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String | FP_AUTO_SUBMIT_JS | Constant specifying the script to invoke when editor need to submit changes automatically. | |||||||||
| String | FP_HIDE_UNAVAILABLE | Used by formal parameter hideUnavailable. | |||||||||
| String | FP_IGNORE_SINGLE_TAB | constant specifying the name of the render single tab property. | |||||||||
| String | FP_PRIMARY_BONE | Constant specifying the name of the primpary bone property. | |||||||||
| String | FP_TAB_HEIGHT | Constant specifying the name of the formal parameter for specifying the height of the tabs on the editor | |||||||||
|
[Expand]
Inherited Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractEditorTransform
| |||||||||||
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| protected TabManagerBean | _tabManagerBean | ||||||||||
| public FormalParameter | autoSubmitJS | Indicates the script to invoke when editor need to submit changes automatically. | |||||||||
| public FormalParameter | hideUnavailable | Determine whether not available tabs should be hidden. | |||||||||
| public FormalParameter | ignoreSingleTab | Indicates whether to render a single tab or not | |||||||||
| public FormalParameter | primaryBone | Inidicates wehther the eidtor is going to be primary bone or not | |||||||||
| public FormalParameter | tabHeight | Indicates the height of the tabs on the editor. | |||||||||
|
[Expand]
Inherited Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.microstrategy.web.app.transforms.AbstractEditorTransform
| |||||||||||
From class
com.microstrategy.web.app.transforms.AbstractAppTransform
| |||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
TabManagerTransform()
Default no-argument constructor.
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getDescription()
Returns the textual description of the transform
| ||||||||||
| Class |
getSupportedBeanType()
Returns the supported bean type.
| ||||||||||
| void |
initializeTransform(Transformable data)
Initializes transform formal parameters
| ||||||||||
| void |
renderChildrenTabBody(MarkupOutput out)
Renders each of the
TabBeans that are part of the TabManagerBean. | ||||||||||
| void |
renderControlBar(MarkupOutput out)
Renders the tab control HTML for being able to switch from one
TabBean child tab to another. | ||||||||||
| void | renderCurrentTabBody(MarkupOutput out) | ||||||||||
| void |
renderEditorContents(MarkupOutput out)
Transforms the assosciated
TabManagerBean when its status is WebBeanRequestSuccessful. | ||||||||||
| void |
renderTabContainerBody(MarkupOutput out)
Generates the HTML that represents the body of the
TabManagerBean
instance being rendered, consisting on all the current available
TabBean instances. | ||||||||||
| 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. | ||||||||||
| void |
transformForRequestSuccessful(MarkupOutput out)
Generates the graphical output for the Projects Bean
| ||||||||||
| Protected Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| String |
getCurrentTabName()
Obtains the Id/Name of the tab currently selected
| ||||||||||
| String |
getTitleForChildTab(TabBean bean)
Obtain the title to use for the given child TabBean, based on its titleId or titleDescription properties
| ||||||||||
| void | initHelp(Editor editor) | ||||||||||
| 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.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
| |||||||||||
Constant specifying the script to invoke when editor need to submit changes automatically.
Used by formal parameter hideUnavailable.
constant specifying the name of the render single tab property.
Constant specifying the name of the primpary bone property.
Constant specifying the name of the formal parameter for specifying the height of the tabs on the editor
Indicates the script to invoke when editor need to submit changes automatically.
Determine whether not available tabs should be hidden. Default to false.
Default no-argument constructor. Initializes formal parameters.
Returns the textual description of the transform
Returns the supported bean type. This transform supports TabManagerBean instances
Initializes transform formal parameters
| data | the bean being transformed by this class |
|---|
Renders each of the TabBeans that are part of the TabManagerBean.
Loops through the list of child TabBeans and renders their output.
| out | MarkupOutput
|
|---|
Renders the tab control HTML for being able to switch from one TabBean child tab to another.
Generates an HTML table for holding the different TabBean titles of the tabs that are
available for this TabManagerBean instance.
Calls renderTabManagerControlBarBody
| out | MarkupOutput instance where the HTML to render will be saved
|
|---|
Transforms the assosciated TabManagerBean when its status is WebBeanRequestSuccessful.
Calls renderTabManagerFrame()
| out | MarkupOutput instance where to create the HTML output
|
|---|
Generates the HTML that represents the body of the TabManagerBean
instance being rendered, consisting on all the current available
TabBean instances. HTML contents of the individual TabBean
instances will then be hidden with css styles and JavaScript, for only showing
one at the time (the currently selected by the user).
| out | MarkupOutput instance where the HTML to render will be saved
|
|---|
Generates a table row with individual cells corresponding to each one of the TabBean
child tab titles that are available to the user.
| out | MarkupOutput instance where the HTML to render will be saved
|
|---|
Generates the graphical output for the Projects Bean
| out | MarkupOutputinstance where to create the HTML output |
|---|
Obtains the Id/Name of the tab currently selected
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.
| out | MarkupOutput instance where the HTML output will be saved.
|
|---|