X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/7a654f8d43fdb43d78b63d90528bed6e86b608cc..6746dc89c47ed01b165cc1152533605f97eb8e8d:/docs/source/Window.html diff --git a/docs/source/Window.html b/docs/source/Window.html index c0fb7c83..8cb9a2ea 100644 --- a/docs/source/Window.html +++ b/docs/source/Window.html @@ -1,5 +1,22 @@ -
+ +/** - * @class Ext.window.Window + + + + +\ No newline at end of file +});The source code + + + + + + +/** + * @class Ext.window.Window * @extends Ext.panel.Panel * <p>A specialized panel intended for use as an application window. Windows are floated, {@link #resizable}, and * {@link #draggable} by default. Windows can be {@link #maximizable maximized} to fill the viewport, @@ -26,9 +43,6 @@ Ext.create('Ext.window.Window', { } }).show(); </pre></code> - * @constructor - * @param {Object} config The config object - * @xtype window */ Ext.define('Ext.window.Window', { extend: 'Ext.panel.Panel', @@ -39,26 +53,26 @@ Ext.define('Ext.window.Window', { alias: 'widget.window', - /** + /** * @cfg {Number} x * The X position of the left edge of the window on initial showing. Defaults to centering the Window within * the width of the Window's container {@link Ext.core.Element Element) (The Element that the Window is rendered to). */ - /** + /** * @cfg {Number} y * The Y position of the top edge of the window on initial showing. Defaults to centering the Window within * the height of the Window's container {@link Ext.core.Element Element) (The Element that the Window is rendered to). */ - /** + /** * @cfg {Boolean} modal * True to make the window modal and mask everything behind it when displayed, false to display it without * restricting access to other UI elements (defaults to false). */ - /** + /** * @cfg {String/Element} animateTarget * Id or element from which the window should animate while opening (defaults to null with no animation). */ - /** + /** * @cfg {String/Number/Component} defaultFocus * <p>Specifies a Component to receive focus when this Window is focused.</p> * <p>This may be one of:</p><div class="mdetail-params"><ul> @@ -67,31 +81,31 @@ Ext.define('Ext.window.Window', { * <li>A Component.</li> * </ul></div> */ - /** + /** * @cfg {Function} onEsc * Allows override of the built-in processing for the escape key. Default action * is to close the Window (performing whatever action is specified in {@link #closeAction}. * To prevent the Window closing when the escape key is pressed, specify this as * Ext.emptyFn (See {@link Ext#emptyFn Ext.emptyFn}). */ - /** + /** * @cfg {Boolean} collapsed * True to render the window collapsed, false to render it expanded (defaults to false). Note that if * {@link #expandOnShow} is true (the default) it will override the <code>collapsed</code> config and the window * will always be expanded when shown. */ - /** + /** * @cfg {Boolean} maximized * True to initially display the window in a maximized state. (Defaults to false). */ - /** + /** * @cfg {String} baseCls * The base CSS class to apply to this panel's element (defaults to 'x-window'). */ baseCls: Ext.baseCSSPrefix + 'window', - /** + /** * @cfg {Mixed} resizable * <p>Specify as <code>true</code> to allow user resizing at each edge and corner of the window, false to disable * resizing (defaults to true).</p> @@ -99,7 +113,7 @@ Ext.define('Ext.window.Window', { */ resizable: true, - /** + /** * @cfg {Boolean} draggable * <p>True to allow the window to be dragged by the header bar, false to disable dragging (defaults to true). Note * that by default the window will be centered in the viewport, so if dragging is disabled the window may need @@ -107,7 +121,7 @@ Ext.define('Ext.window.Window', { */ draggable: true, - /** + /** * @cfg {Boolean} constrain * True to constrain the window within its containing element, false to allow it to fall outside of its * containing element. By default the window will be rendered to document.body. To render and constrain the @@ -116,7 +130,7 @@ Ext.define('Ext.window.Window', { */ constrain: false, - /** + /** * @cfg {Boolean} constrainHeader * True to constrain the window header within its containing element (allowing the window body to fall outside * of its containing element) or false to allow the header to fall outside its containing element (defaults to @@ -124,7 +138,7 @@ Ext.define('Ext.window.Window', { */ constrainHeader: false, - /** + /** * @cfg {Boolean} plain * True to render the window body with a transparent background so that it will blend into the framing * elements, false to add a lighter background color to visually highlight the body element and separate it @@ -132,7 +146,7 @@ Ext.define('Ext.window.Window', { */ plain: false, - /** + /** * @cfg {Boolean} minimizable * True to display the 'minimize' tool button and allow the user to minimize the window, false to hide the button * and disallow minimizing the window (defaults to false). Note that this button provides no implementation -- @@ -141,7 +155,7 @@ Ext.define('Ext.window.Window', { */ minimizable: false, - /** + /** * @cfg {Boolean} maximizable * True to display the 'maximize' tool button and allow the user to maximize the window, false to hide the button * and disallow maximizing the window (defaults to false). Note that when a window is maximized, the tool button @@ -156,7 +170,7 @@ Ext.define('Ext.window.Window', { // inherit docs minWidth: 200, - /** + /** * @cfg {Boolean} expandOnShow * True to always expand the window when it is displayed, false to keep it in its current state (which may be * {@link #collapsed}) when displayed (defaults to true). @@ -166,7 +180,7 @@ Ext.define('Ext.window.Window', { // inherited docs, same default collapsible: false, - /** + /** * @cfg {Boolean} closable * <p>True to display the 'close' tool button and allow the user to close the window, false to * hide the button and disallow closing the window (defaults to <code>true</code>).</p> @@ -179,7 +193,7 @@ Ext.define('Ext.window.Window', { */ closable: true, -