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 WebEvent
getInsertMetricPercentToTotalEvent(int axisBitMap)
Get the event for inserting a new metric based on Percent to TotalWebEvent
getInsertMetricPercentToTotalEvent(int axisBitMap, java.lang.String attributeID)
Get the event for inserting a new metric based on Percent to TotalWebEvent
getInsertMetricRankEvent(java.lang.String attributeID, int sortOrder)
Get the event for inserting a new metric based on a rankWebEvent
getInsertMetricTransformationEvent(java.lang.String transformationID, int formulaType)
Get the event for inserting a new metric based on a transformationWebHeader
getWebHeader()
Obtain theWebHeader
instance associated with this classWebTemplateMetric
getWebTemplateMetric()
Obtain theWebTemplateMetric
instance directly associated with this classWebTemplateMetric
getWebTemplateMetric(boolean retrieve)
Obtain theWebTemplateMetric
instance associated with this classvoid
init(TransformContext context, WebHeader header)
This method is called to initialize the cell in view mode.void
init(TransformContext context, WebTemplateMetric metric)
This method is called to initialize the cell in design mode.void
init(WebComponent wc, WebHeader header, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContext
object instance as parametervoid
init(WebComponent wc, WebTemplateMetric metric, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContext
object instance as parameterboolean
isMetric()
Utility method for determining if the current cell represents a metric or not.boolean
isMetricDrillable(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 aWebTemplateMetric
as the underlying SDK object.- Parameters:
context
-TransformContext
instance initialized with the grid's transform information.metric
-WebTemplateMetric
instance corresponding to the cell to be displayed.
-
init
void init(WebComponent wc, WebTemplateMetric metric, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContext
object instance as parameterThis method is called to initialize the cell in design mode. It receives aWebTemplateMetric
as the underlying SDK object.- Parameters:
wc
- The bean being transformed.metric
- TheWebTemplateMetric
corresponding to this cell.cachedObjects
- AHashMap
populated by the transform and used to store information shared across multiple cells.
-
init
void init(WebComponent wc, WebHeader header, java.util.HashMap cachedObjects)
Deprecated.please use the interface that takes aTransformContext
object instance as parameterThis method is called to initialize the cell in view mode. It receives aWebHeader
as the underlying SDK object.- Parameters:
wc
- The bean being transformed.header
- TheWebHeader
corresponding to this cell.cachedObjects
- AHashMap
populated 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 aWebHeader
instance as the underlying SDK object- Parameters:
context
-TransformContext
instance initialized with the grid's transform information.header
-WebHeader
instance coresponding to the cell to be displayed.
-
getWebHeader
WebHeader getWebHeader()
Obtain theWebHeader
instance associated with this class- Returns:
WebHeader
instance from where the information to be rendered by this class will be retrieved.
-
getWebTemplateMetric
WebTemplateMetric getWebTemplateMetric()
Obtain theWebTemplateMetric
instance directly associated with this class- Returns:
WebTemplateMetric
instance from where the information to be rendered by this class will be retrieved.
-
getWebTemplateMetric
WebTemplateMetric getWebTemplateMetric(boolean retrieve)
Obtain theWebTemplateMetric
instance 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:
WebTemplateMetric
instance 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
-WebHeader
instance of the cell currently being analyzeddrillPath
-WebDrillPath
information 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 theEnumDSSXMLAxesBitMap
enumeration.- Returns:
WebEvent
initialized 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 theEnumDSSXMLAxesBitMap
enumeration.attributeID
- identifier of the attribute at which the metric will be calculated- Returns:
WebEvent
initialized 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 theEnumDSSXMLMetricFormulaType
enumeration- Returns:
WebEvent
initialized 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_ASCENDING
andEnumViewBeanEvents.SORT_ORDER_DESCENDING
- Returns:
WebEvent
initialized with the event information for inserting a new metric.
-
-