📄 ext.toolbar.button.html
字号:
<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"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-fireEvent"></a> <b>fireEvent</b>( <code>String eventName</code>, <code>Object... args</code> ) : 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"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-focus"></a> <b>focus</b>( <span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span> ) : 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"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-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 expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-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 alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-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 expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-getText"></a> <b>getText</b>() : String <div class="mdesc"> <div class="short">Gets the text for this button</div> <div class="long"> Gets the text for this button <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>String</code><div class="sub-desc">The button text</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.Button" ext:member="#getText" href="output/Ext.Button.html#getText">Button</a></td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-getXType"></a> <b>getXType</b>() : String <div class="mdesc"> <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of allavailable xtypes, see the Ex...</div> <div class="long"> Gets the xtype for this component as registered with <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. For a list of allavailable xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:<pre><code>var t = <b>new</b> Ext.form.TextField();alert(t.getXType()); // alerts <em>'textfield'</em></code></pre> <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>String</code><div class="sub-desc">The xtype</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td> </tr> <tr class="method-row inherited expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-getXTypes"></a> <b>getXTypes</b>() : String <div class="mdesc"> <div class="short">Returns this Component's xtype hierarchy as a slash-delimited string. For a list of allavailable xtypes, see the Ext...</div> <div class="long"> <p>Returns this Component's xtype hierarchy as a slash-delimited string. For a list of allavailable xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header.</p><p><b>If using your own subclasses, be aware that a Component must register its own xtypeto participate in determination of inherited xtypes.</b></p><p>Example usage:</p><pre><code>var t = new Ext.form.TextField();alert(t.getXTypes()); // alerts 'component/box/field/textfield'</pre></code> <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li>None.</li> </ul> <strong>Returns:</strong> <ul> <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td> </tr> <tr class="method-row inherited alt expandable"> <td class="micon"><a class="exi" href="#expand"> </a></td> <td class="sig"> <a id="Ext.Toolbar.Button-hasListener"></a> <b>hasListener</b>( <code>String eventName</code> ) : Boolean <div class="mdesc"> <div class="short">Checks to see if this object has any listeners for a specified event</div> <div class="long"> Checks to see if this object has any listeners for a specified event <div class="mdetail-params"> <strong>Parameters:</strong> <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul> <strong>Returns:</strong> <ul> <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li> </ul> </div> </div> </div> </td> <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td> </tr> <tr
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -