X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2FRoo.docs.js;h=b65fbb079897fd00eb74c71b9f6a7548cc23557d;hb=75cbc4ce04c9c01ac47671cb01320ce699128d00;hp=b5b8a1e5b23f52fa4e6a80df8007d5dd120b4cb8;hpb=b0cc5a1d0a1a924e2417396e02ce8d36e75a72e5;p=roojs1 diff --git a/docs/Roo.docs.js b/docs/Roo.docs.js index b5b8a1e5b2..b65fbb0798 100644 --- a/docs/Roo.docs.js +++ b/docs/Roo.docs.js @@ -11,6 +11,7 @@ Roo.docs = new Roo.XComponent({ 'ae635f08107a69569e636835f24e6f6f' :" extends ", '87f9f735a1d36793ceaecd4e47124b63' :"Events", 'd41d8cd98f00b204e9800998ecf8427e' :"", + '4d9ee8f98abde282da987fed0aac295c' :"Children that can be added using addxtype({...})", '9b34238e8113db140b452beec500024b' :"Roo JS Documentation", '50f33d14f129e4548c1c270fd6725a78' :"Configuration options", 'e64b94523532dbac62df6795a5153f04' :"doc-desc", @@ -492,6 +493,292 @@ Roo.docs = new Roo.XComponent({ html : _this._strings['d2b697ad8e989a6c4592987f22f5bbfc'] /* doc-comments */, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' + }, + { + xtype : 'Container', + cls : 'doc-table-container', + expandable : true, + expanded : true, + header : _this._strings['50f33d14f129e4548c1c270fd6725a78'] /* Configuration options */, + panel : 'primary', + style : 'margin-top:15px', + listeners : { + render : function (_self) + { + _this.configTableContainer = this; + } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + items : [ + { + xtype : 'Table', + responsive : true, + rowSelection : true, + striped : true, + listeners : { + render : function (_self) + { + _this.configTable = this; + }, + rowclass : function (_self, rowcfg) + { + rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member '; + rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); + }, + rowclick : function (_self, el, rowIndex, e) + { + if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { + return false; + } + + var r = this.store.getAt(rowIndex); + r.json.expanded = !r.json.expanded ; + this.refreshRow(r); + } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + store : { + xtype : 'Store', + xns : Roo.data, + '|xns' : 'Roo.data', + proxy : { + xtype : 'MemoryProxy', + xns : Roo.data, + '|xns' : 'Roo.data' + }, + reader : { + xtype : 'ArrayReader', + fields : [ 'name', 'type', 'desc', 'memberOf' ], + xns : Roo.data, + '|xns' : 'Roo.data' + } + }, + cm : [ + { + xtype : 'ColumnModel', + dataIndex : 'name', + header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, + renderer : function(v,x,r) { + + return Roo.docs.template.config(r.json); + + + }, + xs : 11, + xns : Roo.grid, + '|xns' : 'Roo.grid' + }, + { + xtype : 'ColumnModel', + dataIndex : 'memberOf', + header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, + renderer : function(v,x,r) { + if (r.json.memberOf == Roo.docs.init.currentClass) { + return ''; + } + + return '' + r.json.memberOf + ''; + + }, + xs : 1, + xns : Roo.grid, + '|xns' : 'Roo.grid' + } + ] + } + ] + }, + { + xtype : 'Container', + cls : 'doc-table-container', + expandable : true, + expanded : true, + header : _this._strings['a1d108496af420635536a4e29e87d42b'] /* Constructor, Static and Public Methods */, + panel : 'primary', + listeners : { + render : function (_self) + { + _this.methodsTableContainer = this; + } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + items : [ + { + xtype : 'Table', + responsive : true, + rowSelection : true, + listeners : { + render : function (_self) + { + _this.methodsTable = this; + }, + rowclass : function (_self, rowcfg) + { + var j = rowcfg.record.json; + var rc = j.memberOf == Roo.docs.init.currentClass || j.isConstructor ? 'doc-added-member ' : 'doc-not-member '; + rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); + }, + rowclick : function (_self, el, rowIndex, e) + { + if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { + return false; + } + var r = this.store.getAt(rowIndex); + r.json.expanded = !r.json.expanded ; + this.refreshRow(r); + } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + store : { + xtype : 'Store', + sortInfo : { field : 'name', direction : 'ASC' }, + xns : Roo.data, + '|xns' : 'Roo.data', + proxy : { + xtype : 'MemoryProxy', + xns : Roo.data, + '|xns' : 'Roo.data' + }, + reader : { + xtype : 'ArrayReader', + fields : [ 'name', 'type', 'desc', 'memberOf' ], + xns : Roo.data, + '|xns' : 'Roo.data' + } + }, + cm : [ + { + xtype : 'ColumnModel', + dataIndex : 'name', + header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, + renderer : function(v,x,r) { + + return Roo.docs.template.method(r.json); + + + }, + sm : 11, + sortable : false, + xns : Roo.grid, + '|xns' : 'Roo.grid' + }, + { + xtype : 'ColumnModel', + dataIndex : 'memberOf', + header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, + renderer : function(v,x,r) { + + if (r.json.memberOf == Roo.docs.init.currentClass) { + return ''; + } + return '' + r.json.memberOf + ''; + + }, + sm : 1, + xns : Roo.grid, + '|xns' : 'Roo.grid' + } + ] + } + ] + }, + { + xtype : 'Container', + cls : 'doc-table-container', + expandable : true, + expanded : true, + header : _this._strings['87f9f735a1d36793ceaecd4e47124b63'] /* Events */, + panel : 'primary', + listeners : { + render : function (_self) + { + _this.eventsTableContainer = this; + } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + items : [ + { + xtype : 'Table', + responsive : true, + rowSelection : true, + listeners : { + render : function (_self) + { + _this.eventsTable = this; + }, + rowclass : function (_self, rowcfg) + { + rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member '; + rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); + }, + rowclick : function (_self, el, rowIndex, e) + { + if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { + return false; + } + var r = this.store.getAt(rowIndex); + r.json.expanded = !r.json.expanded ; + this.refreshRow(r); + } + }, + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap', + store : { + xtype : 'Store', + xns : Roo.data, + '|xns' : 'Roo.data', + proxy : { + xtype : 'MemoryProxy', + xns : Roo.data, + '|xns' : 'Roo.data' + }, + reader : { + xtype : 'ArrayReader', + fields : [ 'name', 'type', 'desc', 'memberOf' ], + xns : Roo.data, + '|xns' : 'Roo.data' + } + }, + cm : [ + { + xtype : 'ColumnModel', + dataIndex : 'name', + header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, + md : 11, + renderer : function(v,x,r) { + + return Roo.docs.template.event(r.json); + + + }, + xns : Roo.grid, + '|xns' : 'Roo.grid' + }, + { + xtype : 'ColumnModel', + dataIndex : 'memberOf', + header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, + md : 1, + renderer : function(v,x,r) { + if (r.json.memberOf == Roo.docs.init.currentClass) { + return ''; + } + + return '' + r.json.memberOf + ''; + + }, + xs : 0, + xns : Roo.grid, + '|xns' : 'Roo.grid' + } + ] + } + ] } ] }, @@ -528,291 +815,20 @@ Roo.docs = new Roo.XComponent({ }, xns : Roo.bootstrap, '|xns' : 'Roo.bootstrap' - } - ] - } - ] - }, - { - xtype : 'Container', - cls : 'doc-table-container', - expandable : true, - expanded : true, - header : _this._strings['50f33d14f129e4548c1c270fd6725a78'] /* Configuration options */, - panel : 'primary', - style : 'margin-top:15px', - listeners : { - render : function (_self) - { - _this.configTableContainer = this; - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'Table', - rowSelection : true, - striped : true, - listeners : { - render : function (_self) - { - _this.configTable = this; - }, - rowclass : function (_self, rowcfg) - { - rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member '; - rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); - }, - rowclick : function (_self, el, rowIndex, e) - { - if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { - return false; - } - - var r = this.store.getAt(rowIndex); - r.json.expanded = !r.json.expanded ; - this.refreshRow(r); - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - store : { - xtype : 'Store', - xns : Roo.data, - '|xns' : 'Roo.data', - proxy : { - xtype : 'MemoryProxy', - xns : Roo.data, - '|xns' : 'Roo.data' - }, - reader : { - xtype : 'ArrayReader', - fields : [ 'name', 'type', 'desc', 'memberOf' ], - xns : Roo.data, - '|xns' : 'Roo.data' - } - }, - cm : [ - { - xtype : 'ColumnModel', - dataIndex : 'name', - header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, - md : 11, - renderer : function(v,x,r) { - - return Roo.docs.template.config(r.json); - - - }, - xns : Roo.grid, - '|xns' : 'Roo.grid' - }, - { - xtype : 'ColumnModel', - dataIndex : 'memberOf', - header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, - md : 1, - renderer : function(v,x,r) { - if (r.json.memberOf == Roo.docs.init.currentClass) { - return ''; - } - - return '' + r.json.memberOf + ''; - - }, - xs : 0, - xns : Roo.grid, - '|xns' : 'Roo.grid' - } - ] - } - ] - }, - { - xtype : 'Container', - cls : 'doc-table-container', - expandable : true, - expanded : true, - header : _this._strings['a1d108496af420635536a4e29e87d42b'] /* Constructor, Static and Public Methods */, - panel : 'primary', - listeners : { - render : function (_self) - { - _this.methodsTableContainer = this; - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'Table', - rowSelection : true, - listeners : { - render : function (_self) - { - _this.methodsTable = this; - }, - rowclass : function (_self, rowcfg) - { - var j = rowcfg.record.json; - var rc = j.memberOf == Roo.docs.init.currentClass || j.isConstructor ? 'doc-added-member ' : 'doc-not-member '; - rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); - }, - rowclick : function (_self, el, rowIndex, e) - { - if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { - return false; - } - var r = this.store.getAt(rowIndex); - r.json.expanded = !r.json.expanded ; - this.refreshRow(r); - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - store : { - xtype : 'Store', - sortInfo : { field : 'name', direction : 'ASC' }, - xns : Roo.data, - '|xns' : 'Roo.data', - proxy : { - xtype : 'MemoryProxy', - xns : Roo.data, - '|xns' : 'Roo.data' - }, - reader : { - xtype : 'ArrayReader', - fields : [ 'name', 'type', 'desc', 'memberOf' ], - xns : Roo.data, - '|xns' : 'Roo.data' - } - }, - cm : [ - { - xtype : 'ColumnModel', - dataIndex : 'name', - header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, - md : 11, - renderer : function(v,x,r) { - - return Roo.docs.template.method(r.json); - - - }, - sortable : false, - xns : Roo.grid, - '|xns' : 'Roo.grid' }, { - xtype : 'ColumnModel', - dataIndex : 'memberOf', - header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, - md : 1, - renderer : function(v,x,r) { - - if (r.json.memberOf == Roo.docs.init.currentClass) { - return ''; - } - return '' + r.json.memberOf + ''; - - }, - xs : 0, - xns : Roo.grid, - '|xns' : 'Roo.grid' - } - ] - } - ] - }, - { - xtype : 'Container', - cls : 'doc-table-container', - expandable : true, - expanded : true, - header : _this._strings['87f9f735a1d36793ceaecd4e47124b63'] /* Events */, - panel : 'primary', - listeners : { - render : function (_self) - { - _this.eventsTableContainer = this; - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - items : [ - { - xtype : 'Table', - rowSelection : true, - listeners : { - render : function (_self) - { - _this.eventsTable = this; - }, - rowclass : function (_self, rowcfg) - { - rc = rowcfg.record.json.memberOf == Roo.docs.init.currentClass ? 'doc-added-member ' : 'doc-not-member '; - rowcfg.rowClass = rc + (rowcfg.record.json.expanded ? 'expanded' : ''); - }, - rowclick : function (_self, el, rowIndex, e) - { - if (e.target.className != 'fixedFont' && e.target.parentNode.className != 'fixedFont') { - return false; - } - var r = this.store.getAt(rowIndex); - r.json.expanded = !r.json.expanded ; - this.refreshRow(r); - } - }, - xns : Roo.bootstrap, - '|xns' : 'Roo.bootstrap', - store : { - xtype : 'Store', - xns : Roo.data, - '|xns' : 'Roo.data', - proxy : { - xtype : 'MemoryProxy', - xns : Roo.data, - '|xns' : 'Roo.data' - }, - reader : { - xtype : 'ArrayReader', - fields : [ 'name', 'type', 'desc', 'memberOf' ], - xns : Roo.data, - '|xns' : 'Roo.data' - } - }, - cm : [ - { - xtype : 'ColumnModel', - dataIndex : 'name', - header : _this._strings['d41d8cd98f00b204e9800998ecf8427e'] /* */, - md : 11, - renderer : function(v,x,r) { - - return Roo.docs.template.event(r.json); - - - }, - xns : Roo.grid, - '|xns' : 'Roo.grid' - }, - { - xtype : 'ColumnModel', - dataIndex : 'memberOf', - header : _this._strings['f361257612a512f9be2fdc2abfb25aef'] /* Defined by */, - md : 1, - renderer : function(v,x,r) { - if (r.json.memberOf == Roo.docs.init.currentClass) { - return ''; - } - - return '' + r.json.memberOf + ''; - + xtype : 'Container', + cls : 'doc-children', + header : _this._strings['4d9ee8f98abde282da987fed0aac295c'] /* Children that can be added using addxtype({...}) */, + panel : 'primary', + listeners : { + render : function (_self) + { + _this.doc_children = this; + } }, - xs : 0, - xns : Roo.grid, - '|xns' : 'Roo.grid' + xns : Roo.bootstrap, + '|xns' : 'Roo.bootstrap' } ] }