Interface ReportGridCellRowHeader

    • Method Detail

      • init

        @Deprecated
        void init​(WebComponent wc,
                  WebTemplateUnit unit,
                  FormalParameters formalParas)
        Deprecated.
        Classes need not to support WebTemplateUnit as the underlying SDK object.
        This method is called to initialize the cell in design mode. It receives a WebTemplateUnit as the underlying SDK object.
        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 7.5.2
      • init

        @Deprecated
        void init​(WebComponent wc,
                  WebTemplateMetric metric,
                  FormalParameters formalParas)
        Deprecated.
        This method is not used by the Transform anymore. To initialize cells with a WebTemplateMetric, it now uses ReportGridCellHeader.init(WebComponent, WebTemplateMetric, HashMap).
        This method is called to initialize the cell in design mode. It receives a WebTemplateMetric as the underlying SDK object.
        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 7.5.2
      • setShowOutlinemodeImage

        void setShowOutlinemodeImage​(boolean value)
        Indicates the cell that this header can be expanded in outline mode and that an image to expand/collapse the header needs to be rendered.
        Parameters:
        value - If set to true, the cell needs to include the image to expand/collapse the cell
      • setOutlinemodeRowCount

        void setOutlinemodeRowCount​(int OutlinemodeRowCount)
        In outline mode, this is used to indicate the cell in which row it is being rendered. This information needs to be added to the cell's tag to enable expanding/collapsing of its child rows.
        Parameters:
        OutlinemodeRowCount - The row number this cell is being rendered in.
      • setOutlinemodeSubTotalName

        void setOutlinemodeSubTotalName​(java.lang.String OutlineodeSubtotalName)

        In outline mode, this is used to indicate the name of the subtotal whose values are being displayed in this row.

        In outline mode, the Transform automatically shows the values of the first subtotal for the current level. This enables users to analize the data even if the level is collapsed. The cell should display the name of this subtotal.

        Parameters:
        OutlineodeSubtotalName - String with the subtotal's name.
      • setOutlinemodeWrapHeaderText

        void setOutlinemodeWrapHeaderText​(boolean isWrap)
        Indicates the header text of the outline mode cell need to be wrap up with related html tags.

        Parameters:
        isWrap - If set to true, the header text need to do format converting.
        Since:
        MicroStrategy Web 9.2.1