Upgrade to ExtJS 4.0.7 - Released 10/19/2011
[extjs.git] / docs / source / ComponentDragger.html
index 1a60df0..875d6ed 100644 (file)
@@ -3,8 +3,8 @@
 <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>
+  <link href="../resources/prettify/prettify.css" type="text/css" rel="stylesheet" />
+  <script type="text/javascript" src="../resources/prettify/prettify.js"></script>
   <style type="text/css">
     .highlight { display: block; background-color: #ddd; }
   </style>
   </script>
 </head>
 <body onload="prettyPrint(); highlight();">
-  <pre class="prettyprint lang-js"><span id='Ext-util-ComponentDragger-method-constructor'><span id='Ext-util-ComponentDragger'>/**
-</span></span> * @class Ext.util.ComponentDragger
+  <pre class="prettyprint lang-js"><span id='Ext-util-ComponentDragger'>/**
+</span> * @class Ext.util.ComponentDragger
  * @extends Ext.dd.DragTracker
  * &lt;p&gt;A subclass of Ext.dd.DragTracker which handles dragging any Component.&lt;/p&gt;
  * &lt;p&gt;This is configured with a Component to be made draggable, and a config object for the
  * {@link Ext.dd.DragTracker} class.&lt;/p&gt;
- * &lt;p&gt;A {@link #} delegate may be provided which may be either the element to use as the mousedown target
+ * &lt;p&gt;A {@link #delegate} may be provided which may be either the element to use as the mousedown target
  * or a {@link Ext.DomQuery} selector to activate multiple mousedown targets.&lt;/p&gt;
- * @constructor Create a new ComponentTracker
- * @param {object} comp The Component to provide dragging for.
- * @param {object} config The config object
  */
 Ext.define('Ext.util.ComponentDragger', {
 
@@ -35,7 +32,7 @@ Ext.define('Ext.util.ComponentDragger', {
      */
 
 <span id='Ext-util-ComponentDragger-cfg-delegate'>    /**
-</span>     * @cfg {String/Element} delegate
+</span>     * @cfg {String/Ext.Element} delegate
      * Optional. &lt;p&gt;A {@link Ext.DomQuery DomQuery} selector which identifies child elements within the Component's encapsulating
      * Element which are the drag handles. This limits dragging to only begin when the matching elements are mousedowned.&lt;/p&gt;
      * &lt;p&gt;This may also be a specific child element within the Component's encapsulating element to use as the drag handle.&lt;/p&gt;
@@ -43,13 +40,18 @@ Ext.define('Ext.util.ComponentDragger', {
 
 <span id='Ext-util-ComponentDragger-cfg-constrainDelegate'>    /**
 </span>     * @cfg {Boolean} constrainDelegate
-     * Specify as &lt;code&gt;true&lt;/code&gt; to constrain the drag handles within the {@link constrainTo} region.
+     * Specify as &lt;code&gt;true&lt;/code&gt; to constrain the drag handles within the {@link #constrainTo} region.
      */
 
     extend: 'Ext.dd.DragTracker',
 
     autoStart: 500,
 
+<span id='Ext-util-ComponentDragger-method-constructor'>    /**
+</span>     * Creates new ComponentDragger.
+     * @param {Object} comp The Component to provide dragging for.
+     * @param {Object} config (optional) Config object
+     */
     constructor: function(comp, config) {
         this.comp = comp;
         this.initialConstrainTo = config.constrainTo;