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.Cloneable
This is the base interface of those used by the
ReportGridTransformImpl
to 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
init
method. - Call its
generateOutput
method.
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 interface
ReportGridDisplayCell.Context
ImplementsTransformContext
.
-
Field Summary
Fields Modifier and Type Field Description static 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 titlestatic 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 titlestatic int
PIVOT_REMOVE
Identifier for the pivot button that will remove the object from the templatestatic 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 titlestatic int
PIVOT_TO_PAGE_BY
Identifier 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 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 renderedboolean
canAddThresholds()
Utility method for determining if the cell object is enabled for displaying the user the option to add advanced thresholdsboolean
canDrill()
Utility methood for determining if the cell object is enabled for displaying the user the option to drill on itboolean
canDrillAdvanced()
Utility methood for determining if the cell object is enabled for displaying the user the option for advanced drilling on itboolean
canEditControl()
Utility methood for determining if the cell object is enabled for displaying the user the option to edit controlboolean
canEditMetricFilter()
Utility method for determining if the cell object is enabled editing a metric filterboolean
canFilterOn()
Utility methood for determining if the cell object is enabled for displaying the user the option to filter on itboolean
canFilterOnSelection()
boolean
canFormat()
Utility methood for determining if the cell object is enabled for displaying the user the option to format itboolean
canHaveDerivedElements()
boolean
canHyperLink()
Utility method for determining if the cell object is enabled for displaying the user the option to navigate to custom hyperlinksboolean
canInsertShortcutMetric()
Utility methood for determining if the cell object is enabled for displaying the user the option to insert shortcut metrics based on itboolean
canMetricFilterOn()
Utility method for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on itboolean
canModifyAttributeForm()
Utility methood for determining if the cell object is enabled for displaying the user the option to modify the attribute forms on itboolean
canOpenAlerts()
boolean
canPivot()
Utility methood for determining if the cell object is enabled for displaying the user the option to pivot itboolean
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 specifiedboolean
canQuickGroup()
boolean
canRemoveFromGrid()
Utility methood for determining if the cell object is enabled for displaying the user the option to remove it from the grid.boolean
canRemoveFromReport()
Utility methood for determining if the cell object is enabled for displaying the user the option to remove it from the reportboolean
canRename()
Utility methood for determining if the cell object is enabled for displaying the user the option to rename itboolean
canSort()
Utility methood for determining if the cell object is enabled for displaying the user the option to sort itvoid
generateOutput(MarkupOutput mo)
This is the main entry point to generate the output of the cell.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");
java.lang.String
getCellID()
Returns the id for this cell, this should be the one used as theID
attribute ofTD
tag.int
getCellType()
Deprecated.The cell type is not significant anymore for the application.int
getColSpan()
Returns the column span for this cell, this should be the one used as theCOLSPAN
attribute ofTD
tag.WebEvent
getControlElementSelectorEvent(RWControl control, java.lang.String elementList)
WebEvent
getDerivedElementsEvent()
WebEvent
getDrillEvent(WebDrillPath dp, java.lang.String elementKey, WebTitle title)
Returns the WebEvent to drill from the cell to the given drill path.WebDrillPath
getDrillPathWithHighImportance()
Obtain the Drill path with high importance information for the current cell being analyzed.java.lang.String
getExtraInfo()
Returns the text assigned as extra information of the cell.java.lang.String
getExtraStyle()
Returns the extra style information required for the formatting of the cell.WebEvent
getFilterOnEvent()
Get the event for filter on the cell header instancejava.lang.String
getHeaderContent(WebHeader header)
Deprecated.The Transform doesn't call this method.int
getKey()
WebEvent
getOpenFormatEditorEvent()
Get the event for opening the format editorWebEvent
getRenameEvent()
Get the event for renaming the current cellint
getRowSpan()
Returns the row span for this cell, this should be the one used as theROWSPAN
attribute ofTD
tag.WebEvent
getSetFormatEditorTargetEvent()
Get the event for setting the current target of the format editor to be this cell instancejava.lang.String
getStyle()
Returns the css class name associated with the cell.java.lang.String
getText()
Returns the text content of this cell.java.lang.String
getTooltip()
Returns the tooltip text for this cell.java.lang.String
getWidth()
Returns the width for this cell, this should be the one used as theWIDTH
attribute ofTD
tag.void
init(TransformContext context)
Initializes the instance.void
init(WebComponent wc, FormalParameters formalParas)
Deprecated.This method is not used by the Transform anymore.void
init(WebComponent wc, java.util.HashMap cachedObjects)
Deprecated.use the init interface that receives aReportGridTransformImpl.Context
objectvoid
init(FormalParameters formalParas)
Deprecated.This method is not used by the Transform anymore.boolean
isRW()
Utility methood for determining whether it is a RW execution.void
reset()
Reset all of the instance variables.void
setAccessibilityInfo(java.lang.String accessibilityInfo)
Deprecated.please useaddExtraAttribute(java.lang.String, java.lang.String)
instead, for example,addExtraAttribute("scope", "row");
void
setCellID(java.lang.String cellID)
Registers the id for this cell, this should be used as theID
attribute ofTD
tag.void
setColSpan(int colSpan)
Registers the column span for this cell, this should be used as theCOLSPAN
attribute ofTD
tag.void
setContent(java.lang.String content)
Deprecated.The Transform doesn't call this method.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.void
setExtraInfo(java.lang.String extraInfo)
Registers any extra information that should be appended as part of theTD
's open tag.void
setExtraStyle(java.lang.String extraStyle)
Deprecated.useinstead
void
setExtraStyle(java.lang.String value, boolean append)
Updates values to theSTYLE
attribute of theTD
tag.void
setHTML(java.lang.String html)
Deprecated.The Transform doesn't call this method.void
setInnerHTML(java.lang.String innerHTML)
Deprecated.The Transform doesn't call this method.void
setPostContent(java.lang.String content)
Deprecated.The Transform doesn't call this method.void
setPreContent(java.lang.String content)
Deprecated.The Transform doesn't call this method.void
setRowSpan(int rowSpan)
Registers the row span for this cell, this should be used as theROWSPAN
attribute ofTD
tag.void
setStyle(java.lang.String style)
Registers the css style name associated with the cell.void
setText(java.lang.String text)
Registers the text content of this cell.void
setTooltip(java.lang.String tooltip)
Registers the text for the tooltop of this cell.void
setWidth(java.lang.String width)
Registers the width for this cell, this should be used asWIDTH
attribute ofTD
tag.
-
-
-
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
WebObject
should 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 theCLASS
attribute of theTD
tag 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 theCLASS
attribute of theTD
tag 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 theSTYLE
attribute of theTD
tag.- Returns:
- The extra style info for this cell
-
setExtraStyle
@Deprecated void setExtraStyle(java.lang.String extraStyle)
Deprecated.useinstead
Registers any extra information required for the formatting of the cell.
This text should be assigned to theSTYLE
attribute of theTD
tag. 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 theSTYLE
attribute of theTD
tag. 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 theID
attribute ofTD
tag.- Returns:
- the id for this cell
-
setCellID
void setCellID(java.lang.String cellID)
Registers the id for this cell, this should be used as theID
attribute ofTD
tag.- 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 theTITLE
attribute ofTD
tag.- 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 theROWSPAN
attribute ofTD
tag.- Returns:
- The cell's row span
-
setRowSpan
void setRowSpan(int rowSpan)
Registers the row span for this cell, this should be used as theROWSPAN
attribute ofTD
tag.- Parameters:
rowSpan
- row span
-
getColSpan
int getColSpan()
Returns the column span for this cell, this should be the one used as theCOLSPAN
attribute ofTD
tag.- Returns:
- The cell's col span
-
setColSpan
void setColSpan(int colSpan)
Registers the column span for this cell, this should be used as theCOLSPAN
attribute ofTD
tag.- Parameters:
colSpan
- col span
-
getWidth
java.lang.String getWidth()
Returns the width for this cell, this should be the one used as theWIDTH
attribute ofTD
tag.- Returns:
- The cell's width
-
setWidth
void setWidth(java.lang.String width)
Registers the width for this cell, this should be used asWIDTH
attribute ofTD
tag.- 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
Transform
to 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
-TransformContext
instance 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_BY
andPIVOT_REMOVE
constants.- 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:
WebDrillPath
instance 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-nullhtml
is 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 theinnerHTML
is registered, all the HTML within theTD
tag should be replaced by this text.ReportGridDisplayCell
divides 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-nullcontent
is 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-nullcontent
is 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-nullcontent
is 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 theEnumReportGridDisplayCellTypes
enumeration.
-
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 aWebHeader
as 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.Context
objectInitializes anReportGridDisplayCell
. This is used to initialize empty cells that have no underlyingWebObject
.- Parameters:
wc
- associated web component.cachedObjects
- aHashMap
populated 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:
WebEvent
instance 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:
WebEvent
instance 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:
WebEvent
instance 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:
WebEvent
instance 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
-
-