?? ext.action.html.svn-base
字號(hào):
Enables all components using this action. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li>None.</li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-execute"></a>
<b>execute</b>( <span class="optional" title="Optional">[<code>Mixed arg1</code>]</span>, <span class="optional" title="Optional">[<code>Mixed arg2</code>]</span>, <span class="optional" title="Optional">[<code>Mixed etc...</code>]</span> ) : void <div class="mdesc">
<div class="short">Executes this action manually using the default handler specified in the original config object. Any argumentspasse...</div>
<div class="long">
Executes this action manually using the default handler specified in the original config object. Any argumentspassed to this function will be passed on to the handler function. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>arg1</code> : Mixed<div class="sub-desc">(optional) Variable number of arguments passed to the handler function</div></li><li><code>arg2</code> : Mixed<div class="sub-desc">(optional)</div></li><li><code>etc...</code> : Mixed<div class="sub-desc">(optional)</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-getIconClass"></a>
<b>getIconClass</b>() : void <div class="mdesc">
<div class="short">Gets the icon CSS class currently used by all components using this action.</div>
<div class="long">
Gets the icon CSS class currently used by all components using this action. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li>None.</li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-getText"></a>
<b>getText</b>() : void <div class="mdesc">
<div class="short">Gets the text currently displayed by all components using this action.</div>
<div class="long">
Gets the text currently displayed by all components using this action. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li>None.</li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-hide"></a>
<b>hide</b>() : void <div class="mdesc">
<div class="short">Hides all components using this action.</div>
<div class="long">
Hides all components using this action. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li>None.</li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-setDisabled"></a>
<b>setDisabled</b>( <code>Boolean disabled</code> ) : void <div class="mdesc">
<div class="short">Sets the disabled state of all components using this action. Shortcut methodfor <a ext:cls="Ext.Action" ext:member="enable" href="output/Ext.Action.html#enable">enable</a> and <a ext:cls="Ext.Action" ext:member="disable" href="output/Ext.Action.html#disable">disable</a>.</div>
<div class="long">
Sets the disabled state of all components using this action. Shortcut methodfor <a ext:cls="Ext.Action" ext:member="enable" href="output/Ext.Action.html#enable">enable</a> and <a ext:cls="Ext.Action" ext:member="disable" href="output/Ext.Action.html#disable">disable</a>. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>disabled</code> : Boolean<div class="sub-desc">True to disable the component, false to enable it</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-setHandler"></a>
<b>setHandler</b>( <code>Function fn</code>, <code>Object scope</code> ) : void <div class="mdesc">
<div class="short">Sets the function that will be called by each component using this action when its primary event is triggered.</div>
<div class="long">
Sets the function that will be called by each component using this action when its primary event is triggered. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>fn</code> : Function<div class="sub-desc">The function that will be invoked by the action's components. The functionwill be called with no arguments.</div></li><li><code>scope</code> : Object<div class="sub-desc">The scope in which the function will execute</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-setHidden"></a>
<b>setHidden</b>( <code>Boolean hidden</code> ) : void <div class="mdesc">
<div class="short">Sets the hidden state of all components using this action. Shortcut methodfor <a ext:cls="Ext.Action" ext:member="hide" href="output/Ext.Action.html#hide">hide</a> and <a ext:cls="Ext.Action" ext:member="show" href="output/Ext.Action.html#show">show</a>.</div>
<div class="long">
Sets the hidden state of all components using this action. Shortcut methodfor <a ext:cls="Ext.Action" ext:member="hide" href="output/Ext.Action.html#hide">hide</a> and <a ext:cls="Ext.Action" ext:member="show" href="output/Ext.Action.html#show">show</a>. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>hidden</code> : Boolean<div class="sub-desc">True to hide the component, false to show it</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-setIconClass"></a>
<b>setIconClass</b>( <code>String cls</code> ) : void <div class="mdesc">
<div class="short">Sets the icon CSS class for all components using this action. The class should supplya background image that will b...</div>
<div class="long">
Sets the icon CSS class for all components using this action. The class should supplya background image that will be used as the icon image. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>cls</code> : String<div class="sub-desc">The CSS class supplying the icon image</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-setText"></a>
<b>setText</b>( <code>String text</code> ) : void <div class="mdesc">
<div class="short">Sets the text to be displayed by all components using this action.</div>
<div class="long">
Sets the text to be displayed by all components using this action. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>text</code> : String<div class="sub-desc">The text to display</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Action-show"></a>
<b>show</b>() : void <div class="mdesc">
<div class="short">Shows all components using this action.</div>
<div class="long">
Shows all components using this action. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li>None.</li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Action</td>
</tr>
</table> <a id="Ext.Action-events"></a> <h2>Public Events</h2> <div class="no-members">This class has no public events.</div> </div>
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -