Interface ReportGridDisplayCell
- 
- All Superinterfaces:
 java.lang.Cloneable
- All Known Subinterfaces:
 ReportGridCell,ReportGridCellColHeader,ReportGridCellColTitle,ReportGridCellHeader,ReportGridCellMetricValue,ReportGridCellRowHeader,ReportGridCellRowTitle,ReportGridCellTitle
- All Known Implementing Classes:
 AbstractReportGridCellHeader,AbstractReportGridCellTitle,AbstractReportGridDisplayCell,IPhoneReportGridCellColHeaderImpl,IPhoneReportGridCellMetricValueImpl,IPhoneReportGridCellRowHeaderImpl,ReportGridCellColHeaderImpl,ReportGridCellColTitleImpl,ReportGridCellImpl,ReportGridCellMetricValueImpl,ReportGridCellRowHeaderImpl,ReportGridCellRowTitleImpl,ReportGridDisplayCellColHeader,ReportGridDisplayCellColTitle,ReportGridDisplayCellImpl,ReportGridDisplayCellMetricValue,ReportGridDisplayCellRowHeader,ReportGridDisplayCellRowTitle,ReportGridExcelCellColHeaderImpl,ReportGridExcelCellColTitleImpl,ReportGridExcelCellMetricValueImpl,ReportGridExcelCellRowHeaderImpl,ReportGridExcelCellRowTitleImpl
public interface ReportGridDisplayCell extends java.lang.CloneableThis is the base interface of those used by the
ReportGridTransformImplto generate the content of a single cell.To generate the HTML for a grid, the Transform iterates through its data and for each cell it will:
- Create an instance of the cell using reflexion.
 - Call the corresponding 
initmethod. - Call its 
generateOutputmethod. 
Users can modify the HTML generated for a cell by creating a custom class that implements this interface. The easiest way to accomplish this is to extend one of the out-of-the-box implementations provided by Microstrateg Web, all of which extend the
AbstractReportGridDisplayCell.To learn how the Transform assigns a class for a particular cell type, please refer to
ReportGridTransformImpl.- Since:
 - MicroStrategy Web 7.3.1 or earlier
 
 
- 
- 
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceReportGridDisplayCell.ContextImplementsTransformContext. 
- 
Field Summary
Fields Modifier and Type Field Description static intPIVOT_DECREASE_POSITIONIdentifier for the pivot button that will decrease the position of the object in the collection, for example, move it to the left in case of row title, or move it up if a column titlestatic intPIVOT_INCREASE_POSITIONIdentifier for the pivot button that will increase the position of the object in the collection, for example, move it to the right in case of row title, or move it down if a column titlestatic intPIVOT_REMOVEIdentifier for the pivot button that will remove the object from the templatestatic intPIVOT_SWITCH_AXISIdentifier for the pivot button that will change of axis the object in the template, for example, move it to columns in case of row title, or move it to rows if a column titlestatic intPIVOT_TO_PAGE_BYIdentifier for the pivot button that will move the object to the page by section 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description voidaddExtraAttribute(java.lang.String attributeName, java.lang.String attributeValue)Define extra tag attributes and their values that shall be included on the table cell definition for the current instance being renderedbooleancanAddThresholds()Utility method for determining if the cell object is enabled for displaying the user the option to add advanced thresholdsbooleancanDrill()Utility methood for determining if the cell object is enabled for displaying the user the option to drill on itbooleancanDrillAdvanced()Utility methood for determining if the cell object is enabled for displaying the user the option for advanced drilling on itbooleancanEditControl()Utility methood for determining if the cell object is enabled for displaying the user the option to edit controlbooleancanEditMetricFilter()Utility method for determining if the cell object is enabled editing a metric filterbooleancanFilterOn()Utility methood for determining if the cell object is enabled for displaying the user the option to filter on itbooleancanFilterOnSelection()booleancanFormat()Utility methood for determining if the cell object is enabled for displaying the user the option to format itbooleancanHaveDerivedElements()booleancanHyperLink()Utility method for determining if the cell object is enabled for displaying the user the option to navigate to custom hyperlinksbooleancanInsertShortcutMetric()Utility methood for determining if the cell object is enabled for displaying the user the option to insert shortcut metrics based on itbooleancanMetricFilterOn()Utility method for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on itbooleancanModifyAttributeForm()Utility methood for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on itbooleancanOpenAlerts()booleancanPivot()Utility methood for determining if the cell object is enabled for displaying the user the option to pivot itbooleancanPivot(int type)Utility methood for determining if the cell object is enabled for displaying the user the option to pivot it according to the type specifiedbooleancanQuickGroup()booleancanRemoveFromGrid()Utility methood for determining if the cell object is enabled for displaying the user the option to remove it from the grid.booleancanRemoveFromReport()Utility methood for determining if the cell object is enabled for displaying the user the option to remove it from the reportbooleancanRename()Utility methood for determining if the cell object is enabled for displaying the user the option to rename itbooleancanSort()Utility methood for determining if the cell object is enabled for displaying the user the option to sort itvoidgenerateOutput(MarkupOutput mo)This is the main entry point to generate the output of the cell.java.lang.StringgetAccessibilityInfo()Deprecated.addExtraAttribute(java.lang.String, java.lang.String)is used instead for specifying the accessibility information, for example,addExtraAttribute("scope", "row");java.lang.StringgetCellID()Returns the id for this cell, this should be the one used as theIDattribute ofTDtag.intgetCellType()Deprecated.The cell type is not significant anymore for the application.intgetColSpan()Returns the column span for this cell, this should be the one used as theCOLSPANattribute ofTDtag.WebEventgetControlElementSelectorEvent(RWControl control, java.lang.String elementList)WebEventgetDerivedElementsEvent()WebEventgetDrillEvent(WebDrillPath dp, java.lang.String elementKey, WebTitle title)Returns the WebEvent to drill from the cell to the given drill path.WebDrillPathgetDrillPathWithHighImportance()Obtain the Drill path with high importance information for the current cell being analyzed.java.lang.StringgetExtraInfo()Returns the text assigned as extra information of the cell.java.lang.StringgetExtraStyle()Returns the extra style information required for the formatting of the cell.WebEventgetFilterOnEvent()Get the event for filter on the cell header instancejava.lang.StringgetHeaderContent(WebHeader header)Deprecated.The Transform doesn't call this method.intgetKey()WebEventgetOpenFormatEditorEvent()Get the event for opening the format editorWebEventgetRenameEvent()Get the event for renaming the current cellintgetRowSpan()Returns the row span for this cell, this should be the one used as theROWSPANattribute ofTDtag.WebEventgetSetFormatEditorTargetEvent()Get the event for setting the current target of the format editor to be this cell instancejava.lang.StringgetStyle()Returns the css class name associated with the cell.java.lang.StringgetText()Returns the text content of this cell.java.lang.StringgetTooltip()Returns the tooltip text for this cell.java.lang.StringgetWidth()Returns the width for this cell, this should be the one used as theWIDTHattribute ofTDtag.voidinit(TransformContext context)Initializes the instance.voidinit(WebComponent wc, FormalParameters formalParas)Deprecated.This method is not used by the Transform anymore.voidinit(WebComponent wc, java.util.HashMap cachedObjects)Deprecated.use the init interface that receives aReportGridTransformImpl.Contextobjectvoidinit(FormalParameters formalParas)Deprecated.This method is not used by the Transform anymore.booleanisRW()Utility methood for determining whether it is a RW execution.voidreset()Reset all of the instance variables.voidsetAccessibilityInfo(java.lang.String accessibilityInfo)Deprecated.please useaddExtraAttribute(java.lang.String, java.lang.String)instead, for example,addExtraAttribute("scope", "row");voidsetCellID(java.lang.String cellID)Registers the id for this cell, this should be used as theIDattribute ofTDtag.voidsetColSpan(int colSpan)Registers the column span for this cell, this should be used as theCOLSPANattribute ofTDtag.voidsetContent(java.lang.String content)Deprecated.The Transform doesn't call this method.voidsetContextMenu(java.lang.String contextMenu)Deprecated.use the context menu infrastructure for defining this information, or theaddExtraAttribute(java.lang.String, java.lang.String)method for adding tag attributes.voidsetExtraInfo(java.lang.String extraInfo)Registers any extra information that should be appended as part of theTD's open tag.voidsetExtraStyle(java.lang.String extraStyle)Deprecated.useinsteadvoidsetExtraStyle(java.lang.String value, boolean append)Updates values to theSTYLEattribute of theTDtag.voidsetHTML(java.lang.String html)Deprecated.The Transform doesn't call this method.voidsetInnerHTML(java.lang.String innerHTML)Deprecated.The Transform doesn't call this method.voidsetPostContent(java.lang.String content)Deprecated.The Transform doesn't call this method.voidsetPreContent(java.lang.String content)Deprecated.The Transform doesn't call this method.voidsetRowSpan(int rowSpan)Registers the row span for this cell, this should be used as theROWSPANattribute ofTDtag.voidsetStyle(java.lang.String style)Registers the css style name associated with the cell.voidsetText(java.lang.String text)Registers the text content of this cell.voidsetTooltip(java.lang.String tooltip)Registers the text for the tooltop of this cell.voidsetWidth(java.lang.String width)Registers the width for this cell, this should be used asWIDTHattribute ofTDtag. 
 - 
 
- 
- 
Field Detail
- 
PIVOT_INCREASE_POSITION
static final int PIVOT_INCREASE_POSITION
Identifier for the pivot button that will increase the position of the object in the collection, for example, move it to the right in case of row title, or move it down if a column title- Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 - Constant Field Values
 
 
- 
PIVOT_DECREASE_POSITION
static final int PIVOT_DECREASE_POSITION
Identifier for the pivot button that will decrease the position of the object in the collection, for example, move it to the left in case of row title, or move it up if a column title- Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 - Constant Field Values
 
 
- 
PIVOT_SWITCH_AXIS
static final int PIVOT_SWITCH_AXIS
Identifier for the pivot button that will change of axis the object in the template, for example, move it to columns in case of row title, or move it to rows if a column title- Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 - Constant Field Values
 
 
- 
PIVOT_TO_PAGE_BY
static final int PIVOT_TO_PAGE_BY
Identifier for the pivot button that will move the object to the page by section- Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 - Constant Field Values
 
 
- 
PIVOT_REMOVE
static final int PIVOT_REMOVE
Identifier for the pivot button that will remove the object from the template- Since:
 - MicroStrategy Web 8.0.1
 - See Also:
 - Constant Field Values
 
 
 - 
 
- 
Method Detail
- 
reset
void reset()
Reset all of the instance variables. This method is very important when improve the memory performance: we create only one instance for a particular cell type and reuse it instead of creating a new instance for each concrete grid cell. Therefore, it saves a lot of memory. For implementation of this method, please follow the workflow of how all the instance variables are initialized in the class hierarchy when a new instance is created: superclass instance variables are initialized first, subclass instance variables are initialized second. Note: for the purpose of cell reuse.- Since:
 - MicroStrategy Web 9.0.1
 
 
- 
getText
java.lang.String getText()
Returns the text content of this cell. This represents the actual text displayed by the web browser.
- Returns:
 - Text for the cell
 
 
- 
setText
void setText(java.lang.String text)
Registers the text content of this cell. When a non-null text is registered, this should be used as the core content of the cell; otherwise the alias of the underlying
WebObjectshould be used.- Parameters:
 text- text for this cell
 
- 
getStyle
java.lang.String getStyle()
Returns the css class name associated with the cell.
This should be the one assigned to theCLASSattribute of theTDtag to control its formatting.- Returns:
 - The css class name
 
 
- 
setStyle
void setStyle(java.lang.String style)
Registers the css style name associated with the cell.
This text should be assigned as theCLASSattribute of theTDtag to control the format of the cells that share the sameCLASS.- Parameters:
 style- The css class name
 
- 
getExtraStyle
java.lang.String getExtraStyle()
Returns the extra style information required for the formatting of the cell. This text should be the one assigned to theSTYLEattribute of theTDtag.- Returns:
 - The extra style info for this cell
 
 
- 
setExtraStyle
@Deprecated void setExtraStyle(java.lang.String extraStyle)
Deprecated.useinsteadRegisters any extra information required for the formatting of the cell.
This text should be assigned to theSTYLEattribute of theTDtag. The style assigned this way will only apply to this cell.- Parameters:
 extraStyle- The text to use
 
- 
setExtraStyle
void setExtraStyle(java.lang.String value, boolean append)Updates values to theSTYLEattribute of theTDtag. The style assigned this way will only apply to this cell. Based on the value of append, Information added through this method is appended to other information currently assigned to this attribute.- Parameters:
 value- The text to addappend- whether to overwrite or append to the existing style value. Note, the method does not append an automatic semi-colon. Best practice is to ensure that semi-colons are present at the end of value being set (e.g. text-decoration:none; ).- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getExtraInfo
java.lang.String getExtraInfo()
Returns the text assigned as extra information of the cell. This text should be the one appended to theTD's open tag.- Returns:
 - The extra info for this cell
 
 
- 
setExtraInfo
void setExtraInfo(java.lang.String extraInfo)
Registers any extra information that should be appended as part of theTD's open tag. This can be used, for example, to include extra attributes into the cell.- Parameters:
 extraInfo- the text to be appended as part of the open tag.
 
- 
getCellID
java.lang.String getCellID()
Returns the id for this cell, this should be the one used as theIDattribute ofTDtag.- Returns:
 - the id for this cell
 
 
- 
setCellID
void setCellID(java.lang.String cellID)
Registers the id for this cell, this should be used as theIDattribute ofTDtag.- Parameters:
 cellID- The cell's ID
 
- 
getTooltip
java.lang.String getTooltip()
Returns the tooltip text for this cell. This is the text displayed by the browser when the cursor goes over the cell.- Returns:
 - The cell's Tooltip text.
 
 
- 
setTooltip
void setTooltip(java.lang.String tooltip)
Registers the text for the tooltop of this cell. This should be used as theTITLEattribute ofTDtag.- Parameters:
 tooltip- the tooltip to display when the cursor goes over the cell
 
- 
addExtraAttribute
void addExtraAttribute(java.lang.String attributeName, java.lang.String attributeValue)Define extra tag attributes and their values that shall be included on the table cell definition for the current instance being rendered- Parameters:
 attributeName- String value with the name of the attribute to addattributeValue- String value with the value of the attribute to add- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getRowSpan
int getRowSpan()
Returns the row span for this cell, this should be the one used as theROWSPANattribute ofTDtag.- Returns:
 - The cell's row span
 
 
- 
setRowSpan
void setRowSpan(int rowSpan)
Registers the row span for this cell, this should be used as theROWSPANattribute ofTDtag.- Parameters:
 rowSpan- row span
 
- 
getColSpan
int getColSpan()
Returns the column span for this cell, this should be the one used as theCOLSPANattribute ofTDtag.- Returns:
 - The cell's col span
 
 
- 
setColSpan
void setColSpan(int colSpan)
Registers the column span for this cell, this should be used as theCOLSPANattribute ofTDtag.- Parameters:
 colSpan- col span
 
- 
getWidth
java.lang.String getWidth()
Returns the width for this cell, this should be the one used as theWIDTHattribute ofTDtag.- Returns:
 - The cell's width
 
 
- 
setWidth
void setWidth(java.lang.String width)
Registers the width for this cell, this should be used asWIDTHattribute ofTDtag.- Parameters:
 width- text for this cell
 
- 
generateOutput
void generateOutput(MarkupOutput mo)
This is the main entry point to generate the output of the cell.This method is the one used by the
Transformto delegate execution. It is responsible for generating the complete HTML output for the cell.Users interested in modifying a cell's HTML should consider extending
AbstractReportGridDisplayCell.generateOutput(com.microstrategy.web.beans.MarkupOutput).- Parameters:
 mo- the output object
 
- 
init
void init(TransformContext context)
Initializes the instance.- Parameters:
 context-TransformContextinstance that contains a reference to the transform being used to render the overall grid information- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canRemoveFromGrid
boolean canRemoveFromGrid()
Utility methood for determining if the cell object is enabled for displaying the user the option to remove it from the grid.- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canRemoveFromReport
boolean canRemoveFromReport()
Utility methood for determining if the cell object is enabled for displaying the user the option to remove it from the report- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canRename
boolean canRename()
Utility methood for determining if the cell object is enabled for displaying the user the option to rename it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canFilterOn
boolean canFilterOn()
Utility methood for determining if the cell object is enabled for displaying the user the option to filter on it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canFormat
boolean canFormat()
Utility methood for determining if the cell object is enabled for displaying the user the option to format it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canSort
boolean canSort()
Utility methood for determining if the cell object is enabled for displaying the user the option to sort it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canDrill
boolean canDrill()
Utility methood for determining if the cell object is enabled for displaying the user the option to drill on it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canDrillAdvanced
boolean canDrillAdvanced()
Utility methood for determining if the cell object is enabled for displaying the user the option for advanced drilling on it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canInsertShortcutMetric
boolean canInsertShortcutMetric()
Utility methood for determining if the cell object is enabled for displaying the user the option to insert shortcut metrics based on it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canEditControl
boolean canEditControl()
Utility methood for determining if the cell object is enabled for displaying the user the option to edit control- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.1.0
 
 
- 
isRW
boolean isRW()
Utility methood for determining whether it is a RW execution.- Returns:
 - boolean value indicating if it is a RW execution.
 - Since:
 - MicroStrategy Web 8.1.0
 
 
- 
canPivot
boolean canPivot()
Utility methood for determining if the cell object is enabled for displaying the user the option to pivot it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canPivot
boolean canPivot(int type)
Utility methood for determining if the cell object is enabled for displaying the user the option to pivot it according to the type specified- Parameters:
 type- value indicating which type of pivot manipulation is being tested. Values come from thePIVOT_INCREASE_POSITION,PIVOT_DECREASE_POSITION,PIVOT_SWITCH_AXIS,PIVOT_TO_PAGE_BYandPIVOT_REMOVEconstants.- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canModifyAttributeForm
boolean canModifyAttributeForm()
Utility methood for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.0.1
 
 
- 
canHyperLink
boolean canHyperLink()
Utility method for determining if the cell object is enabled for displaying the user the option to navigate to custom hyperlinks- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 8.1.2
 
 
- 
canMetricFilterOn
boolean canMetricFilterOn()
Utility method for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on it- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
canEditMetricFilter
boolean canEditMetricFilter()
Utility method for determining if the cell object is enabled editing a metric filter- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
canHaveDerivedElements
boolean canHaveDerivedElements()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
canQuickGroup
boolean canQuickGroup()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
canOpenAlerts
boolean canOpenAlerts()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
canAddThresholds
boolean canAddThresholds()
Utility method for determining if the cell object is enabled for displaying the user the option to add advanced thresholds- Returns:
 - boolean value indicating if the manipulation should be enabled
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getDrillPathWithHighImportance
WebDrillPath getDrillPathWithHighImportance()
Obtain the Drill path with high importance information for the current cell being analyzed. This drill-path will be the one used to generate the drilling link for the cell.- Returns:
 WebDrillPathinstance initialized, with the drill path with high importance information to use if available, otherwise returnsnull- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getDrillEvent
WebEvent getDrillEvent(WebDrillPath dp, java.lang.String elementKey, WebTitle title)
Returns the WebEvent to drill from the cell to the given drill path.- Parameters:
 dp- The drill path to use for drilling.elementKey- The key for the element to drill totitle- The WebTitle to drill from.- Since:
 - MicroStrategy Web 8.0.1
 
 
- 
getControlElementSelectorEvent
WebEvent getControlElementSelectorEvent(RWControl control, java.lang.String elementList)
- Since:
 - MicroStrategy Web 8.1.0
 
 
- 
getAccessibilityInfo
@Deprecated java.lang.String getAccessibilityInfo()
Deprecated.addExtraAttribute(java.lang.String, java.lang.String)is used instead for specifying the accessibility information, for example,addExtraAttribute("scope", "row");Returns any extra information to be appended as part of theTD's open tag only when the cell will be rendered in Accessibility Mode (508).- Returns:
 - The extra accessibility info for this cell
 
 
- 
setAccessibilityInfo
@Deprecated void setAccessibilityInfo(java.lang.String accessibilityInfo)
Deprecated.please useaddExtraAttribute(java.lang.String, java.lang.String)instead, for example,addExtraAttribute("scope", "row");Registers any extra information that should be appended as part of theTD's open tag only when the cell will be rendered in Accessibility Mode (508). This can be used, for example, to include extra attributes used by screen-reader browsers.- Parameters:
 accessibilityInfo- the text to be appended as part of the open tag.
 
- 
setContextMenu
@Deprecated void setContextMenu(java.lang.String contextMenu)
Deprecated.use the context menu infrastructure for defining this information, or theaddExtraAttribute(java.lang.String, java.lang.String)method for adding tag attributes.Registers the text used to enabled context menus for this cell. This text should be appended to theTD's open tag.- Parameters:
 contextMenu- The trigger for the context-menu of this cell
 
- 
setHTML
@Deprecated void setHTML(java.lang.String html)
Deprecated.The Transform doesn't call this method. Users who require to customize the HTML should overrideAbstractReportGridDisplayCell.generateOutput(com.microstrategy.web.beans.MarkupOutput)Registers the HTML for this cell. When a non-nullhtmlis registered, the whole output of the cell should be replaced with this text.- Parameters:
 html- The complete HTML string for this cell
 
- 
setInnerHTML
@Deprecated void setInnerHTML(java.lang.String innerHTML)
Deprecated.The Transform doesn't call this method. Users who require to customize the inner HTML should overrideAbstractReportGridDisplayCell.generateInnerHTML(com.microstrategy.web.beans.MarkupOutput)Registers the inner HTML for this cell. When a non-null
Notice that theinnerHTMLis registered, all the HTML within theTDtag should be replaced by this text.ReportGridDisplayCelldivides the innerHTML into three parts:- content: generates the main portion of the HTML, it shall include the cell's text and its corresponding HTML.
 - pre-content: generates the HTML that goes before the content. In the application this is used to generate the checkboxes for drilling.
 - post-content: generates the HTML that goes after the content. In the application this is used to generate sorting and pivoting buttons.
 
- Parameters:
 innerHTML- The inner HTML string to use for this cell.
 
- 
setContent
@Deprecated void setContent(java.lang.String content)
Deprecated.The Transform doesn't call this method. Users who require to customize the content should overrideAbstractReportGridDisplayCell.generateContent(com.microstrategy.web.beans.MarkupOutput)Registers the main content of the cell. When a non-nullcontentis registered, the content of the cell should be replaced by this text.- Parameters:
 content- content for this cell.- See Also:
 setInnerHTML(java.lang.String)
 
- 
setPreContent
@Deprecated void setPreContent(java.lang.String content)
Deprecated.The Transform doesn't call this method. Users who require to customize the pre-content should overrideAbstractReportGridDisplayCell.generatePreContent(com.microstrategy.web.beans.MarkupOutput)Registers the pre-content of the cell. When a non-nullcontentis registered, the pre-content of the cell should be replaced by this text.- Parameters:
 content- precontent for this cell- See Also:
 setInnerHTML(java.lang.String)
 
- 
setPostContent
@Deprecated void setPostContent(java.lang.String content)
Deprecated.The Transform doesn't call this method. Users who require to customize the post-content should overrideAbstractReportGridDisplayCell.generatePostContent(com.microstrategy.web.beans.MarkupOutput)Registers the post-content of the cell. When a non-nullcontentis registered, the post-content of the cell should be replaced by this text.- Parameters:
 content- post content for this cell- See Also:
 setInnerHTML(java.lang.String)
 
- 
getCellType
@Deprecated int getCellType()
Deprecated.The cell type is not significant anymore for the application.Returns the cell type, should be a value from theEnumReportGridDisplayCellTypesenumeration. 
- 
getHeaderContent
@Deprecated java.lang.String getHeaderContent(WebHeader header)
Deprecated.The Transform doesn't call this method. Users who require to customize the text-content of a header should overrideAbstractReportGridDisplayCell.getText()For those cells that uses aWebHeaderas their underlyingWebObject, this method should returns the cell's text content.- Parameters:
 header- the WebHeader object- Returns:
 - Header Content as a String
 - Since:
 - MicroStrategy Web 7.5.1
 
 
- 
init
@Deprecated void init(FormalParameters formalParas)
Deprecated.This method is not used by the Transform anymore. To initialize empty cells it now usesinit(TransformContext).Initializes anReportGridDisplayCell. This is used to initialize empty cells that have no underlyingWebObject.- Parameters:
 formalParas- all the formal parameters from the report transform. Used to control some output generation.- Since:
 - MicroStrategy Web 7.5.1
 
 
- 
init
@Deprecated void init(WebComponent wc, FormalParameters formalParas)
Deprecated.This method is not used by the Transform anymore. To initialize empty cells it now usesinit(TransformContext).Initializes anReportGridDisplayCell. This is used to initialize empty cells that have no underlyingWebObject.- Parameters:
 wc- associated web componentformalParas- all the formal parameters from the report transform. Used to control some output generation.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
init
@Deprecated void init(WebComponent wc, java.util.HashMap cachedObjects)
Deprecated.use the init interface that receives aReportGridTransformImpl.ContextobjectInitializes anReportGridDisplayCell. This is used to initialize empty cells that have no underlyingWebObject.- Parameters:
 wc- associated web component.cachedObjects- aHashMappopulated by the transform and used to store information shared across multiple cells.- Since:
 - MicroStrategy Web 7.5.2
 
 
- 
getFilterOnEvent
WebEvent getFilterOnEvent()
Get the event for filter on the cell header instance- Returns:
 WebEventinstance initialized for filtering on the information of this cell- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getOpenFormatEditorEvent
WebEvent getOpenFormatEditorEvent()
Get the event for opening the format editor- Returns:
 WebEventinstance initialized for opening the format editor- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getSetFormatEditorTargetEvent
WebEvent getSetFormatEditorTargetEvent()
Get the event for setting the current target of the format editor to be this cell instance- Returns:
 WebEventinstance initialized for setting the target of the format editor to be the current cell instance.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getRenameEvent
WebEvent getRenameEvent()
Get the event for renaming the current cell- Returns:
 WebEventinstance initialized with the information for renaming the current cell.- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getDerivedElementsEvent
WebEvent getDerivedElementsEvent()
- Since:
 - MicroStrategy Web 9.0.0
 
 
- 
getKey
int getKey()
- Returns:
 - int value with the key information about the cell being analyzed.
 - Since:
 - MicroStrategy Web 9.0.0
 
 
- 
canFilterOnSelection
boolean canFilterOnSelection()
- Since:
 - MicroStrategy Web 9.0.0
 
 
 - 
 
 -