1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
7 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8 <meta name="generator" content="JsDoc Toolkit" />
11 <title>JsDoc Reference - Array</title>
14 <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />
15 <link rel="stylesheet" type="text/css" href="../default.css" />
18 <script type="text/javascript" src="../page.js">
25 <body onload="RooDocsPage.onload();">
28 <div class="body-wrap">
30 <!-- ============================== links to methods. ================================= -->
32 <div class="top-tools">
34 <a class="inner-link" href="#Array-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35 <a class="inner-link" href="#Array-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36 <a class="inner-link" href="#Array-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37 <a class="inner-link" href="#Array-configs"><img src="resources/s.gif" class="item-icon icon-config">Config Options</a>
38 <a class="bookmark" href="NEED_TO_CREATE_DIRECT_LINK_HREF"><img src="resources/s.gif" class="item-icon icon-fav">Direct Link</a>
43 <!-- ============================== inheritance Block. ================================= -->
45 <!-- ============================== class title / details ============================ -->
48 <h1 class="classTitle">
53 <table cellspacing="0" class="class-summary-table">
55 <tr><td class="label">Defined In:</td><td class="hd-info">
57 <a href="./src/Array.js.html">Array.js</a>.
60 <tr><td class="label">Class:</td><td class="hd-info">Array</td></tr>
68 <!-- ============================== class summary ========================== -->
69 <div class="description">
74 <!-- ============================== Class comment block... ========================== -->
76 <div class="comments">
77 <b>Class Comments / Notes</B> =>
78 <u onclick="parent.CommentDialog.showCommentId = 'Array';">[Add Your comment/notes about this class]</u>
80 <iframe frameborder="0" id="comments-" style="border: none;width:100%;"
81 src="/blog.php/GtkDjsComments/Array.html"></iframe>
86 <!-- ============================== config options ========================== -->
91 <div class="hr"></div>
92 <a id="Array-configs"></a>
96 <table cellspacing="0" class="member-table">
97 <caption class="Empty">Config Options - Has None</caption>
111 <!-- ============================== public properties ==================== -->
115 <a id="Array-props"></a>
121 <table cellspacing="0" class="member-table">
122 <caption class="Empty">Public Properties - Has None</caption>
128 <!-- ============================== methods summary / details ======================== -->
131 <a id="Array-methods"></a>
132 <!-- constructor?? -->
139 <!-- then dynamics first -->
146 <table cellspacing="0" class="member-table">
147 <caption>Public Methods</caption>
149 <th class="sig-header" colspan="2">Method</th>
150 <th class="msource-header">Defined By</th>
160 <tr class="method-row config-row-alt0 expandable notInherited">
161 <td class="micon"><a class="exi" href="#expand"> </a></td>
165 <a id="Array-method-indexOf" name=".indexOf"></a>
166 <div class="fixedFont">
167 <span class="attributes"></span><b class="itemname">indexOf</b>
169 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>)
175 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
184 <div class="short">Checks whether or not the specified object exists in the array.</div>
190 Checks whether or not the specified object exists in the array.
197 <dl class="detailList">
198 <dt class="heading">Parameters:</dt>
201 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>o</b>
204 <dd>The object to check for</dd>
212 <dl class="detailList">
213 <dt class="heading">Returns:</dt>
215 <dd><span class="fixedFont"><a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a></span> The index of o in the array (or -1 if it is not found)</dd>
237 <tr class="method-row config-row-alt1 expandable notInherited">
238 <td class="micon"><a class="exi" href="#expand"> </a></td>
242 <a id="Array-method-map" name=".map"></a>
243 <div class="fixedFont">
244 <span class="attributes"></span><b class="itemname">map</b>
246 (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>function</i></B>)
253 <div class="short">Map (JS 1.6 compatibility)</div>
259 Map (JS 1.6 compatibility)
266 <dl class="detailList">
267 <dt class="heading">Parameters:</dt>
270 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span> <b>function</b>
299 <tr class="method-row config-row-alt0 expandable notInherited">
300 <td class="micon"><a class="exi" href="#expand"> </a></td>
304 <a id="Array-method-remove" name=".remove"></a>
305 <div class="fixedFont">
306 <span class="attributes"></span><b class="itemname">remove</b>
308 (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>)
315 <div class="short">Removes the specified object from the array.</div>
321 Removes the specified object from the array. If the object is not found nothing happens.
328 <dl class="detailList">
329 <dt class="heading">Parameters:</dt>
332 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a></span> <b>o</b>
335 <dd>The object to remove</dd>
364 <!-- ============================== events summary / details ======================== -->
367 <a id="Array-events"></a>
373 <table cellspacing="0" class="member-table">
374 <caption class="Empty">Events - Has None</caption>
385 <!-- ============================== footer ================================= -->
386 <div class="fineprint" style="clear:both">
388 Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a> on Wed Aug 26 2015 15:09:53 GMT+0800 (HKT)
390 <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>