+++ /dev/null
-<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
-
-
-<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
-
- <head>
- <meta http-equiv="content-type" content="text/html; charset=undefined" />
- <meta name="generator" content="JsDoc Toolkit" />
-
-
- <title>JsDoc Reference - Roo.CompositeElement</title>
-
-
- <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
- <link rel="stylesheet" type="text/css" href="../default.css" />
-
-
- <script type="text/javascript" src="../page.js">
-
- </script>
-
-
- </head>
-
- <body onload="RooDocsPage.onload();">
-
-
-<div class="body-wrap">
-
- <!-- ============================== links to methods. ================================= -->
-
- <div class="top-tools">
- <!--
- <a class="inner-link" href="#Roo.CompositeElement-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
- <a class="inner-link" href="#Roo.CompositeElement-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
- <a class="inner-link" href="#Roo.CompositeElement-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
- <a class="inner-link" href="#Roo.CompositeElement-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
- <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
- -->
- </div>
-
-
-<!-- ============================== inheritance Block. ================================= -->
-
-<!-- ============================== class title / details ============================ -->
-
-
- <h1 class="classTitle">
-
- Class Roo.CompositeElement
- </h1>
-
- <table cellspacing="0" class="class-summary-table">
-
- <tr><td class="label">Package:</td><td class="hd-info">Roo</td></tr>
-
- <tr><td class="label">Defined In:</td><td class="hd-info">
-
- <a href="./src/Roo_CompositeElement.js.html">Roo/CompositeElement.js</a>.
-
- </td></tr>
- <tr><td class="label">Class:</td><td class="hd-info">CompositeElement</td></tr>
-
-
- <tr><td class="label">Subclasses:</td><td class="hd-info">
- <a href="./Roo.CompositeElementLite.html#constructor" roo:cls="Roo.CompositeElementLite.html#constructor">Roo.CompositeElementLite</a>
-
-
-
- </td></tr>
-
-
-
- </table>
-
-
-<!-- ============================== class summary ========================== -->
- <div class="description">
- Standard composite class. Creates a Roo.Element for every element in the collection.<br/><br><br><br/><b>NOTE: Although they are not listed, this class supports all of the set/update methods of Roo.Element. All Roo.Element<br/>actions will be performed on all the elements in this collection.</b><br/><br><br><br/>All methods return <i>this</i> and can be chained.<br/> <pre><code><br/> var els = Roo.select("<b>some</b>-el div.some-class", true);<br/> // or select directly from an existing element<br/> var el = Roo.get('some-el');<br/> el.select('div.some-class', true);<br/><br/> els.setWidth(100); // all elements become 100 width<br/> els.hide(true); // all elements fade out and hide<br/> // or<br/> els.setWidth(100).hide(true);<br/> </code></pre>
- </div>
-
-
-<!-- ============================== Class comment block... ========================== -->
-
-<div class="comments">
- <b>Class Comments / Notes</B> =>
- <u onclick="parent.CommentDialog.showCommentId = 'Roo.CompositeElement';">[Add Your comment/notes about this class]</u>
- <br/>
- <iframe frameborder="0" id="comments-Roo" style="border: none;width:100%;"
- src="/blog.php/GtkDjsComments/Roo.CompositeElement.html"></iframe>
-</div>
-
-
-
-<!-- ============================== config options ========================== -->
-
-
-
-
- <div class="hr"></div>
- <a id="Roo.CompositeElement-configs"></a>
-
-
-
- <table cellspacing="0" class="member-table">
- <caption class="Empty">Config Options - Has None</caption>
- </table>
-
-
-
-
-
-
-
-
-
-
-
-
- <!-- ============================== public properties ==================== -->
-
-
-
- <a id="Roo.CompositeElement-props"></a>
-
-
-
-
-
- <table cellspacing="0" class="member-table">
- <caption class="Empty">Public Properties - Has None</caption>
- </table>
-
-
-
-
- <!-- ============================== methods summary / details ======================== -->
-
-
- <a id="Roo.CompositeElement-methods"></a>
- <!-- constructor?? -->
-
- <!-- static's first
-
-
- -->
-
- <!-- then dynamics first -->
-
-
-
-
-
-
- <table cellspacing="0" class="member-table">
- <caption>Public Methods</caption>
- <tr>
- <th class="sig-header" colspan="2">Method</th>
- <th class="msource-header">Defined By</th>
-
- </tr>
-
-
-
-
-
-
-
- <tr class="method-row config-row-alt0 notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo-method-CompositeElement" name=".CompositeElement"></a>
- <div class="fixedFont">
- <span class="attributes">new <B>Roo.</B></span><b class="itemname">CompositeElement</b>
-
- ()
-
-
-
- </div>
- <div class="mdesc">
-
-
- <div class="short">Create a new Roo.CompositeElement</div>
-
-
- <div class="long">
-
-
-
- Create a new Roo.CompositeElement
-
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-add" name=".add"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">add</b>
-
- (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array <B><i>els</i></B>)
-
-
- :
-
-
- CompositeElement
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Adds elements to this composite.</div>
-
-
-
- <div class="long">
-
- Adds elements to this composite.
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span> <b>els</b>
-
- </dt>
- <dd>A string CSS selector, an array of elements or an element</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont">CompositeElement</span> this</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-clear" name=".clear"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">clear</b>
-
- ()
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Removes all elements.</div>
-
-
-
- <div class="long">
-
- Removes all elements.
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-contains" name=".contains"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">contains</b>
-
- ()
-
-
- :
-
-
-
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Returns true if this composite contains the passed element</div>
-
-
-
- <div class="long">
-
- Returns true if this composite contains the passed element
-
-
-
-
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd> Boolean</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-each" name=".each"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">each</b>
-
- (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>fn</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>scope</i></B>)
-
-
- :
-
-
- CompositeElement
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Calls the passed function passing (el, this, index) for each element in this composite.</div>
-
-
-
- <div class="long">
-
- Calls the passed function passing (el, this, index) for each element in this composite.
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>fn</b>
-
- </dt>
- <dd>The function to call</dd>
-
- <dt>
- <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>scope</b>
-
- </dt>
- <dd>(optional) The <i>this</i> object (defaults to the element)</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont">CompositeElement</span> this</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-fill" name=".fill"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">fill</b>
-
- (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array <B><i>els</i></B>)
-
-
- :
-
-
- CompositeElement
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Clears this composite and adds the elements returned by the passed selector.</div>
-
-
-
- <div class="long">
-
- Clears this composite and adds the elements returned by the passed selector.
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/Array</span> <b>els</b>
-
- </dt>
- <dd>A string CSS selector, an array of elements or an element</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont">CompositeElement</span> this</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-filter" name=".filter"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">filter</b>
-
- (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>selector</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>inverse</i></B>)
-
-
- :
-
-
- CompositeElement
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Filters this composite to only elements that match the passed selector.</div>
-
-
-
- <div class="long">
-
- Filters this composite to only elements that match the passed selector.
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span> <b>selector</b>
-
- </dt>
- <dd>A string CSS selector</dd>
-
- <dt>
- <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>inverse</b>
-
- </dt>
- <dd>return inverse filter (not matches)</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont">CompositeElement</span> this</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-first" name=".first"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">first</b>
-
- ()
-
-
- :
-
-
- <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Returns the first Element</div>
-
-
-
- <div class="long">
-
- Returns the first Element
-
-
-
-
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> </dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-getCount" name=".getCount"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">getCount</b>
-
- ()
-
-
- :
-
-
-
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Returns the number of elements in this composite</div>
-
-
-
- <div class="long">
-
- Returns the number of elements in this composite
-
-
-
-
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd> Number</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-indexOf" name=".indexOf"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">indexOf</b>
-
- ()
-
-
- :
-
-
-
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Returns true if this composite contains the passed element</div>
-
-
-
- <div class="long">
-
- Returns true if this composite contains the passed element
-
-
-
-
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd> Boolean</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-item" name=".item"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">item</b>
-
- (<a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a> <B><i>index</i></B>)
-
-
- :
-
-
- <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Returns the Element object at the specified index</div>
-
-
-
- <div class="long">
-
- Returns the Element object at the specified index
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> <b>index</b>
-
- </dt>
- <dd></dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> </dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-last" name=".last"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">last</b>
-
- ()
-
-
- :
-
-
- <a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a>
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Returns the last Element</div>
-
-
-
- <div class="long">
-
- Returns the last Element
-
-
-
-
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont"><a href="./Roo.Element.html#constructor" roo:cls="Roo.Element.html#constructor">Roo.Element</a></span> </dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt0 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-removeElement" name=".removeElement"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">removeElement</b>
-
- (Mixed <B><i>el</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>removeDom</i></B>)
-
-
- :
-
-
- CompositeElement
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Removes the specified element(s).</div>
-
-
-
- <div class="long">
-
- Removes the specified element(s).
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont">Mixed</span> <b>el</b>
-
- </dt>
- <dd>The id of an element, the Element itself, the index of the element in this composite<br/>or an array of any of those.</dd>
-
- <dt>
- <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>removeDom</b>
-
- </dt>
- <dd>(optional) True to also remove the element from the document</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont">CompositeElement</span> this</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- <tr class="method-row config-row-alt1 expandable notInherited">
- <td class="micon"><a class="exi" href="#expand"> </a></td>
-
-
- <td class="sig">
- <a id="Roo.CompositeElement-method-replaceElement" name=".replaceElement"></a>
- <div class="fixedFont">
- <span class="attributes"></span><b class="itemname">replaceElement</b>
-
- (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element/Number <B><i>el</i></B>, <a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element <B><i>replacement</i></B>, <a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>domReplace</i></B>)
-
-
- :
-
-
- CompositeElement
-
-
-
-
-
- </div>
- <div class="mdesc">
-
- <div class="short">Replaces the specified element with the passed element.</div>
-
-
-
- <div class="long">
-
- Replaces the specified element with the passed element.
-
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Parameters:</dt>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element/Number</span> <b>el</b>
-
- </dt>
- <dd>The id of an element, the Element itself, the index of the element in this composite<br/>to replace.</dd>
-
- <dt>
- <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a>/HTMLElement/Element</span> <b>replacement</b>
-
- </dt>
- <dd>The id of an element or the Element itself.</dd>
-
- <dt>
- <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span> <b>domReplace</b>
-
- </dt>
- <dd>(Optional) True to remove and replace the element in the document too.</dd>
-
- </dl>
-
-
-
-
-
- <dl class="detailList">
- <dt class="heading">Returns:</dt>
-
- <dd><span class="fixedFont">CompositeElement</span> this</dd>
-
- </dl>
-
-
-
-
-
-
-
- </div>
- </div>
-
- </td>
- <td class="msource">
-
- Roo.CompositeElement
-
- </td>
- </tr>
-
-
- </table>
-
-
- <!-- ============================== events summary / details ======================== -->
-
-
- <a id="Roo.CompositeElement-events"></a>
-
-
-
-
-
- <table cellspacing="0" class="member-table">
- <caption class="Empty">Events - Has None</caption>
- </table>
-
-
-
-
-
-
-
-
-
-<!-- ============================== footer ================================= -->
- <div class="fineprint" style="clear:both">
-
- Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Fri Jul 13 2018 14:10:53 GMT+0800 (HKT)
- Based on
- <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>
- </div>
- </body>
-</html>