public class

GridAutoStylesTransform

extends AbstractAppTransform
implements LayoutTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.GridAutoStylesTransform

Class Overview

Title: GridAutoStylesTransform.

Description: Grid Auto style transform. Designed for generarating auto style pull-down menu.

Company: Microstrategy, Inc.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected FormalParameter imgGo This is the image name for go image used in the transform in HTML only mode.
public FormalParameter renderForm Specifies whether or not to render HTML form.
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
GridAutoStylesTransform()
Non-parameters Transform constructor.
Public Methods
String getDescription()
Returns class specification.
Class getSupportedBeanType()
Returns the supported bean type.
void initializeCss()
initialize css information for the transform
void initializeFormalParameters()
Initializes formal parameters used in this transform.
void initializeImages()
initialize image information for the transform
void initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.
void renderContent(MarkupOutput out)
Renders transform output only when bean's status is successful.
void renderLabel(MarkupOutput out)
Renders style title text.
void renderList(MarkupOutput out)
Renders style content.
void renderSubmitButton(MarkupOutput out)
Renders the submit button.
void transformForRequestSuccessful(MarkupOutput out)
Generates the graphical output for the Projects Bean
Protected Methods
void addCustomOption(SelectTag select)
Adds the option of "Custom" to the select box
void addStyles(SelectTag select, WebFolder folder, String currentStyleID, String currentStyleName)
Add list of Grid styles to a select box.
WebEvent getChangeStyleEvent()
boolean isEnabled()
Returns true if the toolbar should be enabled.
void renderHiddenInputs(MarkupOutput out)
[Expand]
Inherited Methods
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

Fields

protected FormalParameter imgGo

This is the image name for go image used in the transform in HTML only mode.
Allowed values: a valid image file name, with any necessary path information not included already on the resourcesFolderImage application configuration parameter.

public FormalParameter renderForm

Specifies whether or not to render HTML form.

Public Constructors

public GridAutoStylesTransform ()

Non-parameters Transform constructor. It initializes transform formal parameters.

Public Methods

public String getDescription ()

Returns class specification.

Returns
  • String text.

public Class getSupportedBeanType ()

Returns the supported bean type. This transform supports GridAutoStylesBean instances

Returns
  • GridAutoStylesBean instance.

public void initializeCss ()

initialize css information for the transform

public void initializeFormalParameters ()

Initializes formal parameters used in this transform.

public void initializeImages ()

initialize image information for the transform

public void initializeTransform (Transformable data)

This method initialize the private and protected fields of the transform. In particular it initialize the indent field based on the value of the initialIndent formal parameter, and the isDHTML based on the bean's OutputFormat. It also invokes the initializeImages and initializeCss methods.

Parameters
data Transformable data, mostly bean being transformed.

public void renderContent (MarkupOutput out)

Renders transform output only when bean's status is successful.

Parameters
out where to write the output.

public void renderLabel (MarkupOutput out)

Renders style title text.

Parameters
out where to write output.

public void renderList (MarkupOutput out)

Renders style content.
It'll render all styles in a pull-down menu list.

Parameters
out where to write output.

public void renderSubmitButton (MarkupOutput out)

Renders the submit button.

Parameters
out where to write output.

public void transformForRequestSuccessful (MarkupOutput out)

Generates the graphical output for the Projects Bean

Parameters
out MarkupOutput instance where to create the HTML output

Protected Methods

protected void addCustomOption (SelectTag select)

Adds the option of "Custom" to the select box

Parameters
select SelectTag

protected void addStyles (SelectTag select, WebFolder folder, String currentStyleID, String currentStyleName)

Add list of Grid styles to a select box.

Parameters
select SelectTag the select tag
folder WebFolder the web folder containing the styles to add
currentStyleID String the current style ID
currentStyleName String the current style name (used only if the ID is not found)

protected WebEvent getChangeStyleEvent ()

protected boolean isEnabled ()

Returns true if the toolbar should be enabled.

Returns
  • boolean

protected void renderHiddenInputs (MarkupOutput out)