⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ext.toolbar.html

📁 Ext中文API,学习ext的同志只要你学会ext里的一种控件后其实其他的就大同小异了
💻 HTML
📖 第 1 页 / 共 5 页
字号:
        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-enable"></a>            <b>enable</b>() : Ext.Component            <div class="mdesc">                        <div class="short">Enable this component.</div>            <div class="long">                Enable this component.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-findParentBy"></a>            <b>findParentBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array            <div class="mdesc">                        <div class="short">Find a container above this component at any level by a custom function. If the passed function returnstrue, the con...</div>            <div class="long">                Find a container above this component at any level by a custom function. If the passed function returnstrue, the container will be returned. The passed function is called with the arguments (container, this component).    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentBy" href="output/Ext.Component.html#findParentBy">Component</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-findParentByType"></a>            <b>findParentByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Container            <div class="mdesc">                        <div class="short">Find a container above this component at any level by xtype or class</div>            <div class="long">                Find a container above this component at any level by xtype or class    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Container</code><div class="sub-desc">The found container</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.Component" ext:member="#findParentByType" href="output/Ext.Component.html#findParentByType">Component</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-fireEvent"></a>            <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean            <div class="mdesc">                        <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>            <div class="long">                Fires the specified event with the passed parameters (minus the event name).    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-focus"></a>            <b>focus</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span>&nbsp;) : Ext.Component            <div class="mdesc">                        <div class="short">Try to focus this component.</div>            <div class="long">                Try to focus this component.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Ext.Component</code><div class="sub-desc">this</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-getBox"></a>            <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object            <div class="mdesc">                        <div class="short">Gets the current box measurements of the component's underlying element.</div>            <div class="long">                Gets the current box measurements of the component's underlying element.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-getEl"></a>            <b>getEl</b>() : Ext.Element            <div class="mdesc">                        <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>            <div class="long">                Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-getId"></a>            <b>getId</b>() : String            <div class="mdesc">                        <div class="short">Returns the id of this component.</div>            <div class="long">                Returns the id of this component.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>String</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>    </tr>        <tr class="method-row inherited expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-getItemId"></a>            <b>getItemId</b>() : String            <div class="mdesc">                        <div class="short">Returns the item id of this component.</div>            <div class="long">                Returns the item id of this component.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li>None.</li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>String</code></li>        </ul>    </div>                </div>                        </div>        </td>        <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>    </tr>        <tr class="method-row inherited alt expandable">        <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>        <td class="sig">        <a id="Ext.Toolbar-getPosition"></a>            <b>getPosition</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Array            <div class="mdesc">                        <div class="short">Gets the current XY position of the component's underlying element.</div>            <div class="long">                Gets the current XY position of the component's underlying element.    <div class="mdetail-params">        <strong>Parameters:</strong>        <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li>        </ul>        <strong>Returns:</strong>        <ul>            <li><code>Array</code><div class="sub-desc">The XY posi

⌨️ 快捷键说明

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