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
TheReportCellMoveLeft
class represents the pivot option that allows cells other thanReportGridCellColTitle
instances 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 int
getPivotCode()
Utility method for being able to recognize the different pivot manipulations that can be generated.protected boolean
isCellSupported(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:AbstractReportCellMove
Utility method for being able to recognize the different pivot manipulations that can be generated.- Specified by:
getPivotCode
in classAbstractReportCellMove
- Returns:
- int value identifying the pivot manipulation this builder will support. Values are
from the
ReportGridDisplayCell
constants such asReportGridDisplayCell.PIVOT_DECREASE_POSITION
,ReportGridDisplayCell.PIVOT_INCREASE_POSITION
, etc.
-
isCellSupported
protected boolean isCellSupported(TransformContext context)
Description copied from class:AbstractReportCellMove
Utility method for determining if the pivot option to be built supports the cell as specified on the current context.- Overrides:
isCellSupported
in classAbstractReportCellMove
- Parameters:
context
-TransformContext
initialized 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.
-
-