public class

IPhoneReportGridTransformImpl

extends ReportGridTransformImpl
java.lang.Object
   ↳ com.microstrategy.web.transform.AbstractTransform
     ↳ com.microstrategy.web.transform.AbstractLayoutTransform
       ↳ com.microstrategy.web.app.transforms.AbstractAppTransform
         ↳ com.microstrategy.web.app.transforms.AbstractWebBeanTransform
           ↳ com.microstrategy.web.app.transforms.AbstractReportTransform
             ↳ com.microstrategy.web.app.transforms.AbstractReportDataTransform
               ↳ com.microstrategy.web.app.transforms.AbstractReportGridTransform
                 ↳ com.microstrategy.web.app.transforms.ReportGridTransformImpl
                   ↳ com.microstrategy.web.app.transforms.IPhoneReportGridTransformImpl

Summary

[Expand]
Inherited Constants
From class com.microstrategy.web.app.transforms.ReportGridTransformImpl
From class com.microstrategy.web.app.transforms.AbstractReportDataTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Fields
protected final String COL_HEADER_CLASS
protected final String IPHONE_METRIC_VALUE_CLASS
protected final String ROW_HEADER_CLASS
[Expand]
Inherited Fields
From class com.microstrategy.web.app.transforms.ReportGridTransformImpl
From class com.microstrategy.web.app.transforms.AbstractReportGridTransform
From class com.microstrategy.web.app.transforms.AbstractReportDataTransform
From class com.microstrategy.web.app.transforms.AbstractReportTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
Public Constructors
IPhoneReportGridTransformImpl()
Public Methods
WebEvent getOpenAccordionEvent()
Returns the event to open the accordion.
void renderGrid(MarkupOutput out)
Renders the grid.
Protected Methods
void initializeCellClasses()
Reads the configuration with the cell classes and caches its content, then it calls setGridCellClass for each different cell type.
void renderRegisterBone(MarkupOutput out)
If a scriptClass is specified, this method registers the corresponding javascript bone for this component.
[Expand]
Inherited Methods
From class com.microstrategy.web.app.transforms.ReportGridTransformImpl
From class com.microstrategy.web.app.transforms.AbstractReportGridTransform
From class com.microstrategy.web.app.transforms.AbstractReportDataTransform
From class com.microstrategy.web.app.transforms.AbstractReportTransform
From class com.microstrategy.web.app.transforms.AbstractWebBeanTransform
From class com.microstrategy.web.app.transforms.AbstractAppTransform
From class com.microstrategy.web.transform.AbstractLayoutTransform
From class com.microstrategy.web.transform.AbstractTransform
From class java.lang.Object
From interface com.microstrategy.web.app.transforms.AppTransform
From interface com.microstrategy.web.app.transforms.ReportDataTransform
From interface com.microstrategy.web.transform.LayoutTransform
From interface com.microstrategy.web.transform.Transform

Fields

protected final String COL_HEADER_CLASS

Constant Value: "com.microstrategy.web.app.transforms.IPhoneReportGridCellColHeaderImpl"

protected final String IPHONE_METRIC_VALUE_CLASS

Constant Value: "com.microstrategy.web.app.transforms.IPhoneReportGridCellMetricValueImpl"

protected final String ROW_HEADER_CLASS

Constant Value: "com.microstrategy.web.app.transforms.IPhoneReportGridCellRowHeaderImpl"

Public Constructors

public IPhoneReportGridTransformImpl ()

Public Methods

public WebEvent getOpenAccordionEvent ()

Returns the event to open the accordion. This is used in the case that the grid is empty so the users can open the browser and add objects.

Returns
  • WebEvent to open the obect browser in the report page.

public void renderGrid (MarkupOutput out)

Renders the grid.
It calls renderGridHeaders and renderGridData. It also calls renderLockHeadersInfo to generates divs necessary with this feature.
Sample source code for this method is provided below.

   Tag tableTag = generateGridTable();

   renderColTags(tableTag.getContent());
   renderGridHeaders(tableTag.getContent());
   renderGridData(tableTag.getContent());

  tableTag.render(out);

   renderLockHeadersInfo(out);
 

Parameters
out MarkupOutput to generate the HTML.

Protected Methods

protected void initializeCellClasses ()

Reads the configuration with the cell classes and caches its content, then it calls setGridCellClass for each different cell type.

protected void renderRegisterBone (MarkupOutput out)

If a scriptClass is specified, this method registers the corresponding javascript bone for this component.

Parameters
out MarkupOutput whether the output should be rendered.