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 '4d9ee8f98abde282da987fed0aac295c' :"Children that can be added using addxtype({...})",
15 '9b34238e8113db140b452beec500024b' :"Roo JS Documentation",
16 '50f33d14f129e4548c1c270fd6725a78' :"Configuration options",
17 'e64b94523532dbac62df6795a5153f04' :"doc-desc",
18 '3673e725413179fe76f341ed908a5c36' :"Defined in: ",
19 'd2b697ad8e989a6c4592987f22f5bbfc' :"doc-comments",
20 'f361257612a512f9be2fdc2abfb25aef' :"<small>Defined by</small>",
21 '494a64a432ff6a121e4ab9003c7a0df3' :"parentcls",
22 '3c81cc62cd8a24b231d0c0db34feda61' :"Implementations",
23 'f561aaf6ef0bf14d4208bb46a4ccb3ad' :"xxx",
24 '9bd81329febf6efe22788e03ddeaf0af' :" Class ",
25 'a1d108496af420635536a4e29e87d42b' :"Constructor, Static and Public Methods",
26 'd41d8cd98f00b204e9800998ecf8427e' :" "
29 part : ["docs", "docs" ],
30 order : '001-Roo.docs',
33 name : "unnamed module",
36 _tree : function(_data)
44 render : function (_self)
52 '|xns' : 'Roo.bootstrap',
56 cls : 'left-menu-sidebar',
58 render : function (_self)
61 // this.el.addClass(language);
66 '|xns' : 'Roo.bootstrap',
70 activeLookup : function()
74 var pathname = window.location.pathname.substring(baseURL.length);
80 if(pathname.match(/^\/Projects/)){
81 pathname = '/Projects';
84 var lookupPath = function(item)
86 if(typeof(item.href) == 'undefined' || !item.href.length || item.href == '#'){
90 item.el.removeClass('active');
92 var href = item.href.substring(baseURL.length);
98 item.el.addClass('active');
105 Roo.each(_this.navGroup.items, function(i){
107 var s = lookupPath(i);
113 if(typeof(i.menu) == 'undefined' || !i.menu.items.length){
117 Roo.each(i.menu.items, function(ii){
119 var ss = lookupPath(ii);
134 autoExpand : function()
138 _this.menu_expand = false;
140 var lookupMenu = function(menu, index){
142 if(menu.target == pagedata.page.target){
143 _this.menu_expand = index + 1;
147 if(!menu.children.length){
151 Roo.each(menu.children, function(c){
152 lookupMenu(c, index);
157 Roo.each(pagemenus, function(v, k){
163 if(_this.menu_expand === false){
167 if(typeof(_this.navGroup.items[_this.menu_expand].menu) == 'undefined'){
171 _this.navGroup.items[_this.menu_expand].menu.show(_this.navGroup.items[_this.menu_expand].el, false, false);
175 childrenrendered : function (_self)
177 _this.navGroup.autoExpand();
179 _this.navGroup.activeLookup();
181 render : function (_self)
183 _this.navGroup = this;
188 '|xns' : 'Roo.bootstrap',
194 style : 'position:fixed;top:0;z-Index:1000;',
196 '|xns' : 'Roo.bootstrap',
202 preventDefault : true,
206 document.location.hash = '#';
210 '|xns' : 'Roo.bootstrap'
218 cls : 'left-menu-sidebar-options',
220 '|xns' : 'Roo.bootstrap',
225 '|xns' : 'Roo.bootstrap'
232 xtype : 'NavHeaderbar',
236 cls : 'mobile-header-menu',
238 position : 'fixed-top',
241 beforetoggle : function (_self)
243 // _this.mobileNavGroup.autoExpand();
247 render : function (_self)
250 _this.navHeaderBar = this;
253 var body = Roo.select('body', true).first();
260 this.mask = Roo.DomHelper.append(body, mark, true);
262 var size = body.getSize();
263 this.mask.setSize(size.width, size.height);
265 this.mask.setStyle('z-index', '1029');
267 this.mask.enableDisplayMode("block");
270 this.mask.on('click', function(){
272 this.el.select('.navbar-collapse',true).removeClass('in');
278 var maxHeight = Roo.lib.Dom.getViewHeight() - this.el.select('.navbar-header', true).first().getHeight();
280 this.el.select('.navbar-collapse', true).first().setStyle('max-height', maxHeight);
285 '|xns' : 'Roo.bootstrap',
290 render : function (_self)
292 _this.mobileNavGroup = this;
296 '|xns' : 'Roo.bootstrap'
302 cls : 'general-content-body general-content-intro',
304 render : function (_self)
306 _this.introContainer = this;
310 '|xns' : 'Roo.bootstrap',
314 html : _this._strings['9b34238e8113db140b452beec500024b'] /* Roo JS Documentation */,
317 render : function (_self)
319 _this.roo_title = this;
323 '|xns' : 'Roo.bootstrap'
328 render : function (_self)
330 _this.introBody = this;
334 '|xns' : 'Roo.bootstrap'
340 cls : 'general-content-body',
342 render : function (_self)
344 _this.doc_body_content = this;
348 '|xns' : 'Roo.bootstrap',
352 style : 'margin: 0px;',
354 '|xns' : 'Roo.bootstrap',
360 '|xns' : 'Roo.bootstrap',
364 cls : 'doc-header-container',
366 '|xns' : 'Roo.bootstrap',
370 html : _this._strings['9bd81329febf6efe22788e03ddeaf0af'] /* Class */,
373 render : function (_self)
375 _this.classType = this;
379 '|xns' : 'Roo.bootstrap',
383 cls : 'doc-classname',
384 html : _this._strings['f561aaf6ef0bf14d4208bb46a4ccb3ad'] /* xxx */,
385 style : 'font-size: 24px;\n font-weight: bold;',
388 render : function (_self)
390 _this.doc_name = this
394 '|xns' : 'Roo.bootstrap'
398 cls : 'doc-extends-str',
399 html : _this._strings['ae635f08107a69569e636835f24e6f6f'] /* extends */,
402 render : function (_self)
404 _this.doc_extends_sep = this;
408 '|xns' : 'Roo.bootstrap',
413 html : _this._strings['494a64a432ff6a121e4ab9003c7a0df3'] /* parentcls */,
414 preventDefault : true,
419 if (this.el.dom.innerHTML.length) {
420 document.location.hash = '#' + this.el.dom.innerHTML;
424 render : function (_self)
426 _this.doc_extends = this;
430 '|xns' : 'Roo.bootstrap'
438 html : _this._strings['3673e725413179fe76f341ed908a5c36'] /* Defined in: */,
441 render : function (_self)
443 _this.doc_source_row = this;
447 '|xns' : 'Roo.bootstrap',
453 html : _this._strings['3673e725413179fe76f341ed908a5c36'] /* Defined in: */,
454 preventDefault : true,
459 Roo.log(["click", this]);
460 if (this.el.dom.innerHTML.length > 0) {
461 Roo.docs.init.loadSource();
464 render : function (_self)
466 _this.doc_source = this;
470 '|xns' : 'Roo.bootstrap'
479 html : _this._strings['e64b94523532dbac62df6795a5153f04'] /* doc-desc */,
481 render : function (_self)
483 _this.doc_desc = this;
487 '|xns' : 'Roo.bootstrap'
491 cls : 'doc-comments',
493 html : _this._strings['d2b697ad8e989a6c4592987f22f5bbfc'] /* doc-comments */,
495 '|xns' : 'Roo.bootstrap'
499 cls : 'doc-table-container',
502 header : _this._strings['50f33d14f129e4548c1c270fd6725a78'] /* Configuration options */,
504 style : 'margin-top:15px',
506 render : function (_self)
508 _this.configTableContainer = this;
512 '|xns' : 'Roo.bootstrap',
520 render : function (_self)
522 _this.configTable = this;
524 rowclass : function (_self, rowcfg)
526 rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member ';
527 rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');
529 rowclick : function (_self, el, rowIndex, e)
531 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
535 var r = this.store.getAt(rowIndex);
536 r.json.expanded = !r.json.expanded ;
541 '|xns' : 'Roo.bootstrap',
547 xtype : 'MemoryProxy',
552 xtype : 'ArrayReader',
553 fields : [ 'name', 'type', 'desc', 'memberOf' ],
560 xtype : 'ColumnModel',
562 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
563 renderer : function(v,x,r) {
565 return Roo.docs.template.config(r.json);
574 xtype : 'ColumnModel',
575 dataIndex : 'memberOf',
576 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
577 renderer : function(v,x,r) {
578 if (r.json.memberOf == Roo.docs.init.currentClass) {
582 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';
595 cls : 'doc-table-container',
598 header : _this._strings['a1d108496af420635536a4e29e87d42b'] /* Constructor, Static and Public Methods */,
601 render : function (_self)
603 _this.methodsTableContainer = this;
607 '|xns' : 'Roo.bootstrap',
614 render : function (_self)
616 _this.methodsTable = this;
618 rowclass : function (_self, rowcfg)
620 var j = rowcfg.record.json;
621 var rc = j.memberOf == Roo.docs.init.currentClass || j.isConstructor ? 'doc-added-member ' : 'doc-not-member ';
622 rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');
624 rowclick : function (_self, el, rowIndex, e)
626 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
629 var r = this.store.getAt(rowIndex);
630 r.json.expanded = !r.json.expanded ;
635 '|xns' : 'Roo.bootstrap',
638 sortInfo : { field : 'name', direction : 'ASC' },
642 xtype : 'MemoryProxy',
647 xtype : 'ArrayReader',
648 fields : [ 'name', 'type', 'desc', 'memberOf' ],
655 xtype : 'ColumnModel',
657 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
658 renderer : function(v,x,r) {
660 return Roo.docs.template.method(r.json);
670 xtype : 'ColumnModel',
671 dataIndex : 'memberOf',
672 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
673 renderer : function(v,x,r) {
675 if (r.json.memberOf == Roo.docs.init.currentClass) {
678 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';
691 cls : 'doc-table-container',
694 header : _this._strings['87f9f735a1d36793ceaecd4e47124b63'] /* Events */,
697 render : function (_self)
699 _this.eventsTableContainer = this;
703 '|xns' : 'Roo.bootstrap',
710 render : function (_self)
712 _this.eventsTable = this;
714 rowclass : function (_self, rowcfg)
716 rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member ';
717 rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : '');
719 rowclick : function (_self, el, rowIndex, e)
721 if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') {
724 var r = this.store.getAt(rowIndex);
725 r.json.expanded = !r.json.expanded ;
730 '|xns' : 'Roo.bootstrap',
736 xtype : 'MemoryProxy',
741 xtype : 'ArrayReader',
742 fields : [ 'name', 'type', 'desc', 'memberOf' ],
749 xtype : 'ColumnModel',
751 header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */,
753 renderer : function(v,x,r) {
755 return Roo.docs.template.event(r.json);
763 xtype : 'ColumnModel',
764 dataIndex : 'memberOf',
765 header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* <small>Defined by</small> */,
767 renderer : function(v,x,r) {
768 if (r.json.memberOf == Roo.docs.init.currentClass) {
772 return '<small><a href="#' + r.json.memberOf + '">' + r.json.memberOf + '</a></small>';
789 '|xns' : 'Roo.bootstrap',
793 cls : 'doc-augments',
794 header : _this._strings['3e6ec55e2dff4342e3f25b0b0b988de9'] /* Inheritance tree */,
797 render : function (_self)
799 _this.augments = this;
803 '|xns' : 'Roo.bootstrap'
807 cls : 'doc-implementors',
808 header : _this._strings['3c81cc62cd8a24b231d0c0db34feda61'] /* Implementations */,
811 render : function (_self)
813 _this.implementors = this;
817 '|xns' : 'Roo.bootstrap'
821 cls : 'doc-children',
822 header : _this._strings['4d9ee8f98abde282da987fed0aac295c'] /* Children that can be added using addxtype({...}) */,
825 render : function (_self)
827 _this.doc_children = this;
831 '|xns' : 'Roo.bootstrap'