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