public class

RWDColorGradientEditorTransform

extends AbstractColorGradientEditorTransform
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.AbstractColorGradientEditorTransform
             ↳ com.microstrategy.web.app.transforms.RWDColorGradientEditorTransform

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractColorGradientEditorTransform
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.AbstractColorGradientEditorTransform
From class com.microstrategy.web.app.transforms.AbstractEditorTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
RWDColorGradientEditorTransform()
Public Methods
Class getSupportedBeanType()
Returns the supported bean type.
void initializeTransform(Transformable data)
This method initialize the private and protected fields of the transform.
Protected Methods
void getCurrentGradientValues()
String getScriptClass()

Returns the name of the javaScript class to be associated with the component.

void renderCustomShadingSection(MarkupOutput out)
This method renders the custom shading section.
void renderShadingStylesSection(MarkupOutput out)
void setBoneProperties()
This method sets the bone properties for the corresponding bone.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.AbstractColorGradientEditorTransform
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.Transform

Public Constructors

public RWDColorGradientEditorTransform ()

Public Methods

public Class getSupportedBeanType ()

Returns the supported bean type. This abstract Transform supports all WebComponents so every sub-class should override this method to return the class of the Bean the Transform is expecting, for example:

 public class CustomReportClass extends AbstractAppTransform {

    public Class getSupportedBeanType() {
        //This Transform is expected to work only with a ReportBean,
        //therefore this method needs to return this class:
        return ReportBean.class;
    }

 }
 

Returns
  • a root class/interface supported by this transform.

public void initializeTransform (Transformable data)

This method initialize the private and protected fields of the transform.

Parameters
data Transformable instance to be transformed.

Protected Methods

protected void getCurrentGradientValues ()

protected String getScriptClass ()

Returns the name of the javaScript class to be associated with the component. When the scriptClass is specified, a bone is registered on the page for this component.

A bone is the corresponding concept of a bean in Microstrategy's javascript environment.
This methods returns "mstrEditorImpl", the default bone implementation for an editor. Transforms which uses a different bone implementation need to override this method.

Returns
  • String representing the name of a javaScript class

protected void renderCustomShadingSection (MarkupOutput out)

This method renders the custom shading section.

Parameters
out a MarkupOutput to where the content is rendered.

protected void renderShadingStylesSection (MarkupOutput out)

protected void setBoneProperties ()

This method sets the bone properties for the corresponding bone.