ext.window.html.svn-base

来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 817 行 · 第 1/5 页

SVN-BASE
817
字号
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-constrain"></a>
            <b>constrain</b> : Boolean            <div class="mdesc">
                        <div class="short">True to constrain the window to the viewport, false to allow it to fall outside of the viewport (defaults to false). ...</div>
            <div class="long">
                True to constrain the window to the viewport, false to allow it to fall outside of the viewport (defaults to false). Optionally the header only can be constrained using <a ext:cls="Ext.Window" ext:member="constrainHeader" href="output/Ext.Window.html#constrainHeader">constrainHeader</a>.            </div>
                        </div>
        </td>
        <td class="msource">Window</td>
    </tr>
        <tr class="config-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-constrainHeader"></a>
            <b>constrainHeader</b> : Boolean            <div class="mdesc">
                        <div class="short">True to constrain the window header to the viewport, allowing the window body to fall outside of the viewport, false ...</div>
            <div class="long">
                True to constrain the window header to the viewport, allowing the window body to fall outside of the viewport, false to allow the header to fall outside the viewport (defaults to false). Optionally the entire window can be constrained using <a ext:cls="Ext.Window" ext:member="constrain" href="output/Ext.Window.html#constrain">constrain</a>.            </div>
                        </div>
        </td>
        <td class="msource">Window</td>
    </tr>
        <tr class="config-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-contentEl"></a>
            <b>contentEl</b> : String            <div class="mdesc">
                            The id of an existing HTML node to use as the panel's body content (defaults to '').                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#contentEl" href="output/Ext.Panel.html#contentEl">Panel</a></td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-ctCls"></a>
            <b>ctCls</b> : String            <div class="mdesc">
                        <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>
            <div class="long">
                An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
    </tr>
        <tr class="config-row">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-defaultButton"></a>
            <b>defaultButton</b> : String/Number/Button            <div class="mdesc">
                            The id / index of a button or a button instance to focus when this window received the focus.                        </div>
        </td>
        <td class="msource">Window</td>
    </tr>
        <tr class="config-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-defaultType"></a>
            <b>defaultType</b> : String            <div class="mdesc">
                            The default type of container represented by this object as registered in <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a> (defaults to 'panel').                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#defaultType" href="output/Ext.Container.html#defaultType">Container</a></td>
    </tr>
        <tr class="config-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-defaults"></a>
            <b>defaults</b> : Object            <div class="mdesc">
                        <div class="short">A config object that will be applied to all components added to this container either via the items config or via the...</div>
            <div class="long">
                A config object that will be applied to all components added to this container either via the <a ext:cls="Ext.Container" ext:member="items" href="output/Ext.Container.html#items">items</a> config or via the <a ext:cls="Ext.Container" ext:member="add" href="output/Ext.Container.html#add">add</a> or <a ext:cls="Ext.Container" ext:member="insert" href="output/Ext.Container.html#insert">insert</a> methods. The defaults config can contain any number of name/value property pairs to be added to each item, and should be valid for the types of items being added to the container. For example, to automatically apply padding to the body of each of a set of contained <a ext:cls="Ext.Panel" href="output/Ext.Panel.html">Ext.Panel</a> items, you could pass: defaults: {bodyStyle:'padding:15px'}.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Container" ext:member="#defaults" href="output/Ext.Container.html#defaults">Container</a></td>
    </tr>
        <tr class="config-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-disabledClass"></a>
            <b>disabledClass</b> : String            <div class="mdesc">
                            CSS class added to the component when it is disabled (defaults to "x-item-disabled").                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
    </tr>
        <tr class="config-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-draggable"></a>
            <b>draggable</b> : Boolean            <div class="mdesc">
                        <div class="short">True to allow the window to be dragged by the header bar, false to disable dragging (defaults to true). Note that by ...</div>
            <div class="long">
                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);).            </div>
                        </div>
        </td>
        <td class="msource">Window</td>
    </tr>
        <tr class="config-row alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-elements"></a>
            <b>elements</b> : String            <div class="mdesc">
                        <div class="short">A comma-delimited list of panel elements to initialize when the window is rendered. Normally, this list will be gener...</div>
            <div class="long">
                A comma-delimited list of panel elements to initialize when the window is rendered. Normally, this list will be generated automatically based on the items added to the window at config time, but sometimes it might be useful to make sure a structural element is rendered even if not specified at config time (for example, you may want to add a button or toolbar dynamically after the window has been rendered). Adding those elements to this list will allocate the required placeholders in the window when it is rendered. Valid values are<ul> <li><b>header</b> (required)</li> <li><b>tbar</b> (top bar)</li> <li><b>body</b> (required)</li> <li><b>bbar</b> (bottom bar)</li> <li><b>footer</b><li> </ul> Defaults to 'header,body'.            </div>
                        </div>
        </td>
        <td class="msource">Window</td>
    </tr>
        <tr class="config-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-expandOnShow"></a>
            <b>expandOnShow</b> : Boolean            <div class="mdesc">
                        <div class="short">True to always expand the window when it is displayed, false to keep it in its current state (which may be collapsed)...</div>
            <div class="long">
                True to always expand the window when it is displayed, false to keep it in its current state (which may be collapsed) when displayed (defaults to true).            </div>
                        </div>
        </td>
        <td class="msource">Window</td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-footer"></a>
            <b>footer</b> : Boolean            <div class="mdesc">
                        <div class="short">True to create the footer element explicitly, false to skip creating it. By default, when footer is not specified, if...</div>
            <div class="long">
                True to create the footer element explicitly, false to skip creating it. By default, when footer is not specified, if one or more buttons have been added to the panel the footer will be created automatically, otherwise it will not.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#footer" href="output/Ext.Panel.html#footer">Panel</a></td>
    </tr>
        <tr class="config-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-header"></a>
            <b>header</b> : Boolean            <div class="mdesc">
                        <div class="short">True to create the header element explicitly, false to skip creating it. By default, when header is not specified, if...</div>
            <div class="long">
                True to create the header element explicitly, false to skip creating it. By default, when header is not specified, if a <a ext:cls="Ext.Panel" ext:member="title" href="output/Ext.Panel.html#title">title</a> is set the header will be created automatically, otherwise it will not. If a title is set but header is explicitly set to false, the header will not be rendered.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#header" href="output/Ext.Panel.html#header">Panel</a></td>
    </tr>
        <tr class="config-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-headerAsText"></a>
            <b>headerAsText</b> : Boolean            <div class="mdesc">
                            True to display the panel title in the header, false to hide it (defaults to true).                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Panel" ext:member="#headerAsText" href="output/Ext.Panel.html#headerAsText">Panel</a></td>
    </tr>
        <tr class="config-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.Window-height"></a>
            <b>height</b> : Number            <div class="mdesc">
                            The height of this component in pixels (defaults to auto).                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td>
    </tr>
        <tr class="config-row inherited alt expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?