Fix #5657 - Summary page for documentation
[roojs1] / docs / Roo.docs.bjs
1 {
2  "name" : "Roo.docs",
3  "parent" : "",
4  "title" : "",
5  "path" : "/home/alan/gitlive/roojs1/docs/Roo.docs.bjs",
6  "permname" : "",
7  "modOrder" : "001",
8  "strings" : {
9   "3e6ec55e2dff4342e3f25b0b0b988de9" : "Inheritance tree",
10   "ae635f08107a69569e636835f24e6f6f" : " extends ",
11   "87f9f735a1d36793ceaecd4e47124b63" : "Events",
12   "d41d8cd98f00b204e9800998ecf8427e" : " ",
13   "9b34238e8113db140b452beec500024b" : "Roo JS Documentation",
14   "50f33d14f129e4548c1c270fd6725a78" : "Configuration options",
15   "e64b94523532dbac62df6795a5153f04" : "doc-desc",
16   "3673e725413179fe76f341ed908a5c36" : "Defined in: ",
17   "d2b697ad8e989a6c4592987f22f5bbfc" : "doc-comments",
18   "f361257612a512f9be2fdc2abfb25aef" : "<small>Defined by</small>",
19   "494a64a432ff6a121e4ab9003c7a0df3" : "parentcls",
20   "f561aaf6ef0bf14d4208bb46a4ccb3ad" : "xxx",
21   "9bd81329febf6efe22788e03ddeaf0af" : " Class ",
22   "a1d108496af420635536a4e29e87d42b" : "Constructor, Static and Public Methods"
23  },
24  "items" : [
25   {
26    "listeners" : {
27     "render" : "function (_self)\n{\n      \n   \n    \n}"
28    },
29    "String cls" : "doc-body",
30    "xtype" : "Body",
31    "$ xns" : "Roo.bootstrap",
32    "items" : [
33     {
34      "listeners" : {
35       "render" : "function (_self)\n{\n  //  this.el.addClass(language);\n    \n}"
36      },
37      "String cls" : "left-menu-sidebar",
38      "xtype" : "NavSidebar",
39      "$ xns" : "Roo.bootstrap",
40      "String style" : "padding-top:80px;",
41      "items" : [
42       {
43        "listeners" : {
44         "render" : "function (_self)\n{\n    _this.navGroup = this;\n    \n}",
45         "childrenrendered" : "function (_self)\n{\n    _this.navGroup.autoExpand();\n    \n    _this.navGroup.activeLookup();\n}"
46        },
47        "| function activeLookup" : "function() \n{ \n    return;\n    \n    var pathname = window.location.pathname.substring(baseURL.length);\n    \n    if(!pathname.length){\n        return;\n    }\n    \n    if(pathname.match(/^\\/Projects/)){\n        pathname = '/Projects';\n    }\n    \n    var lookupPath = function(item)\n    {\n        if(typeof(item.href) == 'undefined' || !item.href.length || item.href == '#'){\n            return true;\n        }\n        \n        item.el.removeClass('active');\n        \n        var href = item.href.substring(baseURL.length);\n        \n        if(href != pathname){\n            return true;\n        }\n        \n        item.el.addClass('active');\n        return false;\n            \n    };\n    \n    var seted = false;\n    \n    Roo.each(_this.navGroup.items, function(i){\n        \n        var s = lookupPath(i);\n        \n        if(!s){\n            return false;\n        }\n        \n        if(typeof(i.menu) == 'undefined' || !i.menu.items.length){\n            return;\n        }\n        \n        Roo.each(i.menu.items, function(ii){\n            \n            var ss = lookupPath(ii);\n            \n            if(!ss){\n                seted = true;\n                return false;\n            }\n            \n        });\n        \n        if(seted){\n            return false;\n        }\n        \n    });\n}",
48        "xtype" : "NavGroup",
49        "$ xns" : "Roo.bootstrap",
50        "| function autoExpand" : "function() \n{ \n    return;\n    \n    _this.menu_expand = false;\n    \n    var lookupMenu = function(menu, index){\n        \n        if(menu.target == pagedata.page.target){\n            _this.menu_expand = index + 1;\n            return;\n        }\n        \n        if(!menu.children.length){\n            return;\n        }\n        \n        Roo.each(menu.children, function(c){\n            lookupMenu(c, index);\n        });\n        \n    }\n    \n    Roo.each(pagemenus, function(v, k){\n        \n        lookupMenu(v, k);\n        \n    });\n    \n    if(_this.menu_expand === false){\n        return;\n    }\n    \n    if(typeof(_this.navGroup.items[_this.menu_expand].menu) == 'undefined'){\n        return;\n    }\n    \n    _this.navGroup.items[_this.menu_expand].menu.show(_this.navGroup.items[_this.menu_expand].el, false, false);\n    \n}",
51        "items" : [
52         {
53          "Boolean active" : false,
54          "String cls" : "",
55          "xtype" : "NavItem",
56          "$ xns" : "Roo.bootstrap",
57          "String style" : "position:fixed;top:0;z-Index:1000;",
58          "items" : [
59           {
60            "listeners" : {
61             "click" : "function (e)\n{\n    document.location.reload();\n}"
62            },
63            "string href" : "#",
64            "String cls" : "logo",
65            "Boolean preventDefault" : true,
66            "xtype" : "Link",
67            "$ xns" : "Roo.bootstrap"
68           }
69          ]
70         }
71        ]
72       },
73       {
74        "String cls" : "left-menu-sidebar-options",
75        "xtype" : "Container",
76        "$ xns" : "Roo.bootstrap",
77        "items" : [
78         {
79          "xtype" : "Row",
80          "$ xns" : "Roo.bootstrap"
81         }
82        ]
83       }
84      ]
85     },
86     {
87      "listeners" : {
88       "beforetoggle" : "function (_self)\n{\n    _this.navGroup.autoExpand(); \n    \n    _this.navGroup.activeLookup();\n    \n    _this.navHeaderBar.mask.show();\n    \n    if(this.el.select('.navbar-collapse',true).first().hasClass('in')){\n        _this.navHeaderBar.mask.hide();\n        return;\n    }\n}",
89       "render" : "function (_self)\n{\n    return;\n    \n    _this.navHeaderBar = this;\n    \n    this.el.addClass(language); \n    \n    var body = Roo.select('body', true).first();\n    \n    var mark = {\n        tag: \"div\",\n        cls:\"x-dlg-mask\"\n    };\n    \n    this.mask = Roo.DomHelper.append(body, mark, true);\n    \n    var size = body.getSize();\n    this.mask.setSize(size.width, size.height);\n    \n    this.mask.setStyle('z-index', '1029');\n    \n    this.mask.enableDisplayMode(\"block\");\n    this.mask.hide();\n    \n    this.mask.on('click', function(){\n        \n        this.el.select('.navbar-collapse',true).removeClass('in'); \n        this.mask.hide();\n        \n    }, this);\n    \n    \n    var maxHeight = Roo.lib.Dom.getViewHeight() - this.el.select('.navbar-header', true).first().getHeight();\n    \n    this.el.select('.navbar-collapse', true).first().setStyle('max-height', maxHeight);\n    \n}"
90      },
91      "$ String brand_href" : "baseURL + '/'",
92      "String position" : "fixed-top",
93      "String cls" : "mobile-header-menu",
94      "bool autohide" : true,
95      "xtype" : "NavHeaderbar",
96      "Boolean inverse" : false,
97      "$ xns" : "Roo.bootstrap",
98      "String brand" : " ",
99      "String style" : ""
100     },
101     {
102      "listeners" : {
103       "render" : "function (_self)\n{\n       _this.introContainer = this;\n}"
104      },
105      "String cls" : "general-content-body",
106      "xtype" : "Container",
107      "$ xns" : "Roo.bootstrap",
108      "items" : [
109       {
110        "xtype" : "Header",
111        "Number level" : 1,
112        "$ xns" : "Roo.bootstrap",
113        "String html" : "Roo JS Documentation"
114       },
115       {
116        "listeners" : {
117         "render" : "function (_self)\n{\n    _this.introBody = this;\n}"
118        },
119        "xtype" : "Container",
120        "$ xns" : "Roo.bootstrap"
121       }
122      ]
123     },
124     {
125      "listeners" : {
126       "render" : "function (_self)\n{\n    _this.doc_body_content = this;\n}"
127      },
128      "String cls" : "general-content-body",
129      "xtype" : "Container",
130      "$ xns" : "Roo.bootstrap",
131      "items" : [
132       {
133        "xtype" : "Row",
134        "$ xns" : "Roo.bootstrap",
135        "String style" : "margin: 0px;",
136        "items" : [
137         {
138          "Number md" : 9,
139          "xtype" : "Column",
140          "$ xns" : "Roo.bootstrap",
141          "String style" : "padding-left: 0px;",
142          "items" : [
143           {
144            "String cls" : "doc-header-container",
145            "xtype" : "Container",
146            "$ xns" : "Roo.bootstrap",
147            "items" : [
148             {
149              "xtype" : "Header",
150              "Number level" : 4,
151              "$ xns" : "Roo.bootstrap",
152              "String html" : " Class ",
153              "items" : [
154               {
155                "listeners" : {
156                 "render" : "function (_self)\n{\n    _this.doc_name = this\n}"
157                },
158                "String tag" : "span",
159                "String cls" : "doc-classname",
160                "xtype" : "Element",
161                "$ xns" : "Roo.bootstrap",
162                "String html" : "xxx",
163                "String style" : "font-size: 24px;\n    font-weight: bold;"
164               },
165               {
166                "listeners" : {
167                 "render" : "function (_self)\n{\n    _this.doc_extends_sep = this;\n}"
168                },
169                "String tag" : "small",
170                "String cls" : "doc-extends-str",
171                "xtype" : "Element",
172                "$ xns" : "Roo.bootstrap",
173                "String html" : " extends ",
174                "items" : [
175                 {
176                  "listeners" : {
177                   "render" : "function (_self)\n{\n    _this.doc_extends = this;\n}",
178                   "click" : "function (e)\n{\n\n    if (this.el.dom.innerHTML.length) {\n        Roo.docs.init.loadDoc({ name : this.el.dom.innerHTML, is_class : true});\n    }\n}"
179                  },
180                  "String cls" : "doc-extends",
181                  "Boolean preventDefault" : false,
182                  "xtype" : "Link",
183                  "$ xns" : "Roo.bootstrap",
184                  "String html" : "parentcls"
185                 }
186                ]
187               }
188              ]
189             },
190             {
191              "xtype" : "Header",
192              "$ xns" : "Roo.bootstrap",
193              "Number level" : 5,
194              "String html" : "Defined in: ",
195              "items" : [
196               {
197                "listeners" : {
198                 "render" : "function (_self)\n{\n    _this.doc_source = this;\n}",
199                 "click" : "function (e)\n{\n    \n    Roo.log([\"click\", this]);\n    if (this.el.dom.innerHTML.length > 0) {\n        Roo.docs.init.loadSource();\n    }\n}"
200                },
201                "String cls" : "doc-source",
202                "Boolean preventDefault" : true,
203                "String href" : "#",
204                "xtype" : "Link",
205                "$ xns" : "Roo.bootstrap",
206                "String html" : "Defined in: "
207               }
208              ]
209             }
210            ]
211           },
212           {
213            "listeners" : {
214             "render" : "function (_self)\n{\n    _this.doc_desc = this;\n}"
215            },
216            "String cls" : "doc-desc",
217            "xtype" : "Container",
218            "$ xns" : "Roo.bootstrap",
219            "String html" : "doc-desc"
220           },
221           {
222            "String cls" : "doc-comments",
223            "xtype" : "Container",
224            "$ xns" : "Roo.bootstrap",
225            "String html" : "doc-comments",
226            "Boolean hidden" : true
227           }
228          ]
229         },
230         {
231          "Number md" : 3,
232          "xtype" : "Column",
233          "$ xns" : "Roo.bootstrap",
234          "items" : [
235           {
236            "listeners" : {
237             "render" : "function (_self)\n{\n    _this.augments  = this;\n}"
238            },
239            "String header" : "Inheritance tree",
240            "String cls" : "doc-augments",
241            "xtype" : "Container",
242            "String panel" : "success",
243            "$ xns" : "Roo.bootstrap"
244           }
245          ]
246         }
247        ]
248       },
249       {
250        "listeners" : {
251         "render" : "function (_self)\n{\n    _this.configTableContainer = this;\n}"
252        },
253        "String header" : "Configuration options",
254        "Boolean expanded" : true,
255        "String cls" : "doc-table-container",
256        "xtype" : "Container",
257        "String panel" : "info",
258        "$ xns" : "Roo.bootstrap",
259        "String style" : "margin-top:15px",
260        "Boolean expandable" : true,
261        "items" : [
262         {
263          "listeners" : {
264           "rowclass" : "function (_self, rowcfg)\n{\n      rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member '  : 'doc-not-member ';\n      rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');\n}",
265           "render" : "function (_self)\n{\n    _this.configTable = this;\n}",
266           "rowclick" : "function (_self, el, rowIndex, e)\n{\n    if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {\n        return false;\n    }\n    \n    var r = this.store.getAt(rowIndex);\n    r.json.expanded = !r.json.expanded ;\n    this.refreshRow(r);\n}"
267          },
268          "boolean striped" : true,
269          "xtype" : "Table",
270          "Boolean rowSelection" : true,
271          "$ xns" : "Roo.bootstrap",
272          "items" : [
273           {
274            "String header" : "",
275            "Number md" : 11,
276            "String dataIndex" : "name",
277            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.config(r.json);\n\n\t\t\t\n}",
278            "xtype" : "ColumnModel",
279            "$ xns" : "Roo.grid",
280            "* prop" : "cm[]"
281           },
282           {
283            "String header" : "<small>Defined by</small>",
284            "Number md" : 1,
285            "String dataIndex" : "memberOf",
286            "$ Function renderer" : "function(v,x,r) { \n if (r.json.memberOf  == Roo.docs.init.currentClass) {\n            return '';\n        }\n\n\t\treturn \t'<small><a href=\"#' + r.json.memberOf + '\">' + r.json.memberOf + '</a></small>';\n\t\t\t\n}",
287            "xtype" : "ColumnModel",
288            "$ xns" : "Roo.grid",
289            "* prop" : "cm[]"
290           },
291           {
292            "xtype" : "Store",
293            "$ xns" : "Roo.data",
294            "* prop" : "store",
295            "items" : [
296             {
297              "xtype" : "MemoryProxy",
298              "$ xns" : "Roo.data",
299              "* prop" : "proxy"
300             },
301             {
302              "xtype" : "ArrayReader",
303              "$ xns" : "Roo.data",
304              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
305              "* prop" : "reader"
306             }
307            ]
308           }
309          ]
310         }
311        ]
312       },
313       {
314        "listeners" : {
315         "render" : "function (_self)\n{\n    _this.methodsTableContainer = this;\n}"
316        },
317        "String header" : "Constructor, Static and Public Methods",
318        "Boolean expanded" : false,
319        "String cls" : "doc-table-container",
320        "String panel" : "info",
321        "xtype" : "Container",
322        "$ xns" : "Roo.bootstrap",
323        "Boolean expandable" : true,
324        "items" : [
325         {
326          "listeners" : {
327           "rowclass" : "function (_self, rowcfg)\n{\n      var j = rowcfg.record.json;\n      var rc = j.memberOf == Roo.docs.init.currentClass || j.isConstructor ? 'doc-added-member '  : 'doc-not-member ';\n      rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');\n}",
328           "render" : "function (_self)\n{\n    _this.methodsTable = this;\n}",
329           "rowclick" : "function (_self, el, rowIndex, e)\n{\n      if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {\n        return false;\n    }\n     var r = this.store.getAt(rowIndex);\n    r.json.expanded = !r.json.expanded ;\n    this.refreshRow(r);\n}"
330          },
331          "xtype" : "Table",
332          "Boolean rowSelection" : true,
333          "$ xns" : "Roo.bootstrap",
334          "items" : [
335           {
336            "String header" : " ",
337            "String dataIndex" : "name",
338            "Number md" : 11,
339            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.method(r.json);\n\t\t \n\t\t\t\n}",
340            "xtype" : "ColumnModel",
341            "$ xns" : "Roo.grid",
342            "Boolean sortable" : false,
343            "* prop" : "cm[]"
344           },
345           {
346            "String header" : "<small>Defined by</small>",
347            "String dataIndex" : "memberOf",
348            "Number md" : 1,
349            "$ Function renderer" : "function(v,x,r) { \n\n if (r.json.memberOf  == Roo.docs.init.currentClass) {\n            return '';\n        }\n\t\treturn \t'<small><a href=\"#' + r.json.memberOf + '\">' + r.json.memberOf + '</a></small>';\n\t\t\t\n}",
350            "xtype" : "ColumnModel",
351            "$ xns" : "Roo.grid",
352            "* prop" : "cm[]"
353           },
354           {
355            "$ Object sortInfo" : "{ field : 'name', direction : 'ASC' }",
356            "xtype" : "Store",
357            "$ xns" : "Roo.data",
358            "* prop" : "store",
359            "items" : [
360             {
361              "xtype" : "MemoryProxy",
362              "$ xns" : "Roo.data",
363              "* prop" : "proxy"
364             },
365             {
366              "xtype" : "ArrayReader",
367              "$ xns" : "Roo.data",
368              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
369              "* prop" : "reader"
370             }
371            ]
372           }
373          ]
374         }
375        ]
376       },
377       {
378        "listeners" : {
379         "render" : "function (_self)\n{\n    _this.eventsTableContainer   = this;\n}"
380        },
381        "String header" : "Events",
382        "Boolean expanded" : false,
383        "String cls" : "doc-table-container",
384        "xtype" : "Container",
385        "String panel" : "info",
386        "$ xns" : "Roo.bootstrap",
387        "Boolean expandable" : true,
388        "items" : [
389         {
390          "listeners" : {
391           "rowclass" : "function (_self, rowcfg)\n{\n      rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member '  : 'doc-not-member ';\n      rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');\n}",
392           "render" : "function (_self)\n{\n    _this.eventsTable = this;\n}",
393           "rowclick" : "function (_self, el, rowIndex, e)\n{\n        if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {\n        return false;\n    }\n    var r = this.store.getAt(rowIndex);\n    r.json.expanded = !r.json.expanded ;\n    this.refreshRow(r);\n}"
394          },
395          "xtype" : "Table",
396          "Boolean rowSelection" : true,
397          "$ xns" : "Roo.bootstrap",
398          "items" : [
399           {
400            "String header" : "",
401            "Number md" : 11,
402            "String dataIndex" : "name",
403            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.event(r.json);\n\t\t \n\t\t\t\n}",
404            "xtype" : "ColumnModel",
405            "$ xns" : "Roo.grid",
406            "* prop" : "cm[]"
407           },
408           {
409            "String header" : "<small>Defined by</small>",
410            "Number md" : 1,
411            "String dataIndex" : "memberOf",
412            "$ Function renderer" : "function(v,x,r) { \n        if (r.json.memberOf  == Roo.docs.init.currentClass) {\n            return '';\n        }\n\n\t\treturn \t'<small><a href=\"#' + r.json.memberOf + '\">' + r.json.memberOf + '</a></small>';\n\t\t\t\n}",
413            "xtype" : "ColumnModel",
414            "$ xns" : "Roo.grid",
415            "* prop" : "cm[]"
416           },
417           {
418            "xtype" : "Store",
419            "$ xns" : "Roo.data",
420            "* prop" : "store",
421            "items" : [
422             {
423              "xtype" : "ArrayReader",
424              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
425              "$ xns" : "Roo.data",
426              "* prop" : "reader"
427             },
428             {
429              "xtype" : "MemoryProxy",
430              "$ xns" : "Roo.data",
431              "* prop" : "proxy"
432             }
433            ]
434           }
435          ]
436         }
437        ]
438       }
439      ]
440     }
441    ]
442   }
443  ]
444 }