X-Git-Url: http://git.roojs.org/?a=blobdiff_plain;f=docs%2FRoo.docs.bjs;h=81404ba30fcb75009fd3dd6e3407e8ac688d8876;hb=75cbc4ce04c9c01ac47671cb01320ce699128d00;hp=9f518325bef309439c1a6e3449ea380acc44b32d;hpb=d199aa8ed399874c753aa414c52dc3819a24e6de;p=roojs1 diff --git a/docs/Roo.docs.bjs b/docs/Roo.docs.bjs index 9f518325be..81404ba30f 100644 --- a/docs/Roo.docs.bjs +++ b/docs/Roo.docs.bjs @@ -10,6 +10,7 @@ "ae635f08107a69569e636835f24e6f6f" : " extends ", "87f9f735a1d36793ceaecd4e47124b63" : "Events", "d41d8cd98f00b204e9800998ecf8427e" : " ", + "4d9ee8f98abde282da987fed0aac295c" : "Children that can be added using addxtype({...})", "9b34238e8113db140b452beec500024b" : "Roo JS Documentation", "50f33d14f129e4548c1c270fd6725a78" : "Configuration options", "e64b94523532dbac62df6795a5153f04" : "doc-desc", @@ -17,6 +18,7 @@ "d2b697ad8e989a6c4592987f22f5bbfc" : "doc-comments", "f361257612a512f9be2fdc2abfb25aef" : "Defined by", "494a64a432ff6a121e4ab9003c7a0df3" : "parentcls", + "3c81cc62cd8a24b231d0c0db34feda61" : "Implementations", "f561aaf6ef0bf14d4208bb46a4ccb3ad" : "xxx", "9bd81329febf6efe22788e03ddeaf0af" : " Class ", "a1d108496af420635536a4e29e87d42b" : "Constructor, Static and Public Methods" @@ -84,28 +86,40 @@ }, { "listeners" : { - "beforetoggle" : "function (_self)\n{\n _this.navGroup.autoExpand(); \n \n _this.navGroup.activeLookup();\n \n _this.navHeaderBar.mask.show();\n \n if(this.el.select('.navbar-collapse',true).first().hasClass('in')){\n _this.navHeaderBar.mask.hide();\n return;\n }\n}", - "render" : "function (_self)\n{\n return;\n \n _this.navHeaderBar = this;\n \n this.el.addClass(language); \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}" + "beforetoggle" : "function (_self)\n{\n // _this.mobileNavGroup.autoExpand(); \n \n \n}", + "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}" }, - "$ String brand_href" : "baseURL + '/'", "String cls" : "mobile-header-menu", "String position" : "fixed-top", "bool autohide" : true, "xtype" : "NavHeaderbar", "Boolean inverse" : false, + "String brand_href" : "#", "$ xns" : "Roo.bootstrap", "String brand" : " ", - "String style" : "" + "String style" : "", + "items" : [ + { + "listeners" : { + "render" : "function (_self)\n{\n _this.mobileNavGroup = this;\n}" + }, + "xtype" : "NavGroup", + "$ xns" : "Roo.bootstrap" + } + ] }, { "listeners" : { "render" : "function (_self)\n{\n _this.introContainer = this;\n}" }, - "String cls" : "general-content-body", + "String cls" : "general-content-body general-content-intro", "xtype" : "Container", "$ xns" : "Roo.bootstrap", "items" : [ { + "listeners" : { + "render" : "function (_self)\n{\n _this.roo_title = this;\n}" + }, "xtype" : "Header", "$ xns" : "Roo.bootstrap", "Number level" : 1, @@ -137,7 +151,6 @@ "Number md" : 9, "xtype" : "Column", "$ xns" : "Roo.bootstrap", - "String style" : "padding-left: 0px;", "items" : [ { "String cls" : "doc-header-container", @@ -145,6 +158,9 @@ "$ xns" : "Roo.bootstrap", "items" : [ { + "listeners" : { + "render" : "function (_self)\n{\n _this.classType = this;\n}" + }, "xtype" : "Header", "$ xns" : "Roo.bootstrap", "Number level" : 4, @@ -187,6 +203,9 @@ ] }, { + "listeners" : { + "render" : "function (_self)\n{\n _this.doc_source_row = this;\n}" + }, "xtype" : "Header", "Number level" : 5, "$ xns" : "Roo.bootstrap", @@ -223,213 +242,237 @@ "$ xns" : "Roo.bootstrap", "String html" : "doc-comments", "Boolean hidden" : true - } - ] - }, - { - "Number md" : 3, - "xtype" : "Column", - "$ xns" : "Roo.bootstrap", - "items" : [ + }, { "listeners" : { - "render" : "function (_self)\n{\n _this.augments = this;\n}" + "render" : "function (_self)\n{\n _this.configTableContainer = this;\n}" }, - "String header" : "Inheritance tree", - "String cls" : "doc-augments", + "String header" : "Configuration options", + "String cls" : "doc-table-container", + "Boolean expanded" : true, "xtype" : "Container", "String panel" : "primary", - "$ xns" : "Roo.bootstrap" - } - ] - } - ] - }, - { - "listeners" : { - "render" : "function (_self)\n{\n _this.configTableContainer = this;\n}" - }, - "String header" : "Configuration options", - "String cls" : "doc-table-container", - "Boolean expanded" : true, - "xtype" : "Container", - "String panel" : "primary", - "$ xns" : "Roo.bootstrap", - "String style" : "margin-top:15px", - "Boolean expandable" : true, - "items" : [ - { - "listeners" : { - "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}", - "render" : "function (_self)\n{\n _this.configTable = this;\n}", - "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}" - }, - "boolean striped" : true, - "xtype" : "Table", - "Boolean rowSelection" : true, - "$ xns" : "Roo.bootstrap", - "items" : [ - { - "String header" : "", - "String dataIndex" : "name", - "Number md" : 11, - "$ Function renderer" : "function(v,x,r) { \n\n return Roo.docs.template.config(r.json);\n\n\t\t\t\n}", - "xtype" : "ColumnModel", - "$ xns" : "Roo.grid", - "* prop" : "cm[]" - }, - { - "String header" : "Defined by", - "String dataIndex" : "memberOf", - "Number md" : 1, - "$ Function renderer" : "function(v,x,r) { \n if (r.json.memberOf == Roo.docs.init.currentClass) {\n return '';\n }\n\n\t\treturn \t'' + r.json.memberOf + '';\n\t\t\t\n}", - "xtype" : "ColumnModel", - "$ xns" : "Roo.grid", - "* prop" : "cm[]" - }, - { - "xtype" : "Store", - "$ xns" : "Roo.data", - "* prop" : "store", + "$ xns" : "Roo.bootstrap", + "String style" : "margin-top:15px", + "Boolean expandable" : true, "items" : [ { - "xtype" : "MemoryProxy", - "$ xns" : "Roo.data", - "* prop" : "proxy" - }, - { - "xtype" : "ArrayReader", - "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]", - "$ xns" : "Roo.data", - "* prop" : "reader" + "listeners" : { + "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}", + "render" : "function (_self)\n{\n _this.configTable = this;\n}", + "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}" + }, + "boolean striped" : true, + "boolean responsive" : true, + "xtype" : "Table", + "Boolean rowSelection" : true, + "$ xns" : "Roo.bootstrap", + "items" : [ + { + "String header" : "", + "String dataIndex" : "name", + "$ Function renderer" : "function(v,x,r) { \n\n return Roo.docs.template.config(r.json);\n\n\t\t\t\n}", + "xtype" : "ColumnModel", + "Number xs" : 11, + "$ xns" : "Roo.grid", + "* prop" : "cm[]" + }, + { + "String header" : "Defined by", + "String dataIndex" : "memberOf", + "$ Function renderer" : "function(v,x,r) { \n if (r.json.memberOf == Roo.docs.init.currentClass) {\n return '';\n }\n\n\t\treturn \t'' + r.json.memberOf + '';\n\t\t\t\n}", + "xtype" : "ColumnModel", + "Number xs" : 1, + "$ xns" : "Roo.grid", + "* prop" : "cm[]" + }, + { + "xtype" : "Store", + "$ xns" : "Roo.data", + "* prop" : "store", + "items" : [ + { + "xtype" : "MemoryProxy", + "$ xns" : "Roo.data", + "* prop" : "proxy" + }, + { + "xtype" : "ArrayReader", + "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]", + "$ xns" : "Roo.data", + "* prop" : "reader" + } + ] + } + ] } ] - } - ] - } - ] - }, - { - "listeners" : { - "render" : "function (_self)\n{\n _this.methodsTableContainer = this;\n}" - }, - "String header" : "Constructor, Static and Public Methods", - "String cls" : "doc-table-container", - "Boolean expanded" : true, - "String panel" : "primary", - "xtype" : "Container", - "$ xns" : "Roo.bootstrap", - "Boolean expandable" : true, - "items" : [ - { - "listeners" : { - "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}", - "render" : "function (_self)\n{\n _this.methodsTable = this;\n}", - "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}" - }, - "xtype" : "Table", - "Boolean rowSelection" : true, - "$ xns" : "Roo.bootstrap", - "items" : [ - { - "String header" : " ", - "Number md" : 11, - "String dataIndex" : "name", - "$ Function renderer" : "function(v,x,r) { \n\n return Roo.docs.template.method(r.json);\n\t\t \n\t\t\t\n}", - "xtype" : "ColumnModel", - "$ xns" : "Roo.grid", - "Boolean sortable" : false, - "* prop" : "cm[]" }, { - "String header" : "Defined by", - "Number md" : 1, - "String dataIndex" : "memberOf", - "$ Function renderer" : "function(v,x,r) { \n\n if (r.json.memberOf == Roo.docs.init.currentClass) {\n return '';\n }\n\t\treturn \t'' + r.json.memberOf + '';\n\t\t\t\n}", - "xtype" : "ColumnModel", - "$ xns" : "Roo.grid", - "* prop" : "cm[]" + "listeners" : { + "render" : "function (_self)\n{\n _this.methodsTableContainer = this;\n}" + }, + "String header" : "Constructor, Static and Public Methods", + "String cls" : "doc-table-container", + "Boolean expanded" : true, + "String panel" : "primary", + "xtype" : "Container", + "$ xns" : "Roo.bootstrap", + "Boolean expandable" : true, + "items" : [ + { + "listeners" : { + "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}", + "render" : "function (_self)\n{\n _this.methodsTable = this;\n}", + "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}" + }, + "xtype" : "Table", + "boolean responsive" : true, + "Boolean rowSelection" : true, + "$ xns" : "Roo.bootstrap", + "items" : [ + { + "String header" : " ", + "String dataIndex" : "name", + "$ Function renderer" : "function(v,x,r) { \n\n return Roo.docs.template.method(r.json);\n\t\t \n\t\t\t\n}", + "xtype" : "ColumnModel", + "$ xns" : "Roo.grid", + "Boolean sortable" : false, + "* prop" : "cm[]", + "Number sm" : 11 + }, + { + "String header" : "Defined by", + "String dataIndex" : "memberOf", + "$ Function renderer" : "function(v,x,r) { \n\n if (r.json.memberOf == Roo.docs.init.currentClass) {\n return '';\n }\n\t\treturn \t'' + r.json.memberOf + '';\n\t\t\t\n}", + "xtype" : "ColumnModel", + "$ xns" : "Roo.grid", + "* prop" : "cm[]", + "Number sm" : 1 + }, + { + "$ Object sortInfo" : "{ field : 'name', direction : 'ASC' }", + "xtype" : "Store", + "$ xns" : "Roo.data", + "* prop" : "store", + "items" : [ + { + "xtype" : "MemoryProxy", + "$ xns" : "Roo.data", + "* prop" : "proxy" + }, + { + "xtype" : "ArrayReader", + "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]", + "$ xns" : "Roo.data", + "* prop" : "reader" + } + ] + } + ] + } + ] }, { - "$ Object sortInfo" : "{ field : 'name', direction : 'ASC' }", - "xtype" : "Store", - "$ xns" : "Roo.data", - "* prop" : "store", + "listeners" : { + "render" : "function (_self)\n{\n _this.eventsTableContainer = this;\n}" + }, + "String header" : "Events", + "String cls" : "doc-table-container", + "Boolean expanded" : true, + "xtype" : "Container", + "String panel" : "primary", + "$ xns" : "Roo.bootstrap", + "Boolean expandable" : true, "items" : [ { - "xtype" : "MemoryProxy", - "$ xns" : "Roo.data", - "* prop" : "proxy" - }, - { - "xtype" : "ArrayReader", - "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]", - "$ xns" : "Roo.data", - "* prop" : "reader" + "listeners" : { + "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}", + "render" : "function (_self)\n{\n _this.eventsTable = this;\n}", + "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}" + }, + "xtype" : "Table", + "boolean responsive" : true, + "Boolean rowSelection" : true, + "$ xns" : "Roo.bootstrap", + "items" : [ + { + "String header" : "", + "String dataIndex" : "name", + "Number md" : 11, + "$ Function renderer" : "function(v,x,r) { \n\n return Roo.docs.template.event(r.json);\n\t\t \n\t\t\t\n}", + "xtype" : "ColumnModel", + "$ xns" : "Roo.grid", + "* prop" : "cm[]" + }, + { + "String header" : "Defined by", + "String dataIndex" : "memberOf", + "Number md" : 1, + "$ Function renderer" : "function(v,x,r) { \n if (r.json.memberOf == Roo.docs.init.currentClass) {\n return '';\n }\n\n\t\treturn \t'' + r.json.memberOf + '';\n\t\t\t\n}", + "xtype" : "ColumnModel", + "Number xs" : 0, + "$ xns" : "Roo.grid", + "* prop" : "cm[]" + }, + { + "xtype" : "Store", + "$ xns" : "Roo.data", + "* prop" : "store", + "items" : [ + { + "xtype" : "ArrayReader", + "$ xns" : "Roo.data", + "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]", + "* prop" : "reader" + }, + { + "xtype" : "MemoryProxy", + "$ xns" : "Roo.data", + "* prop" : "proxy" + } + ] + } + ] } ] } ] - } - ] - }, - { - "listeners" : { - "render" : "function (_self)\n{\n _this.eventsTableContainer = this;\n}" - }, - "String header" : "Events", - "String cls" : "doc-table-container", - "Boolean expanded" : true, - "xtype" : "Container", - "String panel" : "primary", - "$ xns" : "Roo.bootstrap", - "Boolean expandable" : true, - "items" : [ + }, { - "listeners" : { - "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}", - "render" : "function (_self)\n{\n _this.eventsTable = this;\n}", - "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}" - }, - "xtype" : "Table", - "Boolean rowSelection" : true, + "Number md" : 3, + "xtype" : "Column", "$ xns" : "Roo.bootstrap", "items" : [ { - "String header" : "", - "String dataIndex" : "name", - "Number md" : 11, - "$ Function renderer" : "function(v,x,r) { \n\n return Roo.docs.template.event(r.json);\n\t\t \n\t\t\t\n}", - "xtype" : "ColumnModel", - "$ xns" : "Roo.grid", - "* prop" : "cm[]" + "listeners" : { + "render" : "function (_self)\n{\n _this.augments = this;\n}" + }, + "String header" : "Inheritance tree", + "String cls" : "doc-augments", + "xtype" : "Container", + "String panel" : "primary", + "$ xns" : "Roo.bootstrap" }, { - "String header" : "Defined by", - "String dataIndex" : "memberOf", - "Number md" : 1, - "$ Function renderer" : "function(v,x,r) { \n if (r.json.memberOf == Roo.docs.init.currentClass) {\n return '';\n }\n\n\t\treturn \t'' + r.json.memberOf + '';\n\t\t\t\n}", - "xtype" : "ColumnModel", - "$ xns" : "Roo.grid", - "* prop" : "cm[]" + "listeners" : { + "render" : "function (_self)\n{\n _this.implementors = this;\n}" + }, + "String header" : "Implementations", + "String cls" : "doc-implementors", + "xtype" : "Container", + "String panel" : "primary", + "$ xns" : "Roo.bootstrap" }, { - "xtype" : "Store", - "$ xns" : "Roo.data", - "* prop" : "store", - "items" : [ - { - "xtype" : "ArrayReader", - "$ xns" : "Roo.data", - "$ fields" : "[ 'name', 'type', 'desc', 'memberOf' ]", - "* prop" : "reader" - }, - { - "xtype" : "MemoryProxy", - "$ xns" : "Roo.data", - "* prop" : "proxy" - } - ] + "listeners" : { + "render" : "function (_self)\n{\n _this.doc_children = this;\n}" + }, + "String header" : "Children that can be added using addxtype({...})", + "String cls" : "doc-children", + "xtype" : "Container", + "String panel" : "primary", + "$ xns" : "Roo.bootstrap" } ] }