Class ReportCellMoveLeft
- java.lang.Object
-
- com.microstrategy.web.app.gui.ContextMenu.DefaultContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellContextMenuItemBuilder
-
- com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellMove
-
- com.microstrategy.web.app.transforms.contextmenus.ReportCellMoveLeft
-
- All Implemented Interfaces:
ContextMenuItemBuilder
public class ReportCellMoveLeft extends AbstractReportCellMove
TheReportCellMoveLeftclass represents the pivot option that allows cells other thanReportGridCellColTitleinstances to be moved left on the grid template.- Since:
- MicroStrategy Web 8.0.1
-
-
Constructor Summary
Constructors Constructor Description ReportCellMoveLeft(Shortcut definition)Class constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected intgetPivotCode()Utility method for being able to recognize the different pivot manipulations that can be generated.protected booleanisCellSupported(TransformContext context)Utility method for determining if the pivot option to be built supports the cell as specified on the current context.-
Methods inherited from class com.microstrategy.web.app.transforms.contextmenus.AbstractReportCellMove
getJSCode, isActionEnabled
-
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
-
getPivotCode
protected int getPivotCode()
Description copied from class:AbstractReportCellMoveUtility method for being able to recognize the different pivot manipulations that can be generated.- Specified by:
getPivotCodein classAbstractReportCellMove- Returns:
- int value identifying the pivot manipulation this builder will support. Values are
from the
ReportGridDisplayCellconstants such asReportGridDisplayCell.PIVOT_DECREASE_POSITION,ReportGridDisplayCell.PIVOT_INCREASE_POSITION, etc.
-
isCellSupported
protected boolean isCellSupported(TransformContext context)
Description copied from class:AbstractReportCellMoveUtility method for determining if the pivot option to be built supports the cell as specified on the current context.- Overrides:
isCellSupportedin classAbstractReportCellMove- Parameters:
context-TransformContextinitialized instance with the information on where this option will be used- Returns:
- boolean value which by default is true. Children classes of this implementation are expected to overwrite this method with the specific conditions required by the pivot manipulation.
-
-