Class ReportGridDisplayCellRowHeader

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

    @Deprecated
    public class ReportGridDisplayCellRowHeader
    extends ReportGridDisplayCellImpl
    implements ReportGridCellRowHeader
    Deprecated.
    Please use the ReportGridCellRowHeader interface or extend the ReportGridCellRowHeaderImpl class.
    This class represents a Row Header cell cell of the report grid.
    This class has been deprecated along with 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

      • ReportGridDisplayCellRowHeader

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

        public ReportGridDisplayCellRowHeader​(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.
      • ReportGridDisplayCellRowHeader

        public ReportGridDisplayCellRowHeader​(ReportBean rb,
                                              WebTemplateMetric metric,
                                              FormalParameters formalParas)
        Deprecated.
        Constructor used for creating a dummy display cell of row header in design mode when it's corresponding to a metric. When the metrics are on row axis, the row header will display the corresponding metric name.
        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.
      • ReportGridDisplayCellRowHeader

        public ReportGridDisplayCellRowHeader​(ReportBean rb,
                                              WebTemplateUnit unit,
                                              FormalParameters formalParas)
        Deprecated.
        Constructor used for creating a dummy display cell of row header in design mode when it's not corresponding to a metric. Basically the row header will contain the information to the corresponding Template unit.
        Parameters:
        rb - the associated report bean
        unit - the associated template unit
        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.
      • ReportGridDisplayCellRowHeader

        public ReportGridDisplayCellRowHeader​(ReportBean rb,
                                              WebHeader header,
                                              java.util.HashMap cachedObjects)
        Deprecated.
        Constructor used to display row header in report grid in execute mode.
        Parameters:
        rb - the associated report bean
        header - the associated row header 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
      • init

        public void init​(TransformContext context,
                         WebHeader header)
        Deprecated.
        Description copied from interface: ReportGridCellHeader
        This method is called to initialize the cell in view mode. It receives a WebHeader instance as the underlying SDK object
        Specified by:
        init in interface ReportGridCellHeader
        Parameters:
        context - TransformContext instance initialized with the grid's transform information.
        header - WebHeader instance coresponding to the cell to be displayed.
        Since:
        MicroStrategy Web 8.0.1
      • getWebHeader

        public WebHeader getWebHeader()
        Deprecated.
        return the WebHeader object associated with this cell
        Specified by:
        getWebHeader in interface ReportGridCellHeader
        Returns:
        the WebHeader object
      • init

        public void init​(WebComponent wc,
                         WebHeader header,
                         java.util.HashMap cachedObjects)
        Deprecated.
        Description copied from interface: ReportGridCellHeader
        This method is called to initialize the cell in view mode. It receives a WebHeader as the underlying SDK object.
        Specified by:
        init in interface ReportGridCellHeader
        Parameters:
        wc - The bean being transformed.
        header - The WebHeader 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
      • init

        public void init​(WebComponent wc,
                         WebTemplateUnit unit,
                         FormalParameters formalParas)
        Deprecated.
        Description copied from interface: ReportGridCellRowHeader
        This method is called to initialize the cell in design mode. It receives a WebTemplateUnit as the underlying SDK object.
        Specified by:
        init in interface ReportGridCellRowHeader
        Parameters:
        wc - The bean being transformed.
        unit - The WebTemplateUnit corresponding to this cell.
        formalParas - all the formal parameters from the report transform. Used to control some output generation.
        Since:
        MicroStrategy Web 8.0.0
      • init

        public void init​(WebComponent wc,
                         WebTemplateMetric metric,
                         FormalParameters formalParas)
        Deprecated.
        Description copied from interface: ReportGridCellRowHeader
        This method is called to initialize the cell in design mode. It receives a WebTemplateMetric as the underlying SDK object.
        Specified by:
        init in interface ReportGridCellRowHeader
        Parameters:
        wc - The bean being transformed.
        metric - The WebTemplateMetric corresponding to this cell.
        formalParas - all the formal parameters from the report transform. Used to control some output generation.
        Since:
        MicroStrategy Web 8.0.0
      • init

        public void init​(WebComponent wc,
                         WebTemplateMetric metric,
                         java.util.HashMap cachedObjects)
        Deprecated.
        Description copied from interface: ReportGridCellHeader
        This method is called to initialize the cell in design mode. It receives a WebTemplateMetric as the underlying SDK object.
        Specified by:
        init in interface ReportGridCellHeader
        Parameters:
        wc - The bean being transformed.
        metric - The WebTemplateMetric 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
      • generateRowHeaderContent

        public void generateRowHeaderContent​(MarkupOutput out)
        Deprecated.
        Since:
        MicroStrategy Web 8.0.0
      • generateContent

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

        protected int getOutlinemodeRowCount()
        Deprecated.
        get row count for outline mode
        Returns:
        row count for outline mode
      • setOutlinemodeRowCount

        public void setOutlinemodeRowCount​(int value)
        Deprecated.
        set row count for outline mode
        Specified by:
        setOutlinemodeRowCount in interface ReportGridCellRowHeader
        Parameters:
        value - row count
      • getOutlinemodeSubTotalName

        protected java.lang.String getOutlinemodeSubTotalName()
        Deprecated.
        get subtotal name for outline mode
        Returns:
        subtotal name for outline mode
      • setOutlinemodeSubTotalName

        public void setOutlinemodeSubTotalName​(java.lang.String value)
        Deprecated.
        get subtotal name for outline mode
        Specified by:
        setOutlinemodeSubTotalName in interface ReportGridCellRowHeader
        Parameters:
        value - subtotal name for outline mode
      • getShowOutlinemodeImage

        protected boolean getShowOutlinemodeImage()
        Deprecated.
        get whether display outline mode image
        Returns:
        whether display outline mode image
      • setShowOutlinemodeImage

        public void setShowOutlinemodeImage​(boolean value)
        Deprecated.
        set whether display outline mode image
        Specified by:
        setShowOutlinemodeImage in interface ReportGridCellRowHeader
        Parameters:
        value - whether display outline mode image
      • setOutlinemodeWrapHeaderText

        public void setOutlinemodeWrapHeaderText​(boolean isWrap)
        Deprecated.
        Description copied from interface: ReportGridCellRowHeader
        Indicates the header text of the outline mode cell need to be wrap up with related html tags.

        Specified by:
        setOutlinemodeWrapHeaderText in interface ReportGridCellRowHeader
        Parameters:
        isWrap - If set to true, the header text need to do format converting.
      • isTotal

        protected boolean isTotal()
        Deprecated.
      • getInsertMetricPercentToTotalEvent

        public WebEvent getInsertMetricPercentToTotalEvent​(int axisBitMap)
        Deprecated.
        Description copied from interface: ReportGridCellHeader
        Get the event for inserting a new metric based on Percent to Total
        Specified by:
        getInsertMetricPercentToTotalEvent in interface ReportGridCellHeader
        Parameters:
        axisBitMap - identifier of the axis to be used for calculating the metric information. Values expected come from the EnumDSSXMLAxesBitMap enumeration.
        Returns:
        WebEvent initialized with the event information for inserting a new metric.
        Since:
        MicroStrategy Web 8.0.1
      • getInsertMetricPercentToTotalEvent

        public WebEvent getInsertMetricPercentToTotalEvent​(int axisBitMap,
                                                           java.lang.String attributeID)
        Deprecated.
        Description copied from interface: ReportGridCellHeader
        Get the event for inserting a new metric based on Percent to Total
        Specified by:
        getInsertMetricPercentToTotalEvent in interface ReportGridCellHeader
        Parameters:
        axisBitMap - identifier of the axis to be used for calculating the metric information. Values expected come from the EnumDSSXMLAxesBitMap 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.
        Since:
        MicroStrategy Web 8.0.1
      • getInsertMetricTransformationEvent

        public WebEvent getInsertMetricTransformationEvent​(java.lang.String transformationID,
                                                           int formulaType)
        Deprecated.
        Description copied from interface: ReportGridCellHeader
        Get the event for inserting a new metric based on a transformation
        Specified by:
        getInsertMetricTransformationEvent in interface ReportGridCellHeader
        Parameters:
        transformationID - identifier of the role of the transformation to be used
        formulaType - identifier of the type of formula to be used. Values expected come from the EnumDSSXMLMetricFormulaType enumeration
        Returns:
        WebEvent initialized with the event information for inserting a new metric.
        Since:
        MicroStrategy Web 8.0.1
      • getWebTemplateMetric

        public WebTemplateMetric getWebTemplateMetric​(boolean retrieve)
        Deprecated.
        Description copied from interface: ReportGridCellHeader
        Obtain the WebTemplateMetric instance associated with this class
        Specified by:
        getWebTemplateMetric in interface ReportGridCellHeader
        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