Upgrade to ExtJS 3.0.0 - Released 07/06/2009
[extjs.git] / docs / source / AbstractSelectionModel.html
diff --git a/docs/source/AbstractSelectionModel.html b/docs/source/AbstractSelectionModel.html
new file mode 100644 (file)
index 0000000..3c40025
--- /dev/null
@@ -0,0 +1,60 @@
+<html>\r
+<head>\r
+  <title>The source code</title>\r
+    <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />\r
+    <script type="text/javascript" src="../resources/prettify/prettify.js"></script>\r
+</head>\r
+<body  onload="prettyPrint();">\r
+    <pre class="prettyprint lang-js"><div id="cls-Ext.grid.AbstractSelectionModel"></div>/**\r
+ * @class Ext.grid.AbstractSelectionModel\r
+ * @extends Ext.util.Observable\r
+ * Abstract base class for grid SelectionModels.  It provides the interface that should be\r
+ * implemented by descendant classes.  This class should not be directly instantiated.\r
+ * @constructor\r
+ */\r
+Ext.grid.AbstractSelectionModel = function(){\r
+    this.locked = false;\r
+    Ext.grid.AbstractSelectionModel.superclass.constructor.call(this);\r
+};\r
+\r
+Ext.extend(Ext.grid.AbstractSelectionModel, Ext.util.Observable,  {\r
+    <div id="prop-Ext.grid.AbstractSelectionModel-grid"></div>/**\r
+     * The GridPanel for which this SelectionModel is handling selection. Read-only.\r
+     * @type Object\r
+     * @property grid\r
+     */\r
+\r
+    /** @ignore Called by the grid automatically. Do not call directly. */\r
+    init : function(grid){\r
+        this.grid = grid;\r
+        this.initEvents();\r
+    },\r
+\r
+    <div id="method-Ext.grid.AbstractSelectionModel-lock"></div>/**\r
+     * Locks the selections.\r
+     */\r
+    lock : function(){\r
+        this.locked = true;\r
+    },\r
+\r
+    <div id="method-Ext.grid.AbstractSelectionModel-unlock"></div>/**\r
+     * Unlocks the selections.\r
+     */\r
+    unlock : function(){\r
+        this.locked = false;\r
+    },\r
+\r
+    <div id="method-Ext.grid.AbstractSelectionModel-isLocked"></div>/**\r
+     * Returns true if the selections are locked.\r
+     * @return {Boolean}\r
+     */\r
+    isLocked : function(){\r
+        return this.locked;\r
+    },\r
+    \r
+    destroy: function(){\r
+        this.purgeListeners();\r
+    }\r
+});</pre>    \r
+</body>\r
+</html>
\ No newline at end of file