X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/source/Viewport.html diff --git a/docs/source/Viewport.html b/docs/source/Viewport.html index dbb6ba86..bb7c1eb1 100644 --- a/docs/source/Viewport.html +++ b/docs/source/Viewport.html @@ -1,17 +1,12 @@ - - - The source code - - - - -
/*!
- * Ext JS Library 3.0.3
- * Copyright(c) 2006-2009 Ext JS, LLC
- * licensing@extjs.com
- * http://www.extjs.com/license
- */
-
/** + + + + The source code + + + + +
/** * @class Ext.Viewport * @extends Ext.Container *

A specialized container representing the viewable application area (the browser viewport).

@@ -36,7 +31,7 @@ new Ext.Viewport({ collapsible: true, title: 'Navigation', width: 200 - // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout} + // the west region might typically utilize a {@link Ext.tree.TreePanel TreePanel} or a Panel with {@link Ext.layout.AccordionLayout Accordion layout} }, { region: 'south', title: 'Title for Panel', @@ -71,44 +66,45 @@ new Ext.Viewport({ * @xtype viewport */ Ext.Viewport = Ext.extend(Ext.Container, { - /* - * Privatize config options which, if used, would interfere with the - * correct operation of the Viewport as the sole manager of the - * layout of the document body. - */ + /* + * Privatize config options which, if used, would interfere with the + * correct operation of the Viewport as the sole manager of the + * layout of the document body. + */
/** * @cfg {Mixed} applyTo @hide - */ + */
/** * @cfg {Boolean} allowDomMove @hide - */ + */
/** * @cfg {Boolean} hideParent @hide - */ + */
/** * @cfg {Mixed} renderTo @hide - */ + */
/** * @cfg {Boolean} hideParent @hide - */ + */
/** * @cfg {Number} height @hide - */ + */
/** * @cfg {Number} width @hide - */ + */
/** * @cfg {Boolean} autoHeight @hide - */ + */
/** * @cfg {Boolean} autoWidth @hide - */ + */
/** * @cfg {Boolean} deferHeight @hide - */ + */
/** * @cfg {Boolean} monitorResize @hide - */ + */ + initComponent : function() { Ext.Viewport.superclass.initComponent.call(this); document.getElementsByTagName('html')[0].className += ' x-viewport'; @@ -125,9 +121,10 @@ Ext.Viewport = Ext.extend(Ext.Container, { }, fireResize : function(w, h){ - this.fireEvent('resize', this, w, h, w, h); + this.onResize(w, h, w, h); } }); -Ext.reg('viewport', Ext.Viewport);
- +Ext.reg('viewport', Ext.Viewport); +
+ \ No newline at end of file