public class

ReportGridExcelCellMetricValueImpl

extends ReportGridCellMetricValueImpl
java.lang.Object
   ↳ com.microstrategy.web.app.transforms.AbstractReportGridDisplayCell
     ↳ com.microstrategy.web.app.transforms.ReportGridCellMetricValueImpl
       ↳ com.microstrategy.web.app.transforms.ReportGridExcelCellMetricValueImpl

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.AbstractReportGridDisplayCell
From interface com.microstrategy.web.app.transforms.ReportGridDisplayCell
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.AbstractReportGridDisplayCell
Public Constructors
ReportGridExcelCellMetricValueImpl()
Constructor used for creating a generic display cell.
Public Methods
boolean canDrill()
Utility methood for determining if the cell object is enabled for displaying the user the option to drill on it
void reset()
Reset all of the instance variables.
Protected Methods
boolean cellNeedsLink()
Utility method for determining if the current cell being displayed needs to be a link or not, for example, in case of drilling available.
boolean encodeMetricValue()
Whether to HTML-encode metric values (based on the preference value)
void initRowValueInformation(WebRowValue rowValue)
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.ReportGridCellMetricValueImpl
From class com.microstrategy.web.app.transforms.AbstractReportGridDisplayCell
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.ReportGridCellMetricValue
From interface com.microstrategy.web.app.transforms.ReportGridDisplayCell

Public Constructors

public ReportGridExcelCellMetricValueImpl ()

Constructor used for creating a generic display cell.

Public Methods

public 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

public 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.

Protected Methods

protected boolean cellNeedsLink ()

Utility method for determining if the current cell being displayed needs to be a link or not, for example, in case of drilling available.

Returns
  • boolean value indicating if the current cell should be displayed as a link.

protected boolean encodeMetricValue ()

Whether to HTML-encode metric values (based on the preference value)

Returns
  • boolean false value since for Export to Excel we should not encode the value of the metrics

protected void initRowValueInformation (WebRowValue rowValue)