Class AbstractReportCellThresholds
- java.lang.Object
-
- com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellThresholds
-
- All Implemented Interfaces:
ContextMenuItemBuilder
- Direct Known Subclasses:
ReportCellAdvancedThresholds
,ReportCellVisualThresholds
public abstract class AbstractReportCellThresholds extends AbstractReportCellContextMenuItemBuilder
- Since:
- MicroStrategy Web 9.0.1
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static interface
AbstractReportCellThresholds.ThresholdsContextMenuBuilder
-
Constructor Summary
Constructors Constructor Description AbstractReportCellThresholds(Shortcut definition)
Class constructor
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected java.lang.String
getJSCode(TransformContext context)
Generate the JavaScript code the context menu item generated by this builder instance will trigger when the user selects it.protected AbstractReportCellThresholds.ThresholdsContextMenuBuilder
getThresholdsContextMenuBuilder(TransformContext context)
protected abstract java.lang.String
getThresholdsEditor()
protected boolean
isActionEnabled(TransformContext context)
Called byAbstractReportCellContextMenuItemBuilder.isItemAvailable(com.microstrategy.web.app.transforms.TransformContext)
, indicates the abstract class if the corresponding action of this item is available.-
Methods inherited from class com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellContextMenuItemBuilder
canDefineDerivedElements, createItem, getCell, getFormalParameter, getIntValue, getPassThroughMode, getStringValue, getTransform, isFeatureAvailable, isIframeEnabled, isItemAvailable, isRW, isTrue
-
Methods inherited from class com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
createItem, getDefinition, getItemKey, getScript
-
-
-
-
Method Detail
-
isActionEnabled
protected boolean isActionEnabled(TransformContext context)
Description copied from class:AbstractReportCellContextMenuItemBuilder
Called byAbstractReportCellContextMenuItemBuilder.isItemAvailable(com.microstrategy.web.app.transforms.TransformContext)
, indicates the abstract class if the corresponding action of this item is available.- Specified by:
isActionEnabled
in classAbstractReportCellContextMenuItemBuilder
- Parameters:
context
-TransformContext
initialized instance with the information on where this option will be used- Returns:
- boolean value indicating if the option should be enabled to the user or not, given the properties available on the context object.
-
getJSCode
protected java.lang.String getJSCode(TransformContext context)
Description copied from class:AbstractReportCellContextMenuItemBuilder
Generate the JavaScript code the context menu item generated by this builder instance will trigger when the user selects it.- Specified by:
getJSCode
in classAbstractReportCellContextMenuItemBuilder
- Parameters:
context
-TransformContext
initialized instance with the information on where this option will be used- Returns:
- String value with the JavaScript information to trigger when the option is selected.
-
getThresholdsEditor
protected abstract java.lang.String getThresholdsEditor()
-
getThresholdsContextMenuBuilder
protected AbstractReportCellThresholds.ThresholdsContextMenuBuilder getThresholdsContextMenuBuilder(TransformContext context)
-
-