X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..3789b528d8dd8aad4558e38e22d775bcab1cbd36:/docs/source/Tree.html diff --git a/docs/source/Tree.html b/docs/source/Tree.html index 1405a469..e600ff03 100644 --- a/docs/source/Tree.html +++ b/docs/source/Tree.html @@ -1,4 +1,21 @@ -Sencha Documentation Project
/**
+
+
+
+  
+  The source code
+  
+  
+  
+  
+
+
+  
/**
  * @class Ext.data.Tree
  * 
  * This class is used as a container for a series of nodes. The nodes themselves maintain
@@ -19,7 +36,7 @@ Ext.define('Ext.data.Tree', {
         observable: "Ext.util.Observable"
     },
 
-    /**
+    /**
      * The root node for this tree
      * @type Node
      */
@@ -37,7 +54,7 @@ Ext.define('Ext.data.Tree', {
         }
     },
 
-    /**
+    /**
      * Returns the root node for this tree.
      * @return {Ext.data.NodeInterface}
      */
@@ -45,7 +62,7 @@ Ext.define('Ext.data.Tree', {
         return this.root;
     },
 
-    /**
+    /**
      * Sets the root node for this tree.
      * @param {Ext.data.NodeInterface} node
      * @return {Ext.data.NodeInterface} The root node
@@ -61,7 +78,7 @@ Ext.define('Ext.data.Tree', {
             node.updateInfo();
             
             me.relayEvents(node, [
-                /**
+                /**
                  * @event append
                  * Fires when a new child node is appended to a node in this tree.
                  * @param {Tree} tree The owner tree
@@ -71,7 +88,7 @@ Ext.define('Ext.data.Tree', {
                  */
                 "append",
 
-                /**
+                /**
                  * @event remove
                  * Fires when a child node is removed from a node in this tree.
                  * @param {Tree} tree The owner tree
@@ -80,7 +97,7 @@ Ext.define('Ext.data.Tree', {
                  */
                 "remove",
 
-                /**
+                /**
                  * @event move
                  * Fires when a node is moved to a new location in the tree
                  * @param {Tree} tree The owner tree
@@ -91,7 +108,7 @@ Ext.define('Ext.data.Tree', {
                  */
                 "move",
 
-                /**
+                /**
                  * @event insert
                  * Fires when a new child node is inserted in a node in this tree.
                  * @param {Tree} tree The owner tree
@@ -101,7 +118,7 @@ Ext.define('Ext.data.Tree', {
                  */
                 "insert",
 
-                /**
+                /**
                  * @event beforeappend
                  * Fires before a new child is appended to a node in this tree, return false to cancel the append.
                  * @param {Tree} tree The owner tree
@@ -110,7 +127,7 @@ Ext.define('Ext.data.Tree', {
                  */
                 "beforeappend",
 
-                /**
+                /**
                  * @event beforeremove
                  * Fires before a child is removed from a node in this tree, return false to cancel the remove.
                  * @param {Tree} tree The owner tree
@@ -119,7 +136,7 @@ Ext.define('Ext.data.Tree', {
                  */
                 "beforeremove",
 
-                /**
+                /**
                  * @event beforemove
                  * Fires before a node is moved to a new location in the tree. Return false to cancel the move.
                  * @param {Tree} tree The owner tree
@@ -130,7 +147,7 @@ Ext.define('Ext.data.Tree', {
                  */
                 "beforemove",
 
-                /**
+                /**
                  * @event beforeinsert
                  * Fires before a new child is inserted in a node in this tree, return false to cancel the insert.
                  * @param {Tree} tree The owner tree
@@ -140,35 +157,35 @@ Ext.define('Ext.data.Tree', {
                  */
                 "beforeinsert",
 
-                 /**
+                 /**
                   * @event expand
                   * Fires when this node is expanded.
                   * @param {Node} this The expanding node
                   */
                  "expand",
 
-                 /**
+                 /**
                   * @event collapse
                   * Fires when this node is collapsed.
                   * @param {Node} this The collapsing node
                   */
                  "collapse",
 
-                 /**
+                 /**
                   * @event beforeexpand
                   * Fires before this node is expanded.
                   * @param {Node} this The expanding node
                   */
                  "beforeexpand",
 
-                 /**
+                 /**
                   * @event beforecollapse
                   * Fires before this node is collapsed.
                   * @param {Node} this The collapsing node
                   */
                  "beforecollapse" ,
 
-                 /**
+                 /**
                   * @event rootchange
                   * Fires whenever the root node is changed in the tree.
                   * @param {Ext.data.Model} root The new root
@@ -191,7 +208,7 @@ Ext.define('Ext.data.Tree', {
         return node;
     },
     
-    /**
+    /**
      * Flattens all the nodes in the tree into an array.
      * @private
      * @return {Array} The flattened nodes.
@@ -209,7 +226,7 @@ Ext.define('Ext.data.Tree', {
         return nodes;
     },
     
-    /**
+    /**
      * Fired when a node is inserted into the root or one of it's children
      * @private
      * @param {Ext.data.NodeInterface} parent The parent node
@@ -219,7 +236,7 @@ Ext.define('Ext.data.Tree', {
         this.registerNode(node);
     },
     
-    /**
+    /**
      * Fired when a node is appended into the root or one of it's children
      * @private
      * @param {Ext.data.NodeInterface} parent The parent node
@@ -229,7 +246,7 @@ Ext.define('Ext.data.Tree', {
         this.registerNode(node);
     },
     
-    /**
+    /**
      * Fired when a node is removed from the root or one of it's children
      * @private
      * @param {Ext.data.NodeInterface} parent The parent node
@@ -239,7 +256,7 @@ Ext.define('Ext.data.Tree', {
         this.unregisterNode(node);
     },
 
-    /**
+    /**
      * Gets a node in this tree by its id.
      * @param {String} id
      * @return {Ext.data.NodeInterface} The match node.
@@ -248,7 +265,7 @@ Ext.define('Ext.data.Tree', {
         return this.nodeHash[id];
     },
 
-    /**
+    /**
      * Registers a node with the tree
      * @private
      * @param {Ext.data.NodeInterface} The node to register
@@ -257,7 +274,7 @@ Ext.define('Ext.data.Tree', {
         this.nodeHash[node.getId() || node.internalId] = node;
     },
 
-    /**
+    /**
      * Unregisters a node with the tree
      * @private
      * @param {Ext.data.NodeInterface} The node to unregister
@@ -266,7 +283,7 @@ Ext.define('Ext.data.Tree', {
         delete this.nodeHash[node.getId() || node.internalId];
     },
     
-    /**
+    /**
      * Sorts this tree
      * @private
      * @param {Function} sorterFn The function to use for sorting
@@ -276,7 +293,7 @@ Ext.define('Ext.data.Tree', {
         this.getRootNode().sort(sorterFn, recursive);
     },
     
-     /**
+     /**
      * Filters this tree
      * @private
      * @param {Function} sorterFn The function to use for filtering
@@ -285,4 +302,6 @@ Ext.define('Ext.data.Tree', {
     filter: function(filters, recursive) {
         this.getRootNode().filter(filters, recursive);
     }
-});
\ No newline at end of file +});
+ +