3 * Copyright(c) 2006-2009 Ext JS, LLC
5 * http://www.extjs.com/license
8 * @class Ext.grid.AbstractSelectionModel
\r
9 * @extends Ext.util.Observable
\r
10 * Abstract base class for grid SelectionModels. It provides the interface that should be
\r
11 * implemented by descendant classes. This class should not be directly instantiated.
\r
14 Ext.grid.AbstractSelectionModel = function(){
\r
15 this.locked = false;
\r
16 Ext.grid.AbstractSelectionModel.superclass.constructor.call(this);
\r
19 Ext.extend(Ext.grid.AbstractSelectionModel, Ext.util.Observable, {
\r
21 * The GridPanel for which this SelectionModel is handling selection. Read-only.
\r
26 /** @ignore Called by the grid automatically. Do not call directly. */
\r
27 init : function(grid){
\r
33 * Locks the selections.
\r
40 * Unlocks the selections.
\r
42 unlock : function(){
\r
43 this.locked = false;
\r
47 * Returns true if the selections are locked.
\r
50 isLocked : function(){
\r
54 destroy: function(){
\r
55 this.purgeListeners();
\r