docs/Roo.docs.bjs
[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.sidebar = this;\n  //  this.el.addClass(language);\n    \n}"
36      },
37      "String cls" : "left-menu-sidebar",
38      "xtype" : "NavSidebar",
39      "$ xns" : "Roo.bootstrap",
40      "items" : [
41       {
42        "listeners" : {
43         "render" : "function (_self)\n{\n    _this.navGroup = this;\n    \n}",
44         "childrenrendered" : "function (_self)\n{\n    _this.navGroup.autoExpand();\n    \n    _this.navGroup.activeLookup();\n}"
45        },
46        "| 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}",
47        "xtype" : "NavGroup",
48        "$ xns" : "Roo.bootstrap",
49        "| 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}",
50        "items" : [
51         {
52          "Boolean active" : false,
53          "String cls" : "",
54          "xtype" : "NavItem",
55          "$ xns" : "Roo.bootstrap",
56          "String style" : "position:fixed;top:0;z-Index:1000;",
57          "items" : [
58           {
59            "listeners" : {
60             "click" : "function (e)\n{\n    document.location.hash = '#';\n}"
61            },
62            "string href" : "#",
63            "String cls" : "logo",
64            "Boolean preventDefault" : true,
65            "xtype" : "Link",
66            "$ xns" : "Roo.bootstrap"
67           }
68          ]
69         }
70        ]
71       },
72       {
73        "String cls" : "left-menu-sidebar-options",
74        "xtype" : "Container",
75        "$ xns" : "Roo.bootstrap",
76        "items" : [
77         {
78          "xtype" : "Row",
79          "$ xns" : "Roo.bootstrap"
80         }
81        ]
82       }
83      ]
84     },
85     {
86      "listeners" : {
87       "beforetoggle" : "function (_self)\n{\n   // _this.mobileNavGroup.autoExpand(); \n    \n    \n}",
88       "render" : "function (_self)\n{\n   \n     _this.navHeaderBar = this;\n    return;\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}"
89      },
90      "String cls" : "mobile-header-menu",
91      "String position" : "fixed-top",
92      "bool autohide" : true,
93      "xtype" : "NavHeaderbar",
94      "Boolean inverse" : false,
95      "String brand_href" : "#",
96      "$ xns" : "Roo.bootstrap",
97      "String brand" : " ",
98      "String style" : "",
99      "items" : [
100       {
101        "listeners" : {
102         "render" : "function (_self)\n{\n    _this.mobileNavGroup = this;\n}"
103        },
104        "xtype" : "NavGroup",
105        "$ xns" : "Roo.bootstrap"
106       }
107      ]
108     },
109     {
110      "listeners" : {
111       "render" : "function (_self)\n{\n       _this.introContainer = this;\n}"
112      },
113      "String cls" : "general-content-body general-content-intro",
114      "xtype" : "Container",
115      "$ xns" : "Roo.bootstrap",
116      "items" : [
117       {
118        "xtype" : "Header",
119        "Number level" : 1,
120        "$ xns" : "Roo.bootstrap",
121        "String html" : "Roo JS Documentation"
122       },
123       {
124        "listeners" : {
125         "render" : "function (_self)\n{\n    _this.introBody = this;\n}"
126        },
127        "xtype" : "Container",
128        "$ xns" : "Roo.bootstrap"
129       }
130      ]
131     },
132     {
133      "listeners" : {
134       "render" : "function (_self)\n{\n    _this.doc_body_content = this;\n}"
135      },
136      "String cls" : "general-content-body",
137      "xtype" : "Container",
138      "$ xns" : "Roo.bootstrap",
139      "items" : [
140       {
141        "xtype" : "Row",
142        "$ xns" : "Roo.bootstrap",
143        "String style" : "margin: 0px;",
144        "items" : [
145         {
146          "Number md" : 9,
147          "xtype" : "Column",
148          "$ xns" : "Roo.bootstrap",
149          "items" : [
150           {
151            "String cls" : "doc-header-container",
152            "xtype" : "Container",
153            "$ xns" : "Roo.bootstrap",
154            "items" : [
155             {
156              "xtype" : "Header",
157              "Number level" : 4,
158              "$ xns" : "Roo.bootstrap",
159              "String html" : " Class ",
160              "items" : [
161               {
162                "listeners" : {
163                 "render" : "function (_self)\n{\n    _this.doc_name = this\n}"
164                },
165                "String tag" : "span",
166                "String cls" : "doc-classname",
167                "xtype" : "Element",
168                "$ xns" : "Roo.bootstrap",
169                "String html" : "xxx",
170                "String style" : "font-size: 24px;\n    font-weight: bold;"
171               },
172               {
173                "listeners" : {
174                 "render" : "function (_self)\n{\n    _this.doc_extends_sep = this;\n}"
175                },
176                "String tag" : "small",
177                "String cls" : "doc-extends-str",
178                "xtype" : "Element",
179                "$ xns" : "Roo.bootstrap",
180                "String html" : " extends ",
181                "items" : [
182                 {
183                  "listeners" : {
184                   "render" : "function (_self)\n{\n    _this.doc_extends = this;\n}",
185                   "click" : "function (e)\n{\n\n    if (this.el.dom.innerHTML.length) {\n        document.location.hash = '#' +  this.el.dom.innerHTML;\n      \n    } \n}"
186                  },
187                  "String cls" : "doc-extends",
188                  "Boolean preventDefault" : true,
189                  "xtype" : "Link",
190                  "$ xns" : "Roo.bootstrap",
191                  "String html" : "parentcls"
192                 }
193                ]
194               }
195              ]
196             },
197             {
198              "listeners" : {
199               "render" : "function (_self)\n{\n    _this.doc_source_row = this;\n}"
200              },
201              "xtype" : "Header",
202              "$ xns" : "Roo.bootstrap",
203              "Number level" : 5,
204              "String html" : "Defined in: ",
205              "items" : [
206               {
207                "listeners" : {
208                 "render" : "function (_self)\n{\n    _this.doc_source = this;\n}",
209                 "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}"
210                },
211                "String cls" : "doc-source",
212                "Boolean preventDefault" : true,
213                "String href" : "#",
214                "xtype" : "Link",
215                "$ xns" : "Roo.bootstrap",
216                "String html" : "Defined in: "
217               }
218              ]
219             }
220            ]
221           },
222           {
223            "listeners" : {
224             "render" : "function (_self)\n{\n    _this.doc_desc = this;\n}"
225            },
226            "String cls" : "doc-desc",
227            "xtype" : "Container",
228            "$ xns" : "Roo.bootstrap",
229            "String html" : "doc-desc"
230           },
231           {
232            "String cls" : "doc-comments",
233            "xtype" : "Container",
234            "$ xns" : "Roo.bootstrap",
235            "String html" : "doc-comments",
236            "Boolean hidden" : true
237           }
238          ]
239         },
240         {
241          "Number md" : 3,
242          "xtype" : "Column",
243          "$ xns" : "Roo.bootstrap",
244          "items" : [
245           {
246            "listeners" : {
247             "render" : "function (_self)\n{\n    _this.augments  = this;\n}"
248            },
249            "String header" : "Inheritance tree",
250            "String cls" : "doc-augments",
251            "xtype" : "Container",
252            "String panel" : "primary",
253            "$ xns" : "Roo.bootstrap"
254           }
255          ]
256         }
257        ]
258       },
259       {
260        "listeners" : {
261         "render" : "function (_self)\n{\n    _this.configTableContainer = this;\n}"
262        },
263        "String header" : "Configuration options",
264        "Boolean expanded" : true,
265        "String cls" : "doc-table-container",
266        "xtype" : "Container",
267        "String panel" : "primary",
268        "$ xns" : "Roo.bootstrap",
269        "String style" : "margin-top:15px",
270        "Boolean expandable" : true,
271        "items" : [
272         {
273          "listeners" : {
274           "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}",
275           "render" : "function (_self)\n{\n    _this.configTable = this;\n}",
276           "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}"
277          },
278          "boolean striped" : true,
279          "xtype" : "Table",
280          "Boolean rowSelection" : true,
281          "$ xns" : "Roo.bootstrap",
282          "items" : [
283           {
284            "String header" : "",
285            "Number md" : 11,
286            "String dataIndex" : "name",
287            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.config(r.json);\n\n\t\t\t\n}",
288            "xtype" : "ColumnModel",
289            "$ xns" : "Roo.grid",
290            "* prop" : "cm[]"
291           },
292           {
293            "String header" : "<small>Defined by</small>",
294            "Number md" : 1,
295            "String dataIndex" : "memberOf",
296            "$ 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}",
297            "xtype" : "ColumnModel",
298            "Number xs" : 0,
299            "$ xns" : "Roo.grid",
300            "* prop" : "cm[]"
301           },
302           {
303            "xtype" : "Store",
304            "$ xns" : "Roo.data",
305            "* prop" : "store",
306            "items" : [
307             {
308              "xtype" : "MemoryProxy",
309              "$ xns" : "Roo.data",
310              "* prop" : "proxy"
311             },
312             {
313              "xtype" : "ArrayReader",
314              "$ xns" : "Roo.data",
315              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
316              "* prop" : "reader"
317             }
318            ]
319           }
320          ]
321         }
322        ]
323       },
324       {
325        "listeners" : {
326         "render" : "function (_self)\n{\n    _this.methodsTableContainer = this;\n}"
327        },
328        "String header" : "Constructor, Static and Public Methods",
329        "Boolean expanded" : true,
330        "String cls" : "doc-table-container",
331        "String panel" : "primary",
332        "xtype" : "Container",
333        "$ xns" : "Roo.bootstrap",
334        "Boolean expandable" : true,
335        "items" : [
336         {
337          "listeners" : {
338           "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}",
339           "render" : "function (_self)\n{\n    _this.methodsTable = this;\n}",
340           "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}"
341          },
342          "xtype" : "Table",
343          "Boolean rowSelection" : true,
344          "$ xns" : "Roo.bootstrap",
345          "items" : [
346           {
347            "String header" : " ",
348            "String dataIndex" : "name",
349            "Number md" : 11,
350            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.method(r.json);\n\t\t \n\t\t\t\n}",
351            "xtype" : "ColumnModel",
352            "$ xns" : "Roo.grid",
353            "Boolean sortable" : false,
354            "* prop" : "cm[]"
355           },
356           {
357            "String header" : "<small>Defined by</small>",
358            "String dataIndex" : "memberOf",
359            "Number md" : 1,
360            "$ 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}",
361            "xtype" : "ColumnModel",
362            "Number xs" : 0,
363            "$ xns" : "Roo.grid",
364            "* prop" : "cm[]"
365           },
366           {
367            "$ Object sortInfo" : "{ field : 'name', direction : 'ASC' }",
368            "xtype" : "Store",
369            "$ xns" : "Roo.data",
370            "* prop" : "store",
371            "items" : [
372             {
373              "xtype" : "MemoryProxy",
374              "$ xns" : "Roo.data",
375              "* prop" : "proxy"
376             },
377             {
378              "xtype" : "ArrayReader",
379              "$ xns" : "Roo.data",
380              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
381              "* prop" : "reader"
382             }
383            ]
384           }
385          ]
386         }
387        ]
388       },
389       {
390        "listeners" : {
391         "render" : "function (_self)\n{\n    _this.eventsTableContainer   = this;\n}"
392        },
393        "String header" : "Events",
394        "Boolean expanded" : true,
395        "String cls" : "doc-table-container",
396        "xtype" : "Container",
397        "String panel" : "primary",
398        "$ xns" : "Roo.bootstrap",
399        "Boolean expandable" : true,
400        "items" : [
401         {
402          "listeners" : {
403           "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}",
404           "render" : "function (_self)\n{\n    _this.eventsTable = this;\n}",
405           "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}"
406          },
407          "xtype" : "Table",
408          "Boolean rowSelection" : true,
409          "$ xns" : "Roo.bootstrap",
410          "items" : [
411           {
412            "String header" : "",
413            "Number md" : 11,
414            "String dataIndex" : "name",
415            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.event(r.json);\n\t\t \n\t\t\t\n}",
416            "xtype" : "ColumnModel",
417            "$ xns" : "Roo.grid",
418            "* prop" : "cm[]"
419           },
420           {
421            "String header" : "<small>Defined by</small>",
422            "Number md" : 1,
423            "String dataIndex" : "memberOf",
424            "$ 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}",
425            "xtype" : "ColumnModel",
426            "Number xs" : 0,
427            "$ xns" : "Roo.grid",
428            "* prop" : "cm[]"
429           },
430           {
431            "xtype" : "Store",
432            "$ xns" : "Roo.data",
433            "* prop" : "store",
434            "items" : [
435             {
436              "xtype" : "ArrayReader",
437              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
438              "$ xns" : "Roo.data",
439              "* prop" : "reader"
440             },
441             {
442              "xtype" : "MemoryProxy",
443              "$ xns" : "Roo.data",
444              "* prop" : "proxy"
445             }
446            ]
447           }
448          ]
449         }
450        ]
451       }
452      ]
453     }
454    ]
455   }
456  ]
457 }