Upgrade to ExtJS 4.0.2 - Released 06/09/2011
[extjs.git] / src / data / Tree.js
index 2a1a1c8..2cd9e43 100644 (file)
@@ -1,3 +1,17 @@
+/*
+
+This file is part of Ext JS 4
+
+Copyright (c) 2011 Sencha Inc
+
+Contact:  http://www.sencha.com/contact
+
+GNU General Public License Usage
+This file may be used under the terms of the GNU General Public License version 3.0 as published by the Free Software Foundation and appearing in the file LICENSE included in the packaging of this file.  Please review the following information to ensure the GNU General Public License version 3.0 requirements will be met: http://www.gnu.org/copyleft/gpl.html.
+
+If you are unsure which license is appropriate for your use, please contact the sales department at http://www.sencha.com/contact.
+
+*/
 /**
  * @class Ext.data.Tree
  * 
@@ -9,8 +23,6 @@
  * centralized fashion. In general this class is not used directly, rather used internally 
  * by other parts of the framework.
  *
- * @constructor
- * @param {Node} root (optional) The root node
  */
 Ext.define('Ext.data.Tree', {
     alias: 'data.tree',
@@ -24,7 +36,11 @@ Ext.define('Ext.data.Tree', {
      * @type Node
      */
     root: null,
-        
+
+    /**
+     * Creates new Tree object.
+     * @param {Node} root (optional) The root node
+     */
     constructor: function(root) {
         var me = this;
         
@@ -285,4 +301,4 @@ Ext.define('Ext.data.Tree', {
     filter: function(filters, recursive) {
         this.getRootNode().filter(filters, recursive);
     }
-});
\ No newline at end of file
+});