80731f72312a5223ba7f0bbbb1da97600c6a83a6
[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        "Number level" : 1,
123        "$ xns" : "Roo.bootstrap",
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              "Number level" : 4,
161              "$ xns" : "Roo.bootstrap",
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              "$ xns" : "Roo.bootstrap",
206              "Number level" : 5,
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                "Boolean preventDefault" : true,
216                "String href" : "#",
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         }
260        ]
261       },
262       {
263        "listeners" : {
264         "render" : "function (_self)\n{\n    _this.configTableContainer = this;\n}"
265        },
266        "String header" : "Configuration options",
267        "Boolean expanded" : true,
268        "String cls" : "doc-table-container",
269        "xtype" : "Container",
270        "String panel" : "primary",
271        "$ xns" : "Roo.bootstrap",
272        "String style" : "margin-top:15px",
273        "Boolean expandable" : true,
274        "items" : [
275         {
276          "listeners" : {
277           "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}",
278           "render" : "function (_self)\n{\n    _this.configTable = this;\n}",
279           "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}"
280          },
281          "boolean striped" : true,
282          "xtype" : "Table",
283          "Boolean rowSelection" : true,
284          "$ xns" : "Roo.bootstrap",
285          "items" : [
286           {
287            "String header" : "",
288            "Number md" : 11,
289            "String dataIndex" : "name",
290            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.config(r.json);\n\n\t\t\t\n}",
291            "xtype" : "ColumnModel",
292            "$ xns" : "Roo.grid",
293            "* prop" : "cm[]"
294           },
295           {
296            "String header" : "<small>Defined by</small>",
297            "Number md" : 1,
298            "String dataIndex" : "memberOf",
299            "$ 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}",
300            "xtype" : "ColumnModel",
301            "Number xs" : 0,
302            "$ xns" : "Roo.grid",
303            "* prop" : "cm[]"
304           },
305           {
306            "xtype" : "Store",
307            "$ xns" : "Roo.data",
308            "* prop" : "store",
309            "items" : [
310             {
311              "xtype" : "MemoryProxy",
312              "$ xns" : "Roo.data",
313              "* prop" : "proxy"
314             },
315             {
316              "xtype" : "ArrayReader",
317              "$ xns" : "Roo.data",
318              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
319              "* prop" : "reader"
320             }
321            ]
322           }
323          ]
324         }
325        ]
326       },
327       {
328        "listeners" : {
329         "render" : "function (_self)\n{\n    _this.methodsTableContainer = this;\n}"
330        },
331        "String header" : "Constructor, Static and Public Methods",
332        "Boolean expanded" : true,
333        "String cls" : "doc-table-container",
334        "String panel" : "primary",
335        "xtype" : "Container",
336        "$ xns" : "Roo.bootstrap",
337        "Boolean expandable" : true,
338        "items" : [
339         {
340          "listeners" : {
341           "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}",
342           "render" : "function (_self)\n{\n    _this.methodsTable = this;\n}",
343           "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}"
344          },
345          "xtype" : "Table",
346          "Boolean rowSelection" : true,
347          "$ xns" : "Roo.bootstrap",
348          "items" : [
349           {
350            "String header" : " ",
351            "String dataIndex" : "name",
352            "Number md" : 11,
353            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.method(r.json);\n\t\t \n\t\t\t\n}",
354            "xtype" : "ColumnModel",
355            "$ xns" : "Roo.grid",
356            "Boolean sortable" : false,
357            "* prop" : "cm[]"
358           },
359           {
360            "String header" : "<small>Defined by</small>",
361            "String dataIndex" : "memberOf",
362            "Number md" : 1,
363            "$ 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}",
364            "xtype" : "ColumnModel",
365            "Number xs" : 0,
366            "$ xns" : "Roo.grid",
367            "* prop" : "cm[]"
368           },
369           {
370            "$ Object sortInfo" : "{ field : 'name', direction : 'ASC' }",
371            "xtype" : "Store",
372            "$ xns" : "Roo.data",
373            "* prop" : "store",
374            "items" : [
375             {
376              "xtype" : "MemoryProxy",
377              "$ xns" : "Roo.data",
378              "* prop" : "proxy"
379             },
380             {
381              "xtype" : "ArrayReader",
382              "$ xns" : "Roo.data",
383              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
384              "* prop" : "reader"
385             }
386            ]
387           }
388          ]
389         }
390        ]
391       },
392       {
393        "listeners" : {
394         "render" : "function (_self)\n{\n    _this.eventsTableContainer   = this;\n}"
395        },
396        "String header" : "Events",
397        "Boolean expanded" : true,
398        "String cls" : "doc-table-container",
399        "xtype" : "Container",
400        "String panel" : "primary",
401        "$ xns" : "Roo.bootstrap",
402        "Boolean expandable" : true,
403        "items" : [
404         {
405          "listeners" : {
406           "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}",
407           "render" : "function (_self)\n{\n    _this.eventsTable = this;\n}",
408           "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}"
409          },
410          "xtype" : "Table",
411          "Boolean rowSelection" : true,
412          "$ xns" : "Roo.bootstrap",
413          "items" : [
414           {
415            "String header" : "",
416            "Number md" : 11,
417            "String dataIndex" : "name",
418            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.event(r.json);\n\t\t \n\t\t\t\n}",
419            "xtype" : "ColumnModel",
420            "$ xns" : "Roo.grid",
421            "* prop" : "cm[]"
422           },
423           {
424            "String header" : "<small>Defined by</small>",
425            "Number md" : 1,
426            "String dataIndex" : "memberOf",
427            "$ 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}",
428            "xtype" : "ColumnModel",
429            "Number xs" : 0,
430            "$ xns" : "Roo.grid",
431            "* prop" : "cm[]"
432           },
433           {
434            "xtype" : "Store",
435            "$ xns" : "Roo.data",
436            "* prop" : "store",
437            "items" : [
438             {
439              "xtype" : "ArrayReader",
440              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
441              "$ xns" : "Roo.data",
442              "* prop" : "reader"
443             },
444             {
445              "xtype" : "MemoryProxy",
446              "$ xns" : "Roo.data",
447              "* prop" : "proxy"
448             }
449            ]
450           }
451          ]
452         }
453        ]
454       }
455      ]
456     }
457    ]
458   }
459  ]
460 }