public abstract class

ThresholdsEditorTransform

extends AbstractEditorTransform
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.AbstractEditorTransform
           ↳ com.microstrategy.web.app.transforms.ThresholdsEditorTransform
Known Direct Subclasses
Known Indirect Subclasses

Summary

Constants
boolean ALL_PROPERTIES
String FP_CONDITIONAL_FORMATTING_HELP_TOPIC Constant specifying the name of the formal parameter for specifying the help topic for the conditional formatting editor
boolean NON_DEFAULT_ONLY
[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractEditorTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected boolean _isConditionalFormatting
protected ThresholdEditorBean _teBean
public FormalParameter conditionalFormattingHelpTopic Indicates the type of help topic this editor uses when in conditional formatting mode.
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractEditorTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
ThresholdsEditorTransform()
Public Methods
String getDescription()
Returns a textual description of the transform.
void initializeTransform(Transformable data)
This method initializes the private and protected fields of the transform.
void renderEditorContents(MarkupOutput out)
Generates the graphical output for the Editor
Protected Methods
JsonGenerator getFormatting(WebThreshold wt, boolean nonDefaultOnly)
This method returns a JsonGenerator containing all of the formatting for the supplied WebThreshold.
JsonGenerator getFormatting(WebFormat wf)
This method returns a JsonGenerator containing all of the formatting for the supplied WebFormat.
void initEditor(Editor editor)
Initializes the editor with the global settings.
boolean isConditionalFormatting()
void setCommonBoneProperties()
This method sets the common bone properties for both the advanced and simple threshold editors.
[Expand]
Inherited Methods
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

Constants

protected static final boolean ALL_PROPERTIES

Constant Value: false

public static final String FP_CONDITIONAL_FORMATTING_HELP_TOPIC

Constant specifying the name of the formal parameter for specifying the help topic for the conditional formatting editor

Constant Value: "conditionalFormattingHelpTopic"

protected static final boolean NON_DEFAULT_ONLY

Constant Value: true

Fields

protected boolean _isConditionalFormatting

protected ThresholdEditorBean _teBean

public FormalParameter conditionalFormattingHelpTopic

Indicates the type of help topic this editor uses when in conditional formatting mode.

Public Constructors

public ThresholdsEditorTransform ()

Public Methods

public String getDescription ()

Returns a textual description of the transform.

Returns
  • The textual description of the 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)

Generates the graphical output for the Editor

Parameters
out MarkupOutput instance where to create the HTML output

Protected Methods

protected JsonGenerator getFormatting (WebThreshold wt, boolean nonDefaultOnly)

This method returns a JsonGenerator containing all of the formatting for the supplied WebThreshold.

Parameters
wt WebThreshold
nonDefaultOnly boolean indicates whether to populate the JsonGenerator with all formatting properties, or only those that are different from the containers formatting.
Returns

protected JsonGenerator getFormatting (WebFormat wf)

This method returns a JsonGenerator containing all of the formatting for the supplied WebFormat.

Parameters
wf WebFormat
Returns

protected void initEditor (Editor editor)

Initializes the editor with the global settings.

Parameters
editor the Editor to modify.

protected boolean isConditionalFormatting ()

protected void setCommonBoneProperties ()

This method sets the common bone properties for both the advanced and simple threshold editors.