f75e1b69c20286af6ac9aed8659be3373fc9136b
[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        "$ xns" : "Roo.bootstrap",
120        "Number level" : 1,
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              "$ xns" : "Roo.bootstrap",
158              "Number level" : 4,
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              "xtype" : "Header",
199              "Number level" : 5,
200              "$ xns" : "Roo.bootstrap",
201              "String html" : "Defined in: ",
202              "items" : [
203               {
204                "listeners" : {
205                 "render" : "function (_self)\n{\n    _this.doc_source = this;\n}",
206                 "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}"
207                },
208                "String cls" : "doc-source",
209                "String href" : "#",
210                "Boolean preventDefault" : true,
211                "xtype" : "Link",
212                "$ xns" : "Roo.bootstrap",
213                "String html" : "Defined in: "
214               }
215              ]
216             }
217            ]
218           },
219           {
220            "listeners" : {
221             "render" : "function (_self)\n{\n    _this.doc_desc = this;\n}"
222            },
223            "String cls" : "doc-desc",
224            "xtype" : "Container",
225            "$ xns" : "Roo.bootstrap",
226            "String html" : "doc-desc"
227           },
228           {
229            "String cls" : "doc-comments",
230            "xtype" : "Container",
231            "$ xns" : "Roo.bootstrap",
232            "String html" : "doc-comments",
233            "Boolean hidden" : true
234           }
235          ]
236         },
237         {
238          "Number md" : 3,
239          "xtype" : "Column",
240          "$ xns" : "Roo.bootstrap",
241          "items" : [
242           {
243            "listeners" : {
244             "render" : "function (_self)\n{\n    _this.augments  = this;\n}"
245            },
246            "String header" : "Inheritance tree",
247            "String cls" : "doc-augments",
248            "xtype" : "Container",
249            "String panel" : "primary",
250            "$ xns" : "Roo.bootstrap"
251           }
252          ]
253         }
254        ]
255       },
256       {
257        "listeners" : {
258         "render" : "function (_self)\n{\n    _this.configTableContainer = this;\n}"
259        },
260        "String header" : "Configuration options",
261        "String cls" : "doc-table-container",
262        "Boolean expanded" : true,
263        "xtype" : "Container",
264        "String panel" : "primary",
265        "$ xns" : "Roo.bootstrap",
266        "String style" : "margin-top:15px",
267        "Boolean expandable" : true,
268        "items" : [
269         {
270          "listeners" : {
271           "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}",
272           "render" : "function (_self)\n{\n    _this.configTable = this;\n}",
273           "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}"
274          },
275          "boolean striped" : true,
276          "xtype" : "Table",
277          "Boolean rowSelection" : true,
278          "$ xns" : "Roo.bootstrap",
279          "items" : [
280           {
281            "String header" : "",
282            "String dataIndex" : "name",
283            "Number md" : 11,
284            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.config(r.json);\n\n\t\t\t\n}",
285            "xtype" : "ColumnModel",
286            "$ xns" : "Roo.grid",
287            "* prop" : "cm[]"
288           },
289           {
290            "String header" : "<small>Defined by</small>",
291            "String dataIndex" : "memberOf",
292            "Number md" : 1,
293            "$ 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}",
294            "xtype" : "ColumnModel",
295            "Number xs" : 0,
296            "$ xns" : "Roo.grid",
297            "* prop" : "cm[]"
298           },
299           {
300            "xtype" : "Store",
301            "$ xns" : "Roo.data",
302            "* prop" : "store",
303            "items" : [
304             {
305              "xtype" : "MemoryProxy",
306              "$ xns" : "Roo.data",
307              "* prop" : "proxy"
308             },
309             {
310              "xtype" : "ArrayReader",
311              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
312              "$ xns" : "Roo.data",
313              "* prop" : "reader"
314             }
315            ]
316           }
317          ]
318         }
319        ]
320       },
321       {
322        "listeners" : {
323         "render" : "function (_self)\n{\n    _this.methodsTableContainer = this;\n}"
324        },
325        "String header" : "Constructor, Static and Public Methods",
326        "String cls" : "doc-table-container",
327        "Boolean expanded" : true,
328        "String panel" : "primary",
329        "xtype" : "Container",
330        "$ xns" : "Roo.bootstrap",
331        "Boolean expandable" : true,
332        "items" : [
333         {
334          "listeners" : {
335           "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}",
336           "render" : "function (_self)\n{\n    _this.methodsTable = this;\n}",
337           "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}"
338          },
339          "xtype" : "Table",
340          "Boolean rowSelection" : true,
341          "$ xns" : "Roo.bootstrap",
342          "items" : [
343           {
344            "String header" : " ",
345            "Number md" : 11,
346            "String dataIndex" : "name",
347            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.method(r.json);\n\t\t \n\t\t\t\n}",
348            "xtype" : "ColumnModel",
349            "$ xns" : "Roo.grid",
350            "Boolean sortable" : false,
351            "* prop" : "cm[]"
352           },
353           {
354            "String header" : "<small>Defined by</small>",
355            "Number md" : 1,
356            "String dataIndex" : "memberOf",
357            "$ 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}",
358            "xtype" : "ColumnModel",
359            "Number xs" : 0,
360            "$ xns" : "Roo.grid",
361            "* prop" : "cm[]"
362           },
363           {
364            "$ Object sortInfo" : "{ field : 'name', direction : 'ASC' }",
365            "xtype" : "Store",
366            "$ xns" : "Roo.data",
367            "* prop" : "store",
368            "items" : [
369             {
370              "xtype" : "MemoryProxy",
371              "$ xns" : "Roo.data",
372              "* prop" : "proxy"
373             },
374             {
375              "xtype" : "ArrayReader",
376              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
377              "$ xns" : "Roo.data",
378              "* prop" : "reader"
379             }
380            ]
381           }
382          ]
383         }
384        ]
385       },
386       {
387        "listeners" : {
388         "render" : "function (_self)\n{\n    _this.eventsTableContainer   = this;\n}"
389        },
390        "String header" : "Events",
391        "String cls" : "doc-table-container",
392        "Boolean expanded" : true,
393        "xtype" : "Container",
394        "String panel" : "primary",
395        "$ xns" : "Roo.bootstrap",
396        "Boolean expandable" : true,
397        "items" : [
398         {
399          "listeners" : {
400           "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}",
401           "render" : "function (_self)\n{\n    _this.eventsTable = this;\n}",
402           "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}"
403          },
404          "xtype" : "Table",
405          "Boolean rowSelection" : true,
406          "$ xns" : "Roo.bootstrap",
407          "items" : [
408           {
409            "String header" : "",
410            "String dataIndex" : "name",
411            "Number md" : 11,
412            "$ Function renderer" : "function(v,x,r) { \n\n    return Roo.docs.template.event(r.json);\n\t\t \n\t\t\t\n}",
413            "xtype" : "ColumnModel",
414            "$ xns" : "Roo.grid",
415            "* prop" : "cm[]"
416           },
417           {
418            "String header" : "<small>Defined by</small>",
419            "String dataIndex" : "memberOf",
420            "Number md" : 1,
421            "$ 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}",
422            "xtype" : "ColumnModel",
423            "Number xs" : 0,
424            "$ xns" : "Roo.grid",
425            "* prop" : "cm[]"
426           },
427           {
428            "xtype" : "Store",
429            "$ xns" : "Roo.data",
430            "* prop" : "store",
431            "items" : [
432             {
433              "xtype" : "ArrayReader",
434              "$ xns" : "Roo.data",
435              "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]",
436              "* prop" : "reader"
437             },
438             {
439              "xtype" : "MemoryProxy",
440              "$ xns" : "Roo.data",
441              "* prop" : "proxy"
442             }
443            ]
444           }
445          ]
446         }
447        ]
448       }
449      ]
450     }
451    ]
452   }
453  ]
454 }