Class ReportGridExcelCellMetricValueImpl

    • Constructor Detail

      • ReportGridExcelCellMetricValueImpl

        public ReportGridExcelCellMetricValueImpl()
        Constructor used for creating a generic display cell.
    • Method Detail

      • reset

        public void reset()
        Description copied from interface: ReportGridDisplayCell
        Reset all of the instance variables. This method is very important when improve the memory performance: we create only one instance for a particular cell type and reuse it instead of creating a new instance for each concrete grid cell. Therefore, it saves a lot of memory. For implementation of this method, please follow the workflow of how all the instance variables are initialized in the class hierarchy when a new instance is created: superclass instance variables are initialized first, subclass instance variables are initialized second. Note: for the purpose of cell reuse.
        Specified by:
        reset in interface ReportGridDisplayCell
        Overrides:
        reset in class ReportGridCellMetricValueImpl
      • cellNeedsLink

        protected boolean cellNeedsLink()
        Description copied from class: AbstractReportGridDisplayCell
        Utility method for determining if the current cell being displayed needs to be a link or not, for example, in case of drilling available.
        Overrides:
        cellNeedsLink in class ReportGridCellMetricValueImpl
        Returns:
        boolean value indicating if the current cell should be displayed as a link.
      • canDrill

        public boolean canDrill()
        Utility methood for determining if the cell object is enabled for displaying the user the option to drill on it
        Specified by:
        canDrill in interface ReportGridDisplayCell
        Overrides:
        canDrill in class ReportGridCellMetricValueImpl
        Returns:
        boolean value indicating if the manipulation should be enabled