sync
[roojs1] / docs / symbols / Array.html
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
3
4 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
5
6         <head>
7                 <meta http-equiv="content-type" content="text/html; charset=undefined" />
8                 <meta name="generator" content="JsDoc Toolkit" />
9                 
10                 
11                 <title>JsDoc Reference - Array</title>
12                 
13                 
14         <link rel="stylesheet" type="text/css" href="../../css/roojs.css" />            
15         <link rel="stylesheet" type="text/css" href="../default.css" />
16         
17         
18         <script type="text/javascript" src="../page.js">
19         
20         </script>
21          
22                 
23         </head>
24
25         <body onload="RooDocsPage.onload();">
26          
27         
28 <div class="body-wrap">
29
30     <!-- ============================== links to methods. ================================= --> 
31
32     <div class="top-tools">
33     <!--
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>
39         -->
40     </div>
41
42     
43 <!-- ============================== inheritance Block. ================================= -->    
44         
45 <!-- ============================== class title / details ============================ -->
46     
47     
48     <h1 class="classTitle">
49                                 
50                                 Built-In Class Array
51                         </h1>
52                         
53     <table cellspacing="0" class="class-summary-table">
54         
55         <tr><td class="label">Defined In:</td><td class="hd-info">
56                         
57                                         <a href="./src/Array.js.html">Array.js</a>.
58                         
59         </td></tr>
60         <tr><td class="label">Class:</td><td class="hd-info">Array</td></tr>
61         
62         
63         
64         
65     </table>
66
67     
68 <!-- ============================== class summary ========================== -->                        
69     <div class="description">
70         
71     </div>
72
73         
74 <!-- ============================== Class comment block... ========================== -->                                       
75
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>
79         <br/>
80         <iframe frameborder="0"  id="comments-" style="border: none;width:100%;" 
81                 src="/blog.php/GtkDjsComments/Array.html"></iframe>
82 </div>
83         
84
85                 
86 <!-- ============================== config options ========================== -->                                               
87                  
88     
89     
90                 
91     <div class="hr"></div>
92     <a id="Array-configs"></a>
93                 
94     
95     
96      <table cellspacing="0" class="member-table">
97       <caption class="Empty">Config Options - Has None</caption>
98      </table>
99     
100     
101      
102                 
103   
104   
105   
106   
107   
108   
109   
110   
111   <!-- ============================== public properties ==================== -->        
112   
113   
114   
115     <a id="Array-props"></a>      
116     
117     
118
119     
120     
121      <table cellspacing="0" class="member-table">
122       <caption class="Empty">Public Properties - Has None</caption>
123      </table>
124     
125     
126      
127     
128   <!-- ============================== methods summary / details ======================== -->
129   
130   
131   <a id="Array-methods"></a>
132         <!-- constructor?? -->
133         
134         <!-- static's first 
135         
136         
137         -->
138         
139         <!-- then dynamics first -->
140         
141   
142   
143     
144     
145     
146       <table cellspacing="0" class="member-table">
147       <caption>Public Methods</caption>
148         <tr>
149             <th class="sig-header" colspan="2">Method</th>            
150             <th class="msource-header">Defined By</th>
151
152         </tr>
153         
154         
155         
156          
157         
158         
159           
160           <tr class="method-row config-row-alt0 expandable notInherited">
161             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
162            
163            
164             <td class="sig">
165                 <a id="Array-method-indexOf"   name=".indexOf"></a>
166                 <div class="fixedFont">
167                         <span class="attributes"></span><b class="itemname">indexOf</b>
168                                 
169                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
170                         
171                                 
172                                          : 
173                                         
174                                                 
175                                                 <a href="./Number.html#constructor" roo:cls="Number.html#constructor">Number</a>
176                                         
177                                         
178                                         
179                                 
180                         
181                 </div>
182                 <div class="mdesc">
183                 
184                    <div class="short">Checks whether or not the specified object exists in the array.</div> 
185                  
186                  
187                  
188                     <div class="long">
189                         
190                                 Checks whether or not the specified object exists in the array.
191                     
192                                 
193                         
194                         
195                         
196                         
197                                 <dl class="detailList">
198                                 <dt class="heading">Parameters:</dt>
199                                 
200                                         <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>
202                                                 
203                                         </dt>
204                                         <dd>The object to check for</dd>
205                                 
206                                 </dl>
207                         
208                         
209                         
210                         
211                         
212                                 <dl class="detailList">
213                                 <dt class="heading">Returns:</dt>
214                                 
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>
216                                 
217                                 </dl>
218                         
219                         
220                         
221
222                     
223                     
224                      
225                     </div>                    
226                 </div>
227
228             </td>
229             <td class="msource">
230                 
231                         Array
232                 &nbsp;
233             </td>
234         </tr>
235         
236           
237           <tr class="method-row config-row-alt1 expandable notInherited">
238             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
239            
240            
241             <td class="sig">
242                 <a id="Array-method-map"   name=".map"></a>
243                 <div class="fixedFont">
244                         <span class="attributes"></span><b class="itemname">map</b>
245                                 
246                                  (<a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a> <B><i>function</i></B>) 
247                         
248                                 
249                         
250                 </div>
251                 <div class="mdesc">
252                 
253                    <div class="short">Map (JS 1.6 compatibility)</div> 
254                  
255                  
256                  
257                     <div class="long">
258                         
259                                 Map (JS 1.6 compatibility)
260                     
261                                 
262                         
263                         
264                         
265                         
266                                 <dl class="detailList">
267                                 <dt class="heading">Parameters:</dt>
268                                 
269                                         <dt>
270                                                 <span class="fixedFont"><a href="./Function.html#constructor" roo:cls="Function.html#constructor">Function</a></span>  <b>function</b>
271                                                 
272                                         </dt>
273                                         <dd>to call</dd>
274                                 
275                                 </dl>
276                         
277                         
278                         
279                         
280                         
281                         
282                         
283
284                     
285                     
286                      
287                     </div>                    
288                 </div>
289
290             </td>
291             <td class="msource">
292                 
293                         Array
294                 &nbsp;
295             </td>
296         </tr>
297         
298           
299           <tr class="method-row config-row-alt0 expandable notInherited">
300             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
301            
302            
303             <td class="sig">
304                 <a id="Array-method-remove"   name=".remove"></a>
305                 <div class="fixedFont">
306                         <span class="attributes"></span><b class="itemname">remove</b>
307                                 
308                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Object">Object</a> <B><i>o</i></B>) 
309                         
310                                 
311                         
312                 </div>
313                 <div class="mdesc">
314                 
315                    <div class="short">Removes the specified object from the array.</div> 
316                  
317                  
318                  
319                     <div class="long">
320                         
321                                 Removes the specified object from the array.  If the object is not found nothing happens.
322                     
323                                 
324                         
325                         
326                         
327                         
328                                 <dl class="detailList">
329                                 <dt class="heading">Parameters:</dt>
330                                 
331                                         <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>
333                                                 
334                                         </dt>
335                                         <dd>The object to remove</dd>
336                                 
337                                 </dl>
338                         
339                         
340                         
341                         
342                         
343                         
344                         
345
346                     
347                     
348                      
349                     </div>                    
350                 </div>
351
352             </td>
353             <td class="msource">
354                 
355                         Array
356                 &nbsp;
357             </td>
358         </tr>
359         
360                                                        
361     </table>
362
363   
364   <!-- ============================== events summary / details ======================== -->
365   
366   
367   <a id="Array-events"></a>
368     
369   
370         
371    
372     
373      <table cellspacing="0" class="member-table">
374       <caption class="Empty">Events - Has None</caption>
375      </table>
376     
377     
378   
379     
380     
381   
382   
383   
384  
385 <!-- ============================== footer ================================= -->
386                 <div class="fineprint" style="clear:both">
387                         
388                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:06 GMT+0800 (HKT)
389                         Based on 
390                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
391                 </div>
392         </body>
393 </html>