2 * Ext JS Library 2.2.1
\r
3 * Copyright(c) 2006-2009, Ext JS, LLC.
\r
4 * licensing@extjs.com
\r
6 * http://extjs.com/license
\r
10 * @class Ext.grid.AbstractSelectionModel
\r
11 * @extends Ext.util.Observable
\r
12 * Abstract base class for grid SelectionModels. It provides the interface that should be
\r
13 * implemented by descendant classes. This class should not be directly instantiated.
\r
16 Ext.grid.AbstractSelectionModel = function(){
\r
17 this.locked = false;
\r
18 Ext.grid.AbstractSelectionModel.superclass.constructor.call(this);
\r
21 Ext.extend(Ext.grid.AbstractSelectionModel, Ext.util.Observable, {
\r
22 /** @ignore Called by the grid automatically. Do not call directly. */
\r
23 init : function(grid){
\r
29 * Locks the selections.
\r
36 * Unlocks the selections.
\r
38 unlock : function(){
\r
39 this.locked = false;
\r
43 * Returns true if the selections are locked.
\r
46 isLocked : function(){
\r