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 '232cedface5acac121a6e099364a2b07' :"source: ",
15 '9c5a24f0cbb12d939e4622b93bea904b' :"Public Methods",
16 '36cd38f49b9afa08222c0dc9ebfe35eb' :"source",
17 '50f33d14f129e4548c1c270fd6725a78' :"Configuration options",
18 'e64b94523532dbac62df6795a5153f04' :"doc-desc",
19 'd2b697ad8e989a6c4592987f22f5bbfc' :"doc-comments",
20 'f361257612a512f9be2fdc2abfb25aef' :"<small>Defined by</small>",
21 '494a64a432ff6a121e4ab9003c7a0df3' :"parentcls",
22 '9bd81329febf6efe22788e03ddeaf0af' :" Class ",
23 'f561aaf6ef0bf14d4208bb46a4ccb3ad' :"xxx",
24 'd41d8cd98f00b204e9800998ecf8427e' :" "
27 part : ["docs2", "docs" ],
28 order : '001-Roo.docs',
31 name : "unnamed module",
34 _tree : function(_data)
42 render : function (_self)
50 '|xns' : 'Roo.bootstrap',
54 cls : 'left-menu-sidebar',
55 style : 'padding-top:80px;',
57 render : function (_self)
59 // this.el.addClass(language);
64 '|xns' : 'Roo.bootstrap',
68 activeLookup : function()
72 var pathname = window.location.pathname.substring(baseURL.length);
78 if(pathname.match(/^\/Projects/)){
79 pathname = '/Projects';
82 var lookupPath = function(item)
84 if(typeof(item.href) == 'undefined' || !item.href.length || item.href == '#'){
88 item.el.removeClass('active');
90 var href = item.href.substring(baseURL.length);
96 item.el.addClass('active');
103 Roo.each(_this.navGroup.items, function(i){
105 var s = lookupPath(i);
111 if(typeof(i.menu) == 'undefined' || !i.menu.items.length){
115 Roo.each(i.menu.items, function(ii){
117 var ss = lookupPath(ii);
132 autoExpand : function()
136 _this.menu_expand = false;
138 var lookupMenu = function(menu, index){
140 if(menu.target == pagedata.page.target){
141 _this.menu_expand = index + 1;
145 if(!menu.children.length){
149 Roo.each(menu.children, function(c){
150 lookupMenu(c, index);
155 Roo.each(pagemenus, function(v, k){
161 if(_this.menu_expand === false){
165 if(typeof(_this.navGroup.items[_this.menu_expand].menu) == 'undefined'){
169 _this.navGroup.items[_this.menu_expand].menu.show(_this.navGroup.items[_this.menu_expand].el, false, false);
173 childrenrendered : function (_self)
175 _this.navGroup.autoExpand();
177 _this.navGroup.activeLookup();
179 render : function (_self)
181 _this.navGroup = this;
186 '|xns' : 'Roo.bootstrap',
192 style : 'position:fixed;top:0;z-Index:1000;',
194 '|xns' : 'Roo.bootstrap',
200 preventDefault : false,
202 '|xns' : 'Roo.bootstrap'
210 cls : 'left-menu-sidebar-options',
212 '|xns' : 'Roo.bootstrap',
217 '|xns' : 'Roo.bootstrap'
224 xtype : 'NavHeaderbar',
227 brand_href : baseURL + '/',
228 cls : 'mobile-header-menu',
230 position : 'fixed-top',
233 beforetoggle : function (_self)
235 _this.navGroup.autoExpand();
237 _this.navGroup.activeLookup();
239 _this.navHeaderBar.mask.show();
241 if(this.el.select('.navbar-collapse',true).first().hasClass('in')){
242 _this.navHeaderBar.mask.hide();
246 render : function (_self)
250 _this.navHeaderBar = this;
252 this.el.addClass(language);
254 var body = Roo.select('body', true).first();
261 this.mask = Roo.DomHelper.append(body, mark, true);
263 var size = body.getSize();
264 this.mask.setSize(size.width, size.height);
266 this.mask.setStyle('z-index', '1029');
268 this.mask.enableDisplayMode("block");
271 this.mask.on('click', function(){
273 this.el.select('.navbar-collapse',true).removeClass('in');
279 var maxHeight = Roo.lib.Dom.getViewHeight() - this.el.select('.navbar-header', true).first().getHeight();
281 this.el.select('.navbar-collapse', true).first().setStyle('max-height', maxHeight);
286 '|xns' : 'Roo.bootstrap'
290 cls : 'general-content-body',
292 render : function (_self)
294 _this.doc_body_content = this;
298 '|xns' : 'Roo.bootstrap',
302 style : 'margin: 0px;',
304 '|xns' : 'Roo.bootstrap',
309 style : 'padding-left: 0px;',
311 '|xns' : 'Roo.bootstrap',
315 cls : 'doc-header-container',
317 '|xns' : 'Roo.bootstrap',
321 html : _this._strings['9bd81329febf6efe22788e03ddeaf0af'] /* Class */,
324 '|xns' : 'Roo.bootstrap',
328 cls : 'doc-classname',
329 html : _this._strings['f561aaf6ef0bf14d4208bb46a4ccb3ad'] /* xxx */,
330 style : 'font-size: 24px;\n font-weight: bold;',
333 render : function (_self)
335 _this.doc_name = this
339 '|xns' : 'Roo.bootstrap'
343 cls : 'doc-extends-str',
344 html : _this._strings['ae635f08107a69569e636835f24e6f6f'] /* extends */,
347 render : function (_self)
349 _this.doc_extends_sep = this;
353 '|xns' : 'Roo.bootstrap',
358 html : _this._strings['494a64a432ff6a121e4ab9003c7a0df3'] /* parentcls */,
359 preventDefault : false,
364 if (this.el.dom.innerHTML.length) {
365 Roo.docs.init.loadDoc({ name : this.el.dom.innerHTML, is_class : true});
368 render : function (_self)
370 _this.doc_extends = this;
374 '|xns' : 'Roo.bootstrap'
382 html : _this._strings['232cedface5acac121a6e099364a2b07'] /* source: */,
385 '|xns' : 'Roo.bootstrap',
391 html : _this._strings['36cd38f49b9afa08222c0dc9ebfe35eb'] /* source */,
392 preventDefault : true,
397 Roo.log(["click", this]);
398 if (this.el.dom.innerHTML.length > 0) {
399 Roo.docs.loadSource();
402 render : function (_self)
404 _this.doc_source = this;
408 '|xns' : 'Roo.bootstrap'
417 html : _this._strings['e64b94523532dbac62df6795a5153f04'] /* doc-desc */,
419 render : function (_self)
421 _this.doc_desc = this;
425 '|xns' : 'Roo.bootstrap'
429 cls : 'doc-comments',
431 html : _this._strings['d2b697ad8e989a6c4592987f22f5bbfc'] /* doc-comments */,
433 '|xns' : 'Roo.bootstrap'
441 '|xns' : 'Roo.bootstrap',
445 cls : 'doc-augments',
446 header : _this._strings['3e6ec55e2dff4342e3f25b0b0b988de9'] /* Inheritance tree */,
449 render : function (_self)
451 _this.augments = this;
455 '|xns' : 'Roo.bootstrap'
463 cls : 'doc-table-container',
466 header : _this._strings['50f33d14f129e4548c1c270fd6725a78'] /* Configuration options */,
468 style : 'margin-top:15px',
470 render : function (_self)
472 _this.configTableContainer = this;
476 '|xns' : 'Roo.bootstrap',
483 render : function (_self)
485 _this.configTable = this;
487 rowclass : function (_self, rowcfg)
489 rowcfg.rowClass = rowcfg.record.json.expanded ? 'expanded' : '';
491 rowclick : function (_self, el, rowIndex, e)
493 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
497 var r = this.store.getAt(rowIndex);
498 r.json.expanded = !r.json.expanded ;
503 '|xns' : 'Roo.bootstrap',
509 xtype : 'MemoryProxy',
514 xtype : 'ArrayReader',
515 fields : [ 'name', 'type', 'desc', 'memberOf' ],
522 xtype : 'ColumnModel',
524 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
526 renderer : function(v,x,r) {
528 return Roo.docs.template.config(r.json);
536 xtype : 'ColumnModel',
537 dataIndex : 'memberOf',
538 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
540 renderer : function(v,x,r) {
541 if (r.json.memberOf == Roo.docs.init.currentClass) {
545 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';
557 cls : 'doc-table-container',
560 header : _this._strings['9c5a24f0cbb12d939e4622b93bea904b'] /* Public Methods */,
563 render : function (_self)
565 _this.methodsTableContainer = this;
569 '|xns' : 'Roo.bootstrap',
575 render : function (_self)
577 _this.methodsTable = this;
579 rowclass : function (_self, rowcfg)
581 rowcfg.rowClass = rowcfg.record.json.expanded ? 'expanded' : '';
583 rowclick : function (_self, el, rowIndex, e)
585 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
588 var r = this.store.getAt(rowIndex);
589 r.json.expanded = !r.json.expanded ;
594 '|xns' : 'Roo.bootstrap',
597 sortInfo : { field : 'name', direction : 'ASC' },
601 xtype : 'MemoryProxy',
606 xtype : 'ArrayReader',
607 fields : [ 'name', 'type', 'desc', 'memberOf' ],
614 xtype : 'ColumnModel',
616 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
618 renderer : function(v,x,r) {
620 return Roo.docs.template.method(r.json);
629 xtype : 'ColumnModel',
630 dataIndex : 'memberOf',
631 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
633 renderer : function(v,x,r) {
635 if (r.json.memberOf == Roo.docs.init.currentClass) {
638 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';
650 cls : 'doc-table-container',
653 header : _this._strings['87f9f735a1d36793ceaecd4e47124b63'] /* Events */,
656 render : function (_self)
658 _this.eventsTableContainer = this;
662 '|xns' : 'Roo.bootstrap',
668 render : function (_self)
670 _this.eventsTable = this;
672 rowclass : function (_self, rowcfg)
674 rowcfg.rowClass = rowcfg.record.json.expanded ? 'expanded' : '';
676 rowclick : function (_self, el, rowIndex, e)
678 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
681 var r = this.store.getAt(rowIndex);
682 r.json.expanded = !r.json.expanded ;
687 '|xns' : 'Roo.bootstrap',
693 xtype : 'MemoryProxy',
698 xtype : 'ArrayReader',
699 fields : [ 'name', 'type', 'desc', 'memberOf' ],
706 xtype : 'ColumnModel',
708 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
710 renderer : function(v,x,r) {
712 return Roo.docs.template.event(r.json);
720 xtype : 'ColumnModel',
721 dataIndex : 'memberOf',
722 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
724 renderer : function(v,x,r) {
725 if (r.json.memberOf == Roo.docs.init.currentClass) {
729 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';