Class ReportGridDisplayCellMetricValue

  • All Implemented Interfaces:
    ReportGridCell, ReportGridCellMetricValue, ReportGridDisplayCell, java.lang.Cloneable

    @Deprecated
    public class ReportGridDisplayCellMetricValue
    extends ReportGridDisplayCellImpl
    implements ReportGridCellMetricValue
    Deprecated.
    Please use the ReportGridCellMetricValue interface or extend the ReportGridCellMetricValueImpl class.
    This class represents a metric value cell of the report grid.
    This class has been deprecated along with the all the ReportGridDisplayCell classes.
    In its place, the Transform manipulates the cells through the ReportGridCell interface.
    Since:
    MicroStrategy Web 7.3.1 or earlier
    • Constructor Detail

      • ReportGridDisplayCellMetricValue

        public ReportGridDisplayCellMetricValue()
        Deprecated.
        Constructor used for creating a generic display cell.
        Since:
        MicroStrategy Web 8.0.0
      • ReportGridDisplayCellMetricValue

        public ReportGridDisplayCellMetricValue​(FormalParameters formalParas)
        Deprecated.
        Constructor used for creating a generic display cell.
        Parameters:
        formalParas - all the formal parameters from the report transform. Used to control some output generation. For example, the cssPrefix is needed for the empty cells in design mode.
      • ReportGridDisplayCellMetricValue

        public ReportGridDisplayCellMetricValue​(ReportBean rb,
                                                WebTemplateMetric metric,
                                                FormalParameters formalParas)
        Deprecated.
        Constructor used for creating a dummy display cell for metric value in design mode. the metric is the corresponding WebTemplateMetric info.
        Parameters:
        rb - the associated report bean
        metric - the associated metric on template
        formalParas - all the formal parameters from the report transform. Used to control some output generation. For example, the cssPrefix is needed for the empty cells in design mode.
      • ReportGridDisplayCellMetricValue

        public ReportGridDisplayCellMetricValue​(ReportBean rb,
                                                WebRowValue rowValue,
                                                java.util.HashMap cachedObjects)
        Deprecated.
        Constructor for displaying metric values in report grid in execute mode.
        Parameters:
        rb - the associated report bean
        rowValue - the associated WebRowValue object
        cachedObjects - cached object, used to store some information shared across multiple cells
    • Method Detail

      • reset

        public void reset()
        Deprecated.
        Description copied from interface: ReportGridDisplayCell
        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.
        Specified by:
        reset in interface ReportGridDisplayCell
        Overrides:
        reset in class ReportGridDisplayCellImpl
      • getWebRowValue

        public WebRowValue getWebRowValue()
        Deprecated.
        return the WebRowValue object associated with this cell
        Specified by:
        getWebRowValue in interface ReportGridCellMetricValue
        Returns:
        the WebRowValue object
        Since:
        MicroStrategy Web 8.0.0
      • init

        public void init​(WebComponent wc,
                         WebRowValue rowValue,
                         java.util.HashMap cachedObjects)
        Deprecated.
        Description copied from interface: ReportGridCellMetricValue
        This method is called to initialize the cell with the corresponding WebRowValue as the underlying SDK object.
        Specified by:
        init in interface ReportGridCellMetricValue
        Parameters:
        wc - The bean being transformed.
        rowValue - The WebRowValue corresponding to this cell.
        cachedObjects - A HashMap populated by the transform and used to store information shared across multiple cells.
        Since:
        MicroStrategy Web 8.0.0
      • generateMetricValueContent

        public void generateMetricValueContent​(MarkupOutput mo,
                                               WebRowValue rowValue)
        Deprecated.
      • generateContent

        protected void generateContent​(MarkupOutput mo)
        Deprecated.
        override the protected method in ReportDisplayCellImpl.
        Overrides:
        generateContent in class ReportGridDisplayCellImpl
        Parameters:
        mo - the output object
        Since:
        MicroStrategy Web 7.5.1
      • generateContextMenu

        protected void generateContextMenu​(MarkupOutput mo)
        Deprecated.
        Override the protected method of ReportDisplayCellImpl.
        Overrides:
        generateContextMenu in class ReportGridDisplayCellImpl
        Parameters:
        mo - the output object
        Since:
        MicroStrategy Web 7.5.0