public class

ReportDisplayCellsFactory

extends Object
java.lang.Object
   ↳ com.microstrategy.web.app.transforms.ReportDisplayCellsFactory

Class Overview

The ReportDisplayCellsFactory is introduced to generate a new cell instance of particular type if such an instance doesn't exist in the factory. Otherwise return the existing instance directly. Such a factory object can reduce the number of cell instances to the necessary minimum therefore save a lot of memory. This class is for the purpose of cell reuse.

See its useage on AbstractReportGridTransform class.

Summary

Public Constructors
ReportDisplayCellsFactory()
Public Methods
ReportGridDisplayCell getCell(String classID)
Get the corresponding instance given the cell implementation class name.
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ReportDisplayCellsFactory ()

Public Methods

public ReportGridDisplayCell getCell (String classID)

Get the corresponding instance given the cell implementation class name. If the instance exists in the hash map, return it directly. Otherwise create a new instance and store it into the hash map and return it.

Parameters
classID String the cell implementation class name.