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