3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
\r
4 <title>The source code</title>
\r
5 <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
\r
6 <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
\r
8 <body onload="prettyPrint();">
\r
9 <pre class="prettyprint lang-js"><div id="cls-Ext.grid.AbstractSelectionModel"></div>/**
\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 = Ext.extend(Ext.util.Observable, {
\r
17 <div id="prop-Ext.grid.AbstractSelectionModel-grid"></div>/**
\r
18 * The GridPanel for which this SelectionModel is handling selection. Read-only.
\r
23 constructor : function(){
\r
24 this.locked = false;
\r
25 Ext.grid.AbstractSelectionModel.superclass.constructor.call(this);
\r
28 /** @ignore Called by the grid automatically. Do not call directly. */
\r
29 init : function(grid){
\r
34 <div id="method-Ext.grid.AbstractSelectionModel-lock"></div>/**
\r
35 * Locks the selections.
\r
41 <div id="method-Ext.grid.AbstractSelectionModel-unlock"></div>/**
\r
42 * Unlocks the selections.
\r
44 unlock : function(){
\r
45 this.locked = false;
\r
48 <div id="method-Ext.grid.AbstractSelectionModel-isLocked"></div>/**
\r
49 * Returns true if the selections are locked.
\r
52 isLocked : function(){
\r
56 destroy: function(){
\r
57 this.purgeListeners();
\r