Interface ReportGridCellHeader
-
- All Superinterfaces:
java.lang.Cloneable,ReportGridDisplayCell
- All Known Subinterfaces:
ReportGridCellColHeader,ReportGridCellRowHeader
- All Known Implementing Classes:
AbstractReportGridCellHeader,IPhoneReportGridCellColHeaderImpl,IPhoneReportGridCellRowHeaderImpl,ReportGridCellColHeaderImpl,ReportGridCellRowHeaderImpl,ReportGridDisplayCellColHeader,ReportGridDisplayCellRowHeader,ReportGridExcelCellColHeaderImpl,ReportGridExcelCellRowHeaderImpl
public interface ReportGridCellHeader extends ReportGridDisplayCell
- Since:
- MicroStrategy Web 8.0.1
-
-
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 WebEventgetInsertMetricPercentToTotalEvent(int axisBitMap)Get the event for inserting a new metric based on Percent to TotalWebEventgetInsertMetricPercentToTotalEvent(int axisBitMap, java.lang.String attributeID)Get the event for inserting a new metric based on Percent to TotalWebEventgetInsertMetricRankEvent(java.lang.String attributeID, int sortOrder)Get the event for inserting a new metric based on a rankWebEventgetInsertMetricTransformationEvent(java.lang.String transformationID, int formulaType)Get the event for inserting a new metric based on a transformationWebHeadergetWebHeader()Obtain theWebHeaderinstance associated with this classWebTemplateMetricgetWebTemplateMetric()Obtain theWebTemplateMetricinstance directly associated with this classWebTemplateMetricgetWebTemplateMetric(boolean retrieve)Obtain theWebTemplateMetricinstance associated with this classvoidinit(TransformContext context, WebHeader header)This method is called to initialize the cell in view mode.voidinit(TransformContext context, WebTemplateMetric metric)This method is called to initialize the cell in design mode.voidinit(WebComponent wc, WebHeader header, java.util.HashMap cachedObjects)Deprecated.please use the interface that takes aTransformContextobject instance as parametervoidinit(WebComponent wc, WebTemplateMetric metric, java.util.HashMap cachedObjects)Deprecated.please use the interface that takes aTransformContextobject instance as parameterbooleanisMetric()Utility method for determining if the current cell represents a metric or not.booleanisMetricDrillable(WebHeader header, WebDrillPath drillPath)Utility method for determining if the current cell represents a drillable metric or not-
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(TransformContext context, WebTemplateMetric metric)
This method is called to initialize the cell in design mode. It receives aWebTemplateMetricas the underlying SDK object.- Parameters:
context-TransformContextinstance initialized with the grid's transform information.metric-WebTemplateMetricinstance corresponding to the cell to be displayed.
-
init
@Deprecated void init(WebComponent wc, WebTemplateMetric metric, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContextobject instance as parameterThis method is called to initialize the cell in design mode. It receives aWebTemplateMetricas the underlying SDK object.- Parameters:
wc- The bean being transformed.metric- TheWebTemplateMetriccorresponding to this cell.cachedObjects- AHashMappopulated by the transform and used to store information shared across multiple cells.
-
init
@Deprecated void init(WebComponent wc, WebHeader header, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContextobject instance as parameterThis method is called to initialize the cell in view mode. It receives aWebHeaderas the underlying SDK object.- Parameters:
wc- The bean being transformed.header- TheWebHeadercorresponding to this cell.cachedObjects- AHashMappopulated by the transform and used to store information shared across multiple cells.
-
init
void init(TransformContext context, WebHeader header)
This method is called to initialize the cell in view mode. It receives aWebHeaderinstance as the underlying SDK object- Parameters:
context-TransformContextinstance initialized with the grid's transform information.header-WebHeaderinstance coresponding to the cell to be displayed.
-
getWebHeader
WebHeader getWebHeader()
Obtain theWebHeaderinstance associated with this class- Returns:
WebHeaderinstance from where the information to be rendered by this class will be retrieved.
-
getWebTemplateMetric
WebTemplateMetric getWebTemplateMetric()
Obtain theWebTemplateMetricinstance directly associated with this class- Returns:
WebTemplateMetricinstance from where the information to be rendered by this class will be retrieved.
-
getWebTemplateMetric
WebTemplateMetric getWebTemplateMetric(boolean retrieve)
Obtain theWebTemplateMetricinstance associated with this class- Parameters:
retrieve- boolean flag that if true indicates it will search also on the header information and the template's metric collection for the metric represented here.- Returns:
WebTemplateMetricinstance from where the information to be rendered by this class will be retrieved.- Since:
- MicroStrategy Web 8.1.2
-
isMetricDrillable
boolean isMetricDrillable(WebHeader header, WebDrillPath drillPath)
Utility method for determining if the current cell represents a drillable metric or not- Parameters:
header-WebHeaderinstance of the cell currently being analyzeddrillPath-WebDrillPathinformation available for the cell being analyzed- Returns:
- boolean value indicating if the current cell is a drillable metric or not
-
isMetric
boolean isMetric()
Utility method for determining if the current cell represents a metric or not.- Returns:
- boolean value indicating if the current cell instance corresponds to a metric or not.
-
getInsertMetricPercentToTotalEvent
WebEvent getInsertMetricPercentToTotalEvent(int axisBitMap)
Get the event for inserting a new metric based on Percent to Total- Parameters:
axisBitMap- identifier of the axis to be used for calculating the metric information. Values expected come from theEnumDSSXMLAxesBitMapenumeration.- Returns:
WebEventinitialized with the event information for inserting a new metric.
-
getInsertMetricPercentToTotalEvent
WebEvent getInsertMetricPercentToTotalEvent(int axisBitMap, java.lang.String attributeID)
Get the event for inserting a new metric based on Percent to Total- Parameters:
axisBitMap- identifier of the axis to be used for calculating the metric information. Values expected come from theEnumDSSXMLAxesBitMapenumeration.attributeID- identifier of the attribute at which the metric will be calculated- Returns:
WebEventinitialized with the event information for inserting a new metric.
-
getInsertMetricTransformationEvent
WebEvent getInsertMetricTransformationEvent(java.lang.String transformationID, int formulaType)
Get the event for inserting a new metric based on a transformation- Parameters:
transformationID- identifier of the role of the transformation to be usedformulaType- identifier of the type of formula to be used. Values expected come from theEnumDSSXMLMetricFormulaTypeenumeration- Returns:
WebEventinitialized with the event information for inserting a new metric.
-
getInsertMetricRankEvent
WebEvent getInsertMetricRankEvent(java.lang.String attributeID, int sortOrder)
Get the event for inserting a new metric based on a rank- Parameters:
attributeID- identifier of the attribute at which the metric will be calculatedsortOrder- int with the sort order to be used on the new rank metric. Values expected includeEnumViewBeanEvents.SORT_ORDER_ASCENDINGandEnumViewBeanEvents.SORT_ORDER_DESCENDING- Returns:
WebEventinitialized with the event information for inserting a new metric.
-
-