public class

GraphImageTransform

extends AbstractAppTransform
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.GraphImageTransform

Class Overview

This is the transform which renders the acual graph image.

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected FormalParameter graphImageFormat Graph Image Format to use.
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
GraphImageTransform()
default no-args constructor.
Public Methods
String getDescription()
Return the description for this Transform.
Class getSupportedBeanType()
Get the class of objects this transform is able to handle.
void initializeTransform(Transformable data)
Extends initializeTransform by invoking checkDesignMode() and initializeProperties().
void renderShell(MarkupOutput out)

Generates the shell for this Transform.

void transformForRequestSuccessful(MarkupOutput out)
Transform the report bean when its status is "Successful".
Protected Methods
GraphBean getGraphBean()
return the current report bean.
[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.Transform

Fields

protected FormalParameter graphImageFormat

Graph Image Format to use.
Allowed Values:
PreferencesGraphTransform.GRAPH_IMAGE_TYPE_REPORT
PreferencesGraphTransform.GRAPH_IMAGE_TYPE_GIF
PreferencesGraphTransform.GRAPH_IMAGE_TYPE_JPEG

Public Constructors

public GraphImageTransform ()

default no-args constructor.
It created the formal parameters and assign default values to them.

Public Methods

public String getDescription ()

Return the description for this Transform.

Returns
  • The description as to what this Transform does.

public Class getSupportedBeanType ()

Get the class of objects this transform is able to handle.

Returns
  • a Class instance with the information about the beans this transform is able to manipulate.

public void initializeTransform (Transformable data)

Extends initializeTransform by invoking checkDesignMode() and initializeProperties().

Parameters
data the bean to transform.

public void renderShell (MarkupOutput out)

Generates the shell for this Transform.

The shell is a <div> tag that automatically surrounds the content generated by the Transform. It's used among other things by the javascript to identify the HTML associated with a bone, and by the iFrame update technology to identify a component in the page.

The attributes to append to this <div> are obtained from the getAttributesShellDiv method; the style from the getStyleShellDiv method.
This method calls renderCssLink and checkStatus to generate the Transform's content.

Parameters
out output by this transform

public void transformForRequestSuccessful (MarkupOutput out)

Transform the report bean when its status is "Successful".

Parameters
out markupOut by this transform

Protected Methods

protected GraphBean getGraphBean ()

return the current report bean.

Returns
  • the current report bean