3 <title>The source code</title>
\r
4 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
5 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
7 <body onload="prettyPrint();">
\r
8 <pre class="prettyprint lang-js"><div id="cls-Ext.grid.AbstractSelectionModel"></div>/**
\r
9 * @class Ext.grid.AbstractSelectionModel
\r
10 * @extends Ext.util.Observable
\r
11 * Abstract base class for grid SelectionModels. It provides the interface that should be
\r
12 * implemented by descendant classes. This class should not be directly instantiated.
\r
15 Ext.grid.AbstractSelectionModel = function(){
\r
16 this.locked = false;
\r
17 Ext.grid.AbstractSelectionModel.superclass.constructor.call(this);
\r
20 Ext.extend(Ext.grid.AbstractSelectionModel, Ext.util.Observable, {
\r
21 <div id="prop-Ext.grid.AbstractSelectionModel-grid"></div>/**
\r
22 * The GridPanel for which this SelectionModel is handling selection. Read-only.
\r
27 /** @ignore Called by the grid automatically. Do not call directly. */
\r
28 init : function(grid){
\r
33 <div id="method-Ext.grid.AbstractSelectionModel-lock"></div>/**
\r
34 * Locks the selections.
\r
40 <div id="method-Ext.grid.AbstractSelectionModel-unlock"></div>/**
\r
41 * Unlocks the selections.
\r
43 unlock : function(){
\r
44 this.locked = false;
\r
47 <div id="method-Ext.grid.AbstractSelectionModel-isLocked"></div>/**
\r
48 * Returns true if the selections are locked.
\r
51 isLocked : function(){
\r
55 destroy: function(){
\r
56 this.purgeListeners();
\r