public class

AdvancedThresholdsEditorTransform

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.AdvancedThresholdsEditorTransform
Known Direct Subclasses

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
Fields
public FormalParameter thresholdWidth Indicates the width property of threshold expression div.
[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
AdvancedThresholdsEditorTransform()
Public Methods
String getDescription()
Returns a 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 renderAllowToggleThresholds(MarkupOutput out)
void renderEditorContents(MarkupOutput out)
Generates the graphical output for the Editor
void renderThresholdExpressions(MarkupOutput out)
This method renders the threshold expressions for all metrics (view bean mode) or the current container.
void renderThresholds(MarkupOutput out, WebThresholdsContainer wtc)
This method renders the thresholds for the supplied WebThresholdsContainer.
Protected Methods
void filterEmptyThresholds(WebThresholds wts)
This method filer out the threshold with empty expression
void initEditor(Editor editor)
Initializes the editor with the global settings.
void manipulateEmptyThreshold(WebThreshold wt, boolean isCurrentContainer)
This method is stub here and will be overridden in AlertsEditorTransform
boolean shouldAddConditionLink(WebThreshold wt)
boolean shouldHideExpression(WebThreshold wt, boolean isCurrentContainer)
This method is stub here and will be overridden in AlertsEditorTransform
[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

Fields

public FormalParameter thresholdWidth

Indicates the width property of threshold expression div.

Public Constructors

public AdvancedThresholdsEditorTransform ()

Public Methods

public String getDescription ()

Returns a textual description of the transform.

Returns
  • The textual 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 renderAllowToggleThresholds (MarkupOutput out)

public void renderEditorContents (MarkupOutput out)

Generates the graphical output for the Editor

Parameters
out MarkupOutput instance where to create the HTML output

public void renderThresholdExpressions (MarkupOutput out)

This method renders the threshold expressions for all metrics (view bean mode) or the current container.

Parameters
out MarkupOutput

public void renderThresholds (MarkupOutput out, WebThresholdsContainer wtc)

This method renders the thresholds for the supplied WebThresholdsContainer.

Protected Methods

protected void filterEmptyThresholds (WebThresholds wts)

This method filer out the threshold with empty expression

protected void initEditor (Editor editor)

Initializes the editor with the global settings.

Parameters
editor the Editor to modify.

protected void manipulateEmptyThreshold (WebThreshold wt, boolean isCurrentContainer)

This method is stub here and will be overridden in AlertsEditorTransform

protected boolean shouldAddConditionLink (WebThreshold wt)

protected boolean shouldHideExpression (WebThreshold wt, boolean isCurrentContainer)

This method is stub here and will be overridden in AlertsEditorTransform