[Commits] r894 - core/trunk/geoext/lib/GeoExt/widgets/tree
commits at geoext.org
commits at geoext.org
Fri May 29 00:09:26 CEST 2009
Author: tschaub
Date: 2009-05-29 00:09:26 +0200 (Fri, 29 May 2009)
New Revision: 894
Modified:
core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js
Log:
Private docs for LayerNodeUI. Should go in a separate file if we want api docs for this.
Modified: core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js
===================================================================
--- core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js 2009-05-28 22:03:41 UTC (rev 893)
+++ core/trunk/geoext/lib/GeoExt/widgets/tree/LayerNode.js 2009-05-28 22:09:26 UTC (rev 894)
@@ -3,35 +3,26 @@
*/
Ext.namespace("GeoExt.tree");
-/**
- * Class: GeoExt.tree.LayerNodeUI
- *
- * Inherits from:
- * - Ext.tree.TreeNodeUI
+/** private: constructor
+ * ..class:: LayerNodeUI
+ *
+ * Place in a separate file if this should be documented.
*/
GeoExt.tree.LayerNodeUI = Ext.extend(Ext.tree.TreeNodeUI, {
- /**
- * Property: radio
- * {Ext.Element}
+ /** private: property[radio]
+ * ``Ext.Element``
*/
radio: null,
- /**
- * Constructor: GeoExt.tree.LayerNodeUI
- *
- * Parameters:
- * config - {Object}
+ /** private: method[constructor]
*/
constructor: function(config) {
GeoExt.tree.LayerNodeUI.superclass.constructor.apply(this, arguments);
},
- /**
- * Method: render
- *
- * Parameters:
- * bulkRender - {Boolean}
+ /** private: method[render]
+ * :param bulkRender: ``Boolean``
*/
render: function(bulkRender) {
GeoExt.tree.LayerNodeUI.superclass.render.call(this, bulkRender);
@@ -43,11 +34,8 @@
}
},
- /**
- * Method: onClick
- *
- * Parameters:
- * e - {Object}
+ /** private: method[onClick]
+ * :param e: ``Object``
*/
onClick: function(e) {
if (e.getTarget('input[type=radio]', 1)) {
@@ -57,11 +45,8 @@
}
},
- /**
- * Method: toggleCheck
- *
- * Parameters:
- * value - {Boolean}
+ /** private: method[toggleCheck]
+ * :param value: ``Boolean``
*/
toggleCheck: function(value) {
GeoExt.tree.LayerNodeUI.superclass.toggleCheck.call(this, value);
@@ -74,8 +59,7 @@
node.visibilityChanging = false;
},
- /**
- * Method: onDestroy
+ /** private: method[onDestroy]
*/
onDestroy: function() {
delete this.radio;
More information about the Commits
mailing list