Class MojoTemplateTransformImpl

    • Constructor Detail

      • MojoTemplateTransformImpl

        public MojoTemplateTransformImpl()
    • Method Detail

      • prepareToTransform

        protected void prepareToTransform​(MarkupOutput out)
      • createGridModelBlock

        protected Block createGridModelBlock()
                                      throws java.lang.Exception
        Throws:
        java.lang.Exception
      • addGridStructureBlock

        protected void addGridStructureBlock​(Block bRWTemplate,
                                             ViewBean vb)
        Adds the grid structure block to the template definition block.
        Parameters:
        bRWTemplate - The template data block.
        vb - The view bean.
        Throws:
        java.lang.Exception
        WebObjectsException
        WebBeanException
      • getDescription

        public java.lang.String getDescription()
        Description copied from interface: Transform
        Returns a textual description of the transform.
        Returns:
        The textual description of the transform.
      • renderCenter

        public void renderCenter​(MarkupOutput out,
                                 ReportBean rb)
        Description copied from interface: ReportDataTransform
        Render center area of the transform.
        Parameters:
        out - output by this transform
        rb - this report bean
      • renderData

        public void renderData​(MarkupOutput out,
                               ReportBean rb)
        Description copied from interface: ReportDataTransform
        Render the report data area.
        The CENTER area of the transform has layout on top and data on bottom.
        Parameters:
        out - output by this transform
        rb - this report bean
      • renderEmptyCase

        public void renderEmptyCase​(MarkupOutput out,
                                    ReportBean rb)
        Description copied from interface: ReportDataTransform
        Render when the report grid/graph is empty.
        Usually some information message is displayed.
        Parameters:
        out - output by this transform
        rb - this report bean
      • renderLayout

        public void renderLayout​(MarkupOutput out,
                                 ReportBean rb)
        Description copied from interface: ReportDataTransform
        Render the layout for the report grid.
        The CENTER area of the transform has layout on top and data on bottom.
        Parameters:
        out - output by this transform
        rb - this report bean