public class

SimpleThresholdsEditorTransform

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

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.ThresholdsEditorTransform
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.ThresholdsEditorTransform
From class com.microstrategy.web.app.transforms.AbstractEditorTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
SimpleThresholdsEditorTransform()
Public Methods
String getDescription()
Returns the textual description of the transform
Class getSupportedBeanType()
Returns the supported bean type.
void initializeTransform(Transformable data)
This method initializes the private and protected fields of the transform.
void renderEditorContents(MarkupOutput out)
Transforms the associated ThresholdEditorBean Calls renderMetricInfo() and renderSlider()
void renderMetricInfo(MarkupOutput out)
Renders the metric info section of the editor.
void renderSlider(MarkupOutput out)
Renders the empty slider div.
Protected Methods
void initEditor(Editor editor)
Initializes the editor with the global settings.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.ThresholdsEditorTransform
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 SimpleThresholdsEditorTransform ()

Public Methods

public String getDescription ()

Returns the textual description of the transform

Returns
  • the description of the transform

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 initializes the private and protected fields of the transform.

Parameters
data bean that will be transformed

public void renderEditorContents (MarkupOutput out)

Transforms the associated ThresholdEditorBean Calls renderMetricInfo() and renderSlider()

Parameters
out MarkupOutput instance where to create the HTML output

public void renderMetricInfo (MarkupOutput out)

Renders the metric info section of the editor.

Parameters
out MarkupOutput instance where to create the HTML output

public void renderSlider (MarkupOutput out)

Renders the empty slider div. The slider itself is rendered on the client.

Parameters
out MarkupOutput instance where to create the HTML output

Protected Methods

protected void initEditor (Editor editor)

Initializes the editor with the global settings.

Parameters
editor the Editor to modify.