Class ReportDisplayCellsFactory


  • public class ReportDisplayCellsFactory
    extends java.lang.Object

    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.
    Since:
    MicroStrategy Web 9.0.1
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      ReportGridDisplayCell getCell​(java.lang.String classID)
      Get the corresponding instance given the cell implementation class name.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ReportDisplayCellsFactory

        public ReportDisplayCellsFactory()
    • Method Detail

      • getCell

        public ReportGridDisplayCell getCell​(java.lang.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.