Upgrade to ExtJS 4.0.1 - Released 05/18/2011
[extjs.git] / docs / source / CheckboxModel.html
index 313eee3..158dfba 100644 (file)
@@ -1,4 +1,21 @@
-<!DOCTYPE html><html><head><title>Sencha Documentation Project</title><link rel="stylesheet" href="../reset.css" type="text/css"><link rel="stylesheet" href="../prettify.css" type="text/css"><link rel="stylesheet" href="../prettify_sa.css" type="text/css"><script type="text/javascript" src="../prettify.js"></script></head><body onload="prettyPrint()"><pre class="prettyprint"><pre><span id='Ext-selection.CheckboxModel'>/**
+<!DOCTYPE html>
+<html>
+<head>
+  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+  <title>The source code</title>
+  <link href="../prettify/prettify.css" type="text/css" rel="stylesheet" />
+  <script type="text/javascript" src="../prettify/prettify.js"></script>
+  <style type="text/css">
+    .highlight { display: block; background-color: #ddd; }
+  </style>
+  <script type="text/javascript">
+    function highlight() {
+      document.getElementById(location.hash.replace(/#/, "")).className = "highlight";
+    }
+  </script>
+</head>
+<body onload="prettyPrint(); highlight();">
+  <pre class="prettyprint lang-js"><span id='Ext-selection-CheckboxModel'>/**
 </span> * @class Ext.selection.CheckboxModel
  * @extends Ext.selection.RowModel
  *
  * and according to the 'injectCheckbox' configuration.
  */
 Ext.define('Ext.selection.CheckboxModel', {
+    alias: 'selection.checkboxmodel',
     extend: 'Ext.selection.RowModel',
 
-<span id='Ext-selection.CheckboxModel-cfg-mode'>    /**
+<span id='Ext-selection-CheckboxModel-cfg-mode'>    /**
 </span>     * @cfg {String} mode
      * Modes of selection.
      * Valid values are SINGLE, SIMPLE, and MULTI. Defaults to 'MULTI'
      */
     mode: 'MULTI',
 
-<span id='Ext-selection.CheckboxModel-cfg-injectCheckbox'>    /**
+<span id='Ext-selection-CheckboxModel-cfg-injectCheckbox'>    /**
 </span>     * @cfg {Mixed} injectCheckbox
      * Instructs the SelectionModel whether or not to inject the checkbox header
      * automatically or not. (Note: By not placing the checkbox in manually, the
@@ -28,7 +46,7 @@ Ext.define('Ext.selection.CheckboxModel', {
      */
     injectCheckbox: 0,
 
-<span id='Ext-selection.CheckboxModel-cfg-checkOnly'>    /**
+<span id='Ext-selection-CheckboxModel-cfg-checkOnly'>    /**
 </span>     * @cfg {Boolean} checkOnly &lt;tt&gt;true&lt;/tt&gt; if rows can only be selected by clicking on the
      * checkbox column (defaults to &lt;tt&gt;false&lt;/tt&gt;).
      */
@@ -55,7 +73,7 @@ Ext.define('Ext.selection.CheckboxModel', {
         headerCt.on('headerclick', this.onHeaderClick, this);
     },
 
-<span id='Ext-selection.CheckboxModel-method-toggleUiHeader'>    /**
+<span id='Ext-selection-CheckboxModel-method-toggleUiHeader'>    /**
 </span>     * Toggle the ui header between checked and unchecked state.
      * @param {Boolean} isChecked
      * @private
@@ -74,7 +92,7 @@ Ext.define('Ext.selection.CheckboxModel', {
         }
     },
 
-<span id='Ext-selection.CheckboxModel-method-onHeaderClick'>    /**
+<span id='Ext-selection-CheckboxModel-method-onHeaderClick'>    /**
 </span>     * Toggle between selecting all and deselecting all when clicking on
      * a checkbox header.
      */
@@ -92,7 +110,7 @@ Ext.define('Ext.selection.CheckboxModel', {
         }
     },
 
-<span id='Ext-selection.CheckboxModel-method-getHeaderConfig'>    /**
+<span id='Ext-selection-CheckboxModel-method-getHeaderConfig'>    /**
 </span>     * Retrieve a configuration to be used in a HeaderContainer.
      * This should be used when injectCheckbox is set to false.
      */
@@ -111,7 +129,7 @@ Ext.define('Ext.selection.CheckboxModel', {
         };
     },
 
-<span id='Ext-selection.CheckboxModel-method-renderer'>    /**
+<span id='Ext-selection-CheckboxModel-method-renderer'>    /**
 </span>     * Generates the HTML to be rendered in the injected checkbox column for each row.
      * Creates the standard checkbox markup by default; can be overridden to provide custom rendering.
      * See {@link Ext.grid.column.Column#renderer} for description of allowed parameters.
@@ -146,7 +164,7 @@ Ext.define('Ext.selection.CheckboxModel', {
         }
     },
 
-<span id='Ext-selection.CheckboxModel-method-onSelectChange'>    /**
+<span id='Ext-selection-CheckboxModel-method-onSelectChange'>    /**
 </span>     * Synchronize header checker value as selection changes.
      * @private
      */
@@ -157,4 +175,6 @@ Ext.define('Ext.selection.CheckboxModel', {
         this.toggleUiHeader(hdSelectStatus);
     }
 });
-</pre></pre></body></html>
\ No newline at end of file
+</pre>
+</body>
+</html>