/** * @class Ext.grid.selection.Cells * @extend Ext.dataview.selection.Selection * @alias selection.cells * A class which encapsulates a range of cells defining a selection in a grid. * * Note that when range start and end points are represented by an array, the * order is traditional `x, y` order, that is column index followed by row index. */ /** * @method isSelected * Returns `true` if the passed {@link Ext.grid.Location cell context} is selected. * @param {Ext.grid.Location} cellLocation The cell location to test. * @return {Boolean} `true` if the passed {@link Ext.grid.Location cell context} is selected. */ /** * @method getFirstRowIndex * @return {Number} The row index of the first row in the range or zero if no range. */ /** * @method getLastRowIndex * @return {Number} The row index of the last row in the range or -1 if no range. */ /** * @method getFirstColumnIndex * @return {Number} The column index of the first column in the range or zero if no range. */ /** * @method getLastColumnIndex * @return {Number} The column index of the last column in the range or -1 if no range. */