/**
 * @typedef {object} RenderedAllRowsCalculatorOptions
 * @property {number} totalRows Total number of rows.
 */ /**
 * Holds all calculations needed to perform the rendering of all rows.
 *
 * @class RenderedAllRowsCalculationType
 */ "use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "RenderedAllRowsCalculationType", {
    enumerable: true,
    get: function() {
        return RenderedAllRowsCalculationType;
    }
});
class RenderedAllRowsCalculationType {
    /**
   * Initializes the calculation.
   *
   * @param {ViewportRowsCalculator} viewportCalculator The viewport calculator object.
   */ initialize({ totalRows }) {
        this.count = totalRows;
        this.endRow = this.count - 1;
    }
    /**
   * Processes the row.
   */ process() {}
    /**
   * Finalizes the calculation.
   */ finalize() {}
    constructor(){
        /**
   * Number of rendered/visible rows.
   *
   * @type {number}
   */ this.count = 0;
        /**
   * Index of the first rendered/visible row.
   *
   * @type {number}
   */ this.startRow = 0;
        /**
   * Index of the last rendered/visible row.
   *
   * @type {number}
   */ this.endRow = 0;
        /**
   * Position of the first rendered/visible row (in px).
   *
   * @type {number}
   */ this.startPosition = 0;
        /**
   * Determines if the viewport is visible in the trimming container.
   *
   * @type {boolean}
   */ this.isVisibleInTrimmingContainer = true;
    }
}
