projects
/
roojs1
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
roojs-core.js
[roojs1]
/
Roo
/
BorderLayout.js
diff --git
a/Roo/BorderLayout.js
b/Roo/BorderLayout.js
index
d44e836
..
8228ced
100644
(file)
--- a/
Roo/BorderLayout.js
+++ b/
Roo/BorderLayout.js
@@
-11,6
+11,7
@@
/**
* @class Roo.BorderLayout
* @extends Roo.LayoutManager
/**
* @class Roo.BorderLayout
* @extends Roo.LayoutManager
+ * @children Roo.ContentPanel
* This class represents a common layout manager used in desktop applications. For screenshots and more details,
* please see: <br><br>
* <a href="http://www.jackslocum.com/yui/2006/10/19/cross-browser-web-20-layouts-with-yahoo-ui/">Cross Browser Layouts - Part 1</a><br>
* This class represents a common layout manager used in desktop applications. For screenshots and more details,
* please see: <br><br>
* <a href="http://www.jackslocum.com/yui/2006/10/19/cross-browser-web-20-layouts-with-yahoo-ui/">Cross Browser Layouts - Part 1</a><br>
@@
-82,8
+83,6
@@
the container size if it is not the body element.</b>
Roo.BorderLayout = function(container, config){
config = config || {};
Roo.BorderLayout.superclass.constructor.call(this, container, config);
Roo.BorderLayout = function(container, config){
config = config || {};
Roo.BorderLayout.superclass.constructor.call(this, container, config);
- Roo.log(this.el);
- return;
this.factory = config.factory || Roo.BorderLayout.RegionFactory;
for(var i = 0, len = this.factory.validRegions.length; i < len; i++) {
var target = this.factory.validRegions[i];
this.factory = config.factory || Roo.BorderLayout.RegionFactory;
for(var i = 0, len = this.factory.validRegions.length; i < len; i++) {
var target = this.factory.validRegions[i];
@@
-94,6
+93,22
@@
Roo.BorderLayout = function(container, config){
};
Roo.extend(Roo.BorderLayout, Roo.LayoutManager, {
};
Roo.extend(Roo.BorderLayout, Roo.LayoutManager, {
+
+ /**
+ * @cfg {Roo.LayoutRegion} east
+ */
+ /**
+ * @cfg {Roo.LayoutRegion} west
+ */
+ /**
+ * @cfg {Roo.LayoutRegion} north
+ */
+ /**
+ * @cfg {Roo.LayoutRegion} south
+ */
+ /**
+ * @cfg {Roo.LayoutRegion} center
+ */
/**
* Creates and adds a new region if it doesn't already exist.
* @param {String} target The target region key (north, south, east, west or center).
/**
* Creates and adds a new region if it doesn't already exist.
* @param {String} target The target region key (north, south, east, west or center).
@@
-124,7
+139,9
@@
Roo.extend(Roo.BorderLayout, Roo.LayoutManager, {
* Performs a layout update.
*/
layout : function(){
* Performs a layout update.
*/
layout : function(){
- if(this.updating) return;
+ if(this.updating) {
+ return;
+ }
var size = this.getViewSize();
var w = size.width;
var h = size.height;
var size = this.getViewSize();
var w = size.width;
var h = size.height;