Interface ReportGridCellMetricValue
- 
- All Superinterfaces:
 java.lang.Cloneable,ReportGridDisplayCell
- All Known Implementing Classes:
 IPhoneReportGridCellMetricValueImpl,ReportGridCellMetricValueImpl,ReportGridDisplayCellMetricValue,ReportGridExcelCellMetricValueImpl
public interface ReportGridCellMetricValue extends ReportGridDisplayCell
The
ReportGridCellMetricValuerepresents a value of the report data.Classes implementing this interface uses a
WebRowValueas the underlyingSDKobjects to retrieve the information from.Users can modify the HTML generated for these cells by creating a custom class that implements this interface. The easiest way to accomplish this is to extend the out-of-the-box implementation provided by Microstrateg Web, that is the
ReportGridCellMetricValueImpl.- Since:
 - MicroStrategy Web 7.5.1
 - See Also:
 ReportGridDisplayCell,ReportGridTransformImpl
 
- 
- 
Nested Class Summary
- 
Nested classes/interfaces inherited from interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
ReportGridDisplayCell.Context 
 - 
 
- 
Field Summary
- 
Fields inherited from interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
PIVOT_DECREASE_POSITION, PIVOT_INCREASE_POSITION, PIVOT_REMOVE, PIVOT_SWITCH_AXIS, PIVOT_TO_PAGE_BY 
 - 
 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description WebRowValuegetWebRowValue()Returns the underlyingSDKobject associated with this cell.WebTemplateMetricgetWebTemplateMetric()return the WebTemplateMetric object associated with this cellvoidinit(TransformContext context, WebRowValue rowValue)This method is called to initialize the cell with the correspondingWebRowValueas the underlying SDK objectvoidinit(WebComponent wc, WebRowValue rowValue, java.util.HashMap cachedObjects)Deprecated.please use the interface that takes aTransformContextinstance object as parametervoidinit(WebComponent wc, WebTemplateMetric metric, FormalParameters formalParas)Deprecated.The Transform doesn't use this method to initialize a non-empty cell, it always usesinit(TransformContext, WebRowValue).- 
Methods inherited from interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
addExtraAttribute, canAddThresholds, canDrill, canDrillAdvanced, canEditControl, canEditMetricFilter, canFilterOn, canFilterOnSelection, canFormat, canHaveDerivedElements, canHyperLink, canInsertShortcutMetric, canMetricFilterOn, canModifyAttributeForm, canOpenAlerts, canPivot, canPivot, canQuickGroup, canRemoveFromGrid, canRemoveFromReport, canRename, canSort, generateOutput, getAccessibilityInfo, getCellID, getCellType, getColSpan, getControlElementSelectorEvent, getDerivedElementsEvent, getDrillEvent, getDrillPathWithHighImportance, getExtraInfo, getExtraStyle, getFilterOnEvent, getHeaderContent, getKey, getOpenFormatEditorEvent, getRenameEvent, getRowSpan, getSetFormatEditorTargetEvent, getStyle, getText, getTooltip, getWidth, init, init, init, init, isRW, reset, setAccessibilityInfo, setCellID, setColSpan, setContent, setContextMenu, setExtraInfo, setExtraStyle, setExtraStyle, setHTML, setInnerHTML, setPostContent, setPreContent, setRowSpan, setStyle, setText, setTooltip, setWidth 
 - 
 
 - 
 
- 
- 
Method Detail
- 
init
void init(WebComponent wc, WebTemplateMetric metric, FormalParameters formalParas)
Deprecated.The Transform doesn't use this method to initialize a non-empty cell, it always usesinit(TransformContext, WebRowValue).- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
init
void init(WebComponent wc, WebRowValue rowValue, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContextinstance object as parameterThis method is called to initialize the cell with the correspondingWebRowValueas the underlying SDK object.- Parameters:
 wc- The bean being transformed.rowValue- TheWebRowValuecorresponding to this cell.cachedObjects- AHashMappopulated by the transform and used to store information shared across multiple cells.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
init
void init(TransformContext context, WebRowValue rowValue)
This method is called to initialize the cell with the correspondingWebRowValueas the underlying SDK object- Parameters:
 context-TransformContextinstance initialized with the grid's transform information.rowValue-WebRowValueinstance corresponding to the cell to be displayed.- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getWebRowValue
WebRowValue getWebRowValue()
Returns the underlyingSDKobject associated with this cell. It should always returnnullif the instance represents an empty cell.- Returns:
 - The underlying SDK object.
 - Since:
 - MicroStrategy Web 8.0.0
 
 
- 
getWebTemplateMetric
WebTemplateMetric getWebTemplateMetric()
return the WebTemplateMetric object associated with this cell- Returns:
 - the WebTemplateMetric object
 - Since:
 - MicroStrategy Web 8.1.2
 
 
 - 
 
 -