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