ext.container.html.svn-base
来自「PHP 知识管理系统(基于树结构的知识管理系统), 英文原版的PHP源码。」· SVN-BASE 代码 · 共 884 行 · 第 1/5 页
SVN-BASE
884 行
</tr>
<tr class="method-row alt expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Container-bubble"></a>
<b>bubble</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span> ) : void <div class="mdesc">
<div class="short">Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...</div>
<div class="long">
Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (<i>this</i>) offunction call will be the scope provided or the current component. The arguments to the functionwill be the args provided or the current component. If the function returns false at any point,the bubble is stopped. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current component)</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Container</td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Container-cascade"></a>
<b>cascade</b>( <code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span> ) : void <div class="mdesc">
<div class="short">Cascades down the component/container heirarchy from this component (called first), calling the specified function wi...</div>
<div class="long">
Cascades down the component/container heirarchy from this component (called first), calling the specified function witheach component. The scope (<i>this</i>) offunction call will be the scope provided or the current component. The arguments to the functionwill be the args provided or the current component. If the function returns false at any point,the cascade is stopped on that branch. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current component)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (defaults to passing the current component)</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Container</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.Container-cloneConfig"></a>
<b>cloneConfig</b>( <code>Object overrides</code> ) : Ext.Component <div class="mdesc">
<div class="short">Clone the current component using the original config values passed into this instance by default.</div>
<div class="long">
Clone the current component using the original config values passed into this instance by default. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">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.Container-destroy"></a>
<b>destroy</b>() : void <div class="mdesc">
<div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,removing the c...</div>
<div class="long">
Destroys this component by purging any event listeners, removing the component's element from the DOM,removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from<a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. Destruction is generally handled automatically by the framework and this methodshould usually not need to be called directly. <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"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">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.Container-disable"></a>
<b>disable</b>() : Ext.Component <div class="mdesc">
<div class="short">Disable this component.</div>
<div class="long">
Disable 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="#disable" href="output/Ext.Component.html#disable">Component</a></td>
</tr>
<tr class="method-row expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Container-doLayout"></a>
<b>doLayout</b>( <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span> ) : void <div class="mdesc">
<div class="short">Force this container's layout to be recalculated. A call to this function is required after adding a new componentto...</div>
<div class="long">
Force this container's layout to be recalculated. A call to this function is required after adding a new componentto an already rendered container, or possibly after changing sizing/position properties of child components. <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>shallow</code> : Boolean<div class="sub-desc">(optional) True to only calc the layout of this component, and let child components autocalc layouts as required (defaults to false, which calls doLayout recursively for each subcontainer)</div></li> </ul>
<strong>Returns:</strong>
<ul>
<li><code>void</code></li>
</ul>
</div>
</div>
</div>
</td>
<td class="msource">Container</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.Container-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 expandable">
<td class="micon"><a class="exi" href="#expand"> </a></td>
<td class="sig">
<a id="Ext.Container-find"></a>
<b>find</b>( <code>String prop</code>, <code>String value</code> ) : Array <div class="mdesc">
<div class="short">Find a component under this container at any level by property</div>
<div class="long">
Find a component under this container at any level by property <div class="mdetail-params">
<strong>Parameters:</strong>
<ul><li><code>prop</code> : String<div class="sub-desc"></div></li><li><code>value</code> : String<div class="sub-desc"></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">Container</td>
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?