Alien-Web-ExtJS-V3
view release on metacpan or search on metacpan
share/docs/source/Window.html view on Meta::CPAN
<span id='Ext-Window-cfg-resizable'> /**
</span> * @cfg {Boolean} resizable
* True to allow user resizing at each edge and corner of the window, false to disable resizing (defaults to true).
*/
resizable : true,
<span id='Ext-Window-cfg-draggable'> /**
</span> * @cfg {Boolean} draggable
* 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
* to be positioned programmatically after render (e.g., myWindow.setPosition(100, 100);).
*/
draggable : true,
<span id='Ext-Window-cfg-closable'> /**
</span> * @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 true).</p>
* <p>By default, when close is requested by either clicking the close button in the header
* or pressing ESC when the Window has focus, the {@link #close} method will be called. This
* will <i>{@link Ext.Component#destroy destroy}</i> the Window and its content meaning that
* it may not be reused.</p>
* <p>To make closing a Window <i>hide</i> the Window so that it may be reused, set
* {@link #closeAction} to 'hide'.
*/
closable : true,
<span id='Ext-Window-cfg-closeAction'> /**
</span> * @cfg {String} closeAction
* <p>The action to take when the close header tool is clicked:
* <div class="mdetail-params"><ul>
* <li><b><code>'{@link #close}'</code></b> : <b>Default</b><div class="sub-desc">
* {@link #close remove} the window from the DOM and {@link Ext.Component#destroy destroy}
* it and all descendant Components. The window will <b>not</b> be available to be
* redisplayed via the {@link #show} method.
* </div></li>
* <li><b><code>'{@link #hide}'</code></b> : <div class="sub-desc">
* {@link #hide} the window by setting visibility to hidden and applying negative offsets.
* The window will be available to be redisplayed via the {@link #show} method.
* </div></li>
* </ul></div>
* <p><b>Note:</b> This setting does not affect the {@link #close} method
* which will always {@link Ext.Component#destroy destroy} the window. To
* programatically <i>hide</i> a window, call {@link #hide}.</p>
*/
closeAction : 'close',
<span id='Ext-Window-cfg-constrain'> /**
</span> * @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
* window within another element specify {@link #renderTo}.
* (defaults to false). Optionally the header only can be constrained using {@link #constrainHeader}.
*/
constrain : false,
<span id='Ext-Window-cfg-constrainHeader'> /**
</span> * @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
* false). Optionally the entire window can be constrained using {@link #constrain}.
*/
constrainHeader : false,
<span id='Ext-Window-cfg-plain'> /**
</span> * @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
* more distinctly from the surrounding frame (defaults to false).
*/
plain : false,
<span id='Ext-Window-cfg-minimizable'> /**
</span> * @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 --
* the behavior of minimizing a window is implementation-specific, so the minimize event must be handled and a
* custom minimize behavior implemented for this option to be useful.
*/
minimizable : false,
<span id='Ext-Window-cfg-maximizable'> /**
</span> * @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
* will automatically change to a 'restore' button with the appropriate behavior already built-in that will
* restore the window to its previous size.
*/
maximizable : false,
<span id='Ext-Window-cfg-minHeight'> /**
</span> * @cfg {Number} minHeight
* The minimum height in pixels allowed for this window (defaults to 100). Only applies when resizable = true.
*/
minHeight : 100,
<span id='Ext-Window-cfg-minWidth'> /**
</span> * @cfg {Number} minWidth
* The minimum width in pixels allowed for this window (defaults to 200). Only applies when resizable = true.
*/
minWidth : 200,
<span id='Ext-Window-cfg-expandOnShow'> /**
</span> * @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).
*/
expandOnShow : true,
<span id='Ext-Window-cfg-showAnimDuration'> /**
</span> * @cfg {Number} showAnimDuration The number of seconds that the window show animation takes if enabled.
* Defaults to 0.25
*/
showAnimDuration: 0.25,
<span id='Ext-Window-cfg-hideAnimDuration'> /**
</span> * @cfg {Number} hideAnimDuration The number of seconds that the window hide animation takes if enabled.
* Defaults to 0.25
*/
hideAnimDuration: 0.25,
<span id='Ext-Window-cfg-collapsible'> // inherited docs, same default
</span> collapsible : false,
<span id='Ext-Window-cfg-initHidden'> /**
</span> * @cfg {Boolean} initHidden
* True to hide the window until show() is explicitly called (defaults to true).
* @deprecated
*/
initHidden : undefined,
<span id='Ext-Window-cfg-hidden'> /**
( run in 2.092 seconds using v1.01-cache-2.11-cpan-119454b85a5 )