ext.statusbar.html.svn-base

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

SVN-BASE
980
字号
        <a id="Ext.StatusBar-statusAlign"></a>
            <b>statusAlign</b> : String            <div class="mdesc">
                        <div class="short">The alignment of the status element within the overall StatusBar layout. When the StatusBar is rendered, it creates a...</div>
            <div class="long">
                The alignment of the status element within the overall StatusBar layout. When the StatusBar is rendered, it creates an internal div containing the status text and icon. Any additional Toolbar items added in the StatusBar's <a ext:cls="Ext.StatusBar" ext:member="items" href="output/Ext.StatusBar.html#items">items</a> config, or added via <a ext:cls="Ext.StatusBar" ext:member="add" href="output/Ext.StatusBar.html#add">add</a> or any of the supported add* methods, will be rendered, in added order, to the opposite side. The status element is greedy, so it will automatically expand to take up all sapce left over by any other items. Example usage: <pre><code><i>// Create a left-aligned status bar containing a button,</i><i>// separator and text item that will be right-aligned (<b>default</b>):</i><b>new</b> Ext.Panel({    title: <em>'StatusBar'</em>,    <i>// etc.</i>    bbar: <b>new</b> Ext.StatusBar({        defaultText: <em>'Default status text'</em>,        id: <em>'status-id'</em>,        items: [{            text: <em>'A Button'</em>        }, <em>'-'</em>, <em>'Plain Text'</em>]    })});<i>// By adding the statusAlign config, <b>this</b> will create the</i><i>// exact same toolbar, except the status and toolbar item</i><i>// layout will be reversed from the previous example:</i><b>new</b> Ext.Panel({    title: <em>'StatusBar'</em>,    <i>// etc.</i>    bbar: <b>new</b> Ext.StatusBar({        defaultText: <em>'Default status text'</em>,        id: <em>'status-id'</em>,        statusAlign: <em>'right'</em>,        items: [{            text: <em>'A Button'</em>        }, <em>'-'</em>, <em>'Plain Text'</em>]    })});</code></pre>            </div>
                        </div>
        </td>
        <td class="msource">StatusBar</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.StatusBar-style"></a>
            <b>style</b> : String            <div class="mdesc">
                        <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
            <div class="long">
                A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
    </tr>
        <tr class="config-row alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-text"></a>
            <b>text</b> : String            <div class="mdesc">
                            A string that will be rendered into the status element as the status message (defaults to '');                        </div>
        </td>
        <td class="msource">StatusBar</td>
    </tr>
        <tr class="config-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-width"></a>
            <b>width</b> : Number            <div class="mdesc">
                            The width of this component in pixels (defaults to auto).                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#width" href="output/Ext.BoxComponent.html#width">BoxComponent</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.StatusBar-x"></a>
            <b>x</b> : Number            <div class="mdesc">
                            The local x (left) coordinate for this component if contained within a positioning container.                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#x" href="output/Ext.BoxComponent.html#x">BoxComponent</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.StatusBar-xtype"></a>
            <b>xtype</b> : String            <div class="mdesc">
                        <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
            <div class="long">
                The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</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.StatusBar-y"></a>
            <b>y</b> : Number            <div class="mdesc">
                            The local y (top) coordinate for this component if contained within a positioning container.                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#y" href="output/Ext.BoxComponent.html#y">BoxComponent</a></td>
    </tr>
            </table>                <a id="Ext.StatusBar-props"></a>        <h2>Public Properties</h2>                <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">Property</th>                <th class="msource-header">Defined By</th>            </tr>                <tr class="property-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-disabled"></a>
            <b>disabled</b> : Boolean            <div class="mdesc">
                            True if this component is disabled. Read-only.                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
    </tr>
        <tr class="property-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-hidden"></a>
            <b>hidden</b> : Boolean            <div class="mdesc">
                            True if this component is hidden. Read-only.                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
    </tr>
        <tr class="property-row inherited">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-initialConfig"></a>
            <b>initialConfig</b> : Object            <div class="mdesc">
                            This Component's initial configuration specification. Read-only.                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
    </tr>
        <tr class="property-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-items"></a>
            <b>items</b> : Ext.util.MixedCollection            <div class="mdesc">
                            A MixedCollection of this Toolbar's items                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Toolbar" ext:member="#items" href="output/Ext.Toolbar.html#items">Toolbar</a></td>
    </tr>
        <tr class="property-row inherited expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-ownerCt"></a>
            <b>ownerCt</b> : Ext.Container            <div class="mdesc">
                        <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically whenthe component is added to a...</div>
            <div class="long">
                The component's owner <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (defaults to undefined, and is set automatically whenthe component is added to a container).  Read-only.            </div>
                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
    </tr>
        <tr class="property-row inherited alt">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-rendered"></a>
            <b>rendered</b> : Boolean            <div class="mdesc">
                            True if this component has been rendered. Read-only.                        </div>
        </td>
        <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
    </tr>
            </table>                <a id="Ext.StatusBar-methods"></a>        <h2>Public Methods</h2>                <table cellspacing="0" class="member-table">            <tr>                <th class="sig-header" colspan="2">Method</th>                <th class="msource-header">Defined By</th>            </tr>                <tr class="method-row expandable">
        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
        <td class="sig">
        <a id="Ext.StatusBar-StatusBar"></a>
            <b>StatusBar</b>(&nbsp;<code>Object/Array config</code>&nbsp;)            <div class="mdesc">
                        <div class="short">Creates a new StatusBar</div>
            <div class="long">
                Creates a new StatusBar    <div class="mdetail-params">
        <strong>Parameters:</strong>
        <ul><li><code>config</code> : Object/Array<div class="sub-desc">A config object</div></li>        </ul>
        <strong>Returns:</strong>
        <ul>
            <li><code></code></li>
        </ul>
    </div>
                </div>
                        </div>
        </td>
        <td class="msource">StatusBar</td>
    </tr>
        <tr class="method-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 + -
显示快捷键?