1 //<script type="text/javascript">
3 // Auto generated file - created by app.Builder.js- do not edit directly (at present!)
7 Roo.docs = new Roo.XComponent({
10 '3e6ec55e2dff4342e3f25b0b0b988de9' :"Inheritance tree",
11 'ae635f08107a69569e636835f24e6f6f' :" extends ",
12 '87f9f735a1d36793ceaecd4e47124b63' :"Events",
13 'd41d8cd98f00b204e9800998ecf8427e' :"",
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 'd41d8cd98f00b204e9800998ecf8427e' :" "
28 part : ["docs", "docs" ],
29 order : '001-Roo.docs',
32 name : "unnamed module",
35 _tree : function(_data)
43 render : function (_self)
51 '|xns' : 'Roo.bootstrap',
55 cls : 'left-menu-sidebar',
57 render : function (_self)
60 // this.el.addClass(language);
65 '|xns' : 'Roo.bootstrap',
69 activeLookup : function()
73 var pathname = window.location.pathname.substring(baseURL.length);
79 if(pathname.match(/^\/Projects/)){
80 pathname = '/Projects';
83 var lookupPath = function(item)
85 if(typeof(item.href) == 'undefined' || !item.href.length || item.href == '#'){
89 item.el.removeClass('active');
91 var href = item.href.substring(baseURL.length);
97 item.el.addClass('active');
104 Roo.each(_this.navGroup.items, function(i){
106 var s = lookupPath(i);
112 if(typeof(i.menu) == 'undefined' || !i.menu.items.length){
116 Roo.each(i.menu.items, function(ii){
118 var ss = lookupPath(ii);
133 autoExpand : function()
137 _this.menu_expand = false;
139 var lookupMenu = function(menu, index){
141 if(menu.target == pagedata.page.target){
142 _this.menu_expand = index + 1;
146 if(!menu.children.length){
150 Roo.each(menu.children, function(c){
151 lookupMenu(c, index);
156 Roo.each(pagemenus, function(v, k){
162 if(_this.menu_expand === false){
166 if(typeof(_this.navGroup.items[_this.menu_expand].menu) == 'undefined'){
170 _this.navGroup.items[_this.menu_expand].menu.show(_this.navGroup.items[_this.menu_expand].el, false, false);
174 childrenrendered : function (_self)
176 _this.navGroup.autoExpand();
178 _this.navGroup.activeLookup();
180 render : function (_self)
182 _this.navGroup = this;
187 '|xns' : 'Roo.bootstrap',
193 style : 'position:fixed;top:0;z-Index:1000;',
195 '|xns' : 'Roo.bootstrap',
201 preventDefault : true,
205 document.location.hash = '#';
209 '|xns' : 'Roo.bootstrap'
217 cls : 'left-menu-sidebar-options',
219 '|xns' : 'Roo.bootstrap',
224 '|xns' : 'Roo.bootstrap'
231 xtype : 'NavHeaderbar',
235 cls : 'mobile-header-menu',
237 position : 'fixed-top',
240 beforetoggle : function (_self)
242 // _this.mobileNavGroup.autoExpand();
246 render : function (_self)
249 _this.navHeaderBar = this;
252 var body = Roo.select('body', true).first();
259 this.mask = Roo.DomHelper.append(body, mark, true);
261 var size = body.getSize();
262 this.mask.setSize(size.width, size.height);
264 this.mask.setStyle('z-index', '1029');
266 this.mask.enableDisplayMode("block");
269 this.mask.on('click', function(){
271 this.el.select('.navbar-collapse',true).removeClass('in');
277 var maxHeight = Roo.lib.Dom.getViewHeight() - this.el.select('.navbar-header', true).first().getHeight();
279 this.el.select('.navbar-collapse', true).first().setStyle('max-height', maxHeight);
284 '|xns' : 'Roo.bootstrap',
289 render : function (_self)
291 _this.mobileNavGroup = this;
295 '|xns' : 'Roo.bootstrap'
301 cls : 'general-content-body general-content-intro',
303 render : function (_self)
305 _this.introContainer = this;
309 '|xns' : 'Roo.bootstrap',
313 html : _this._strings['9b34238e8113db140b452beec500024b'] /* Roo JS Documentation */,
316 render : function (_self)
318 _this.roo_title = this;
322 '|xns' : 'Roo.bootstrap'
327 render : function (_self)
329 _this.introBody = this;
333 '|xns' : 'Roo.bootstrap'
339 cls : 'general-content-body',
341 render : function (_self)
343 _this.doc_body_content = this;
347 '|xns' : 'Roo.bootstrap',
351 style : 'margin: 0px;',
353 '|xns' : 'Roo.bootstrap',
359 '|xns' : 'Roo.bootstrap',
363 cls : 'doc-header-container',
365 '|xns' : 'Roo.bootstrap',
369 html : _this._strings['9bd81329febf6efe22788e03ddeaf0af'] /* Class */,
372 render : function (_self)
374 _this.classType = this;
378 '|xns' : 'Roo.bootstrap',
382 cls : 'doc-classname',
383 html : _this._strings['f561aaf6ef0bf14d4208bb46a4ccb3ad'] /* xxx */,
384 style : 'font-size: 24px;\n font-weight: bold;',
387 render : function (_self)
389 _this.doc_name = this
393 '|xns' : 'Roo.bootstrap'
397 cls : 'doc-extends-str',
398 html : _this._strings['ae635f08107a69569e636835f24e6f6f'] /* extends */,
401 render : function (_self)
403 _this.doc_extends_sep = this;
407 '|xns' : 'Roo.bootstrap',
412 html : _this._strings['494a64a432ff6a121e4ab9003c7a0df3'] /* parentcls */,
413 preventDefault : true,
418 if (this.el.dom.innerHTML.length) {
419 document.location.hash = '#' + this.el.dom.innerHTML;
423 render : function (_self)
425 _this.doc_extends = this;
429 '|xns' : 'Roo.bootstrap'
437 html : _this._strings['3673e725413179fe76f341ed908a5c36'] /* Defined in: */,
440 render : function (_self)
442 _this.doc_source_row = this;
446 '|xns' : 'Roo.bootstrap',
452 html : _this._strings['3673e725413179fe76f341ed908a5c36'] /* Defined in: */,
453 preventDefault : true,
458 Roo.log(["click", this]);
459 if (this.el.dom.innerHTML.length > 0) {
460 Roo.docs.init.loadSource();
463 render : function (_self)
465 _this.doc_source = this;
469 '|xns' : 'Roo.bootstrap'
478 html : _this._strings['e64b94523532dbac62df6795a5153f04'] /* doc-desc */,
480 render : function (_self)
482 _this.doc_desc = this;
486 '|xns' : 'Roo.bootstrap'
490 cls : 'doc-comments',
492 html : _this._strings['d2b697ad8e989a6c4592987f22f5bbfc'] /* doc-comments */,
494 '|xns' : 'Roo.bootstrap'
502 '|xns' : 'Roo.bootstrap',
506 cls : 'doc-augments',
507 header : _this._strings['3e6ec55e2dff4342e3f25b0b0b988de9'] /* Inheritance tree */,
510 render : function (_self)
512 _this.augments = this;
516 '|xns' : 'Roo.bootstrap'
520 cls : 'doc-implementors',
521 header : _this._strings['3c81cc62cd8a24b231d0c0db34feda61'] /* Implementations */,
524 render : function (_self)
526 _this.implementors = this;
530 '|xns' : 'Roo.bootstrap'
538 cls : 'doc-table-container',
541 header : _this._strings['50f33d14f129e4548c1c270fd6725a78'] /* Configuration options */,
543 style : 'margin-top:15px',
545 render : function (_self)
547 _this.configTableContainer = this;
551 '|xns' : 'Roo.bootstrap',
558 render : function (_self)
560 _this.configTable = this;
562 rowclass : function (_self, rowcfg)
564 rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member ';
565 rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');
567 rowclick : function (_self, el, rowIndex, e)
569 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
573 var r = this.store.getAt(rowIndex);
574 r.json.expanded = !r.json.expanded ;
579 '|xns' : 'Roo.bootstrap',
585 xtype : 'MemoryProxy',
590 xtype : 'ArrayReader',
591 fields : [ 'name', 'type', 'desc', 'memberOf' ],
598 xtype : 'ColumnModel',
600 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
602 renderer : function(v,x,r) {
604 return Roo.docs.template.config(r.json);
612 xtype : 'ColumnModel',
613 dataIndex : 'memberOf',
614 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
616 renderer : function(v,x,r) {
617 if (r.json.memberOf == Roo.docs.init.currentClass) {
621 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';
634 cls : 'doc-table-container',
637 header : _this._strings['a1d108496af420635536a4e29e87d42b'] /* Constructor, Static and Public Methods */,
640 render : function (_self)
642 _this.methodsTableContainer = this;
646 '|xns' : 'Roo.bootstrap',
652 render : function (_self)
654 _this.methodsTable = this;
656 rowclass : function (_self, rowcfg)
658 var j = rowcfg.record.json;
659 var rc = j.memberOf == Roo.docs.init.currentClass || j.isConstructor ? 'doc-added-member ' : 'doc-not-member ';
660 rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');
662 rowclick : function (_self, el, rowIndex, e)
664 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
667 var r = this.store.getAt(rowIndex);
668 r.json.expanded = !r.json.expanded ;
673 '|xns' : 'Roo.bootstrap',
676 sortInfo : { field : 'name', direction : 'ASC' },
680 xtype : 'MemoryProxy',
685 xtype : 'ArrayReader',
686 fields : [ 'name', 'type', 'desc', 'memberOf' ],
693 xtype : 'ColumnModel',
695 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
697 renderer : function(v,x,r) {
699 return Roo.docs.template.method(r.json);
708 xtype : 'ColumnModel',
709 dataIndex : 'memberOf',
710 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
712 renderer : function(v,x,r) {
714 if (r.json.memberOf == Roo.docs.init.currentClass) {
717 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';
730 cls : 'doc-table-container',
733 header : _this._strings['87f9f735a1d36793ceaecd4e47124b63'] /* Events */,
736 render : function (_self)
738 _this.eventsTableContainer = this;
742 '|xns' : 'Roo.bootstrap',
748 render : function (_self)
750 _this.eventsTable = this;
752 rowclass : function (_self, rowcfg)
754 rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member ';
755 rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');
757 rowclick : function (_self, el, rowIndex, e)
759 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
762 var r = this.store.getAt(rowIndex);
763 r.json.expanded = !r.json.expanded ;
768 '|xns' : 'Roo.bootstrap',
774 xtype : 'MemoryProxy',
779 xtype : 'ArrayReader',
780 fields : [ 'name', 'type', 'desc', 'memberOf' ],
787 xtype : 'ColumnModel',
789 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
791 renderer : function(v,x,r) {
793 return Roo.docs.template.event(r.json);
801 xtype : 'ColumnModel',
802 dataIndex : 'memberOf',
803 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
805 renderer : function(v,x,r) {
806 if (r.json.memberOf == Roo.docs.init.currentClass) {
810 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';