sync
[roojs1] / docs / symbols / Roo.Toolbar.TextItem.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 - Roo.Toolbar.TextItem</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="#Roo.Toolbar.TextItem-props"><img src="resources/s.gif" class="item-icon icon-prop">Properties</a>
35         <a class="inner-link" href="#Roo.Toolbar.TextItem-methods"><img src="resources/s.gif" class="item-icon icon-method">Methods</a>
36         <a class="inner-link" href="#Roo.Toolbar.TextItem-events"><img src="resources/s.gif" class="item-icon icon-event">Events</a>
37         <a class="inner-link" href="#Roo.Toolbar.TextItem-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                 <div class="inheritance res-block">
46                    <pre class="res-block-inner"><a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
47 <img src="../../images/default/s.gif" height="1"  width="20"/><img class="elbow" src="../../images/default/tree/elbow-end.gif"/>Roo.Toolbar.TextItem 
48
49                    </pre>
50                 </div>
51        
52 <!-- ============================== class title / details ============================ -->
53     
54     
55     <h1 class="classTitle">
56                                 
57                                 Class Roo.Toolbar.TextItem
58                         </h1>
59                         
60     <table cellspacing="0" class="class-summary-table">
61         
62                 <tr><td class="label">Package:</td><td class="hd-info">Roo.Toolbar</td></tr>
63         
64         <tr><td class="label">Defined In:</td><td class="hd-info">
65                         
66                                         <a href="./src/Roo_Toolbar.js.html">Roo/Toolbar.js</a>.
67                         
68         </td></tr>
69         <tr><td class="label">Class:</td><td class="hd-info">TextItem</td></tr>
70         
71         
72         
73         
74                 <tr><td class="label">Extends:</td><td class="hd-info">
75                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
76         
77                 </td></tr>    
78         
79         
80     </table>
81
82     
83 <!-- ============================== class summary ========================== -->                        
84     <div class="description">
85         A simple class that renders text directly into a toolbar.
86     </div>
87
88         
89 <!-- ============================== Class comment block... ========================== -->                                       
90
91 <div class="comments">
92         <b>Class Comments / Notes</B> =>  
93         <u onclick="parent.CommentDialog.showCommentId = 'Roo.Toolbar.TextItem';">[Add Your comment/notes about this class]</u>
94         <br/>
95         <iframe frameborder="0"  id="comments-Roo.Toolbar" style="border: none;width:100%;" 
96                 src="/blog.php/GtkDjsComments/Roo.Toolbar.TextItem.html"></iframe>
97 </div>
98         
99
100                 
101 <!-- ============================== config options ========================== -->                                               
102                  
103     
104     
105                 
106     <div class="hr"></div>
107     <a id="Roo.Toolbar.TextItem-configs"></a>
108                 
109     
110     
111      <table cellspacing="0" class="member-table">
112       <caption class="Empty">Config Options - Has None</caption>
113      </table>
114     
115     
116      
117                 
118   
119   
120   
121   
122   
123   
124   
125   
126   <!-- ============================== public properties ==================== -->        
127   
128   
129   
130     <a id="Roo.Toolbar.TextItem-props"></a>      
131     
132     
133
134     
135     
136      <table cellspacing="0" class="member-table">
137       <caption class="Empty">Public Properties - Has None</caption>
138      </table>
139     
140     
141      
142     
143   <!-- ============================== methods summary / details ======================== -->
144   
145   
146   <a id="Roo.Toolbar.TextItem-methods"></a>
147         <!-- constructor?? -->
148         
149         <!-- static's first 
150         
151         
152         -->
153         
154         <!-- then dynamics first -->
155         
156   
157   
158     
159     
160     
161       <table cellspacing="0" class="member-table">
162       <caption>Public Methods</caption>
163         <tr>
164             <th class="sig-header" colspan="2">Method</th>            
165             <th class="msource-header">Defined By</th>
166
167         </tr>
168         
169         
170         
171          
172         
173         
174           
175           <tr class="method-row config-row-alt0 expandable notInherited">
176             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
177            
178            
179             <td class="sig">
180                 <a id="Roo.Toolbar-method-TextItem"   name=".TextItem"></a>
181                 <div class="fixedFont">
182                         <span class="attributes">new <B>Roo.Toolbar.</B></span><b class="itemname">TextItem</b>
183                                 
184                                  (<a href="./String.html#constructor" roo:cls="String.html#constructor">String</a> <B><i>text</i></B>) 
185                         
186                                 
187                         
188                 </div>
189                 <div class="mdesc">
190                 
191                  
192                         <div class="short">Create a new Roo.Toolbar.TextItem</div> 
193                  
194                  
195                     <div class="long">
196                         
197                         
198                         
199                                 Create a new Roo.Toolbar.TextItem
200                         
201                         
202                                 <dl class="detailList">
203                                 <dt class="heading">Parameters:</dt>
204                                 
205                                         <dt>
206                                                 <span class="fixedFont"><a href="./String.html#constructor" roo:cls="String.html#constructor">String</a></span>  <b>text</b>
207                                                 
208                                         </dt>
209                                         <dd></dd>
210                                 
211                                 </dl>
212                         
213                         
214                         
215                         
216                         
217                         
218                         
219
220                     
221                     
222                      
223                     </div>                    
224                 </div>
225
226             </td>
227             <td class="msource">
228                 &nbsp;
229             </td>
230         </tr>
231         
232           
233           <tr class="method-row config-row-alt1 expandable">
234             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
235            
236            
237             <td class="sig">
238                 <a id="Roo.Toolbar.Item-method-destroy"   name=".destroy"></a>
239                 <div class="fixedFont">
240                         <span class="attributes"></span><b class="itemname">destroy</b>
241                                 
242                                  () 
243                         
244                                 
245                         
246                 </div>
247                 <div class="mdesc">
248                 
249                    <div class="short">Removes and destroys this item.</div> 
250                  
251                  
252                  
253                     <div class="long">
254                         
255                                 Removes and destroys this item.
256                     
257                                 
258                         
259                         
260                         
261                         
262                         
263                         
264                         
265                         
266                         
267                         
268
269                     
270                     
271                      
272                     </div>                    
273                 </div>
274
275             </td>
276             <td class="msource">
277                 
278                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
279                 &nbsp;
280             </td>
281         </tr>
282         
283           
284           <tr class="method-row config-row-alt0 expandable">
285             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
286            
287            
288             <td class="sig">
289                 <a id="Roo.Toolbar.Item-method-disable"   name=".disable"></a>
290                 <div class="fixedFont">
291                         <span class="attributes"></span><b class="itemname">disable</b>
292                                 
293                                  () 
294                         
295                                 
296                         
297                 </div>
298                 <div class="mdesc">
299                 
300                    <div class="short">Disables this item.</div> 
301                  
302                  
303                  
304                     <div class="long">
305                         
306                                 Disables this item.
307                     
308                                 
309                         
310                         
311                         
312                         
313                         
314                         
315                         
316                         
317                         
318                         
319
320                     
321                     
322                      
323                     </div>                    
324                 </div>
325
326             </td>
327             <td class="msource">
328                 
329                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
330                 &nbsp;
331             </td>
332         </tr>
333         
334           
335           <tr class="method-row config-row-alt1 expandable">
336             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
337            
338            
339             <td class="sig">
340                 <a id="Roo.Toolbar.Item-method-enable"   name=".enable"></a>
341                 <div class="fixedFont">
342                         <span class="attributes"></span><b class="itemname">enable</b>
343                                 
344                                  () 
345                         
346                                 
347                         
348                 </div>
349                 <div class="mdesc">
350                 
351                    <div class="short">Enables this item.</div> 
352                  
353                  
354                  
355                     <div class="long">
356                         
357                                 Enables this item.
358                     
359                                 
360                         
361                         
362                         
363                         
364                         
365                         
366                         
367                         
368                         
369                         
370
371                     
372                     
373                      
374                     </div>                    
375                 </div>
376
377             </td>
378             <td class="msource">
379                 
380                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
381                 &nbsp;
382             </td>
383         </tr>
384         
385           
386           <tr class="method-row config-row-alt0 expandable">
387             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
388            
389            
390             <td class="sig">
391                 <a id="Roo.Toolbar.Item-method-focus"   name=".focus"></a>
392                 <div class="fixedFont">
393                         <span class="attributes"></span><b class="itemname">focus</b>
394                                 
395                                  () 
396                         
397                                 
398                         
399                 </div>
400                 <div class="mdesc">
401                 
402                    <div class="short">Try to focus this item.</div> 
403                  
404                  
405                  
406                     <div class="long">
407                         
408                                 Try to focus this item.
409                     
410                                 
411                         
412                         
413                         
414                         
415                         
416                         
417                         
418                         
419                         
420                         
421
422                     
423                     
424                      
425                     </div>                    
426                 </div>
427
428             </td>
429             <td class="msource">
430                 
431                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
432                 &nbsp;
433             </td>
434         </tr>
435         
436           
437           <tr class="method-row config-row-alt1 expandable">
438             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
439            
440            
441             <td class="sig">
442                 <a id="Roo.Toolbar.Item-method-getEl"   name=".getEl"></a>
443                 <div class="fixedFont">
444                         <span class="attributes"></span><b class="itemname">getEl</b>
445                                 
446                                  () 
447                         
448                                 
449                                          : 
450                                         
451                                                 
452                                                 <a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a>
453                                         
454                                         
455                                         
456                                 
457                         
458                 </div>
459                 <div class="mdesc">
460                 
461                    <div class="short">Get this item's HTML Element</div> 
462                  
463                  
464                  
465                     <div class="long">
466                         
467                                 Get this item's HTML Element
468                     
469                                 
470                         
471                         
472                         
473                         
474                         
475                         
476                         
477                         
478                                 <dl class="detailList">
479                                 <dt class="heading">Returns:</dt>
480                                 
481                                         <dd><span class="fixedFont"><a href="http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-58190037">HTMLElement</a></span>  </dd>
482                                 
483                                 </dl>
484                         
485                         
486                         
487
488                     
489                     
490                      
491                     </div>                    
492                 </div>
493
494             </td>
495             <td class="msource">
496                 
497                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
498                 &nbsp;
499             </td>
500         </tr>
501         
502           
503           <tr class="method-row config-row-alt0 expandable">
504             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
505            
506            
507             <td class="sig">
508                 <a id="Roo.Toolbar.Item-method-hide"   name=".hide"></a>
509                 <div class="fixedFont">
510                         <span class="attributes"></span><b class="itemname">hide</b>
511                                 
512                                  () 
513                         
514                                 
515                         
516                 </div>
517                 <div class="mdesc">
518                 
519                    <div class="short">Hides this item.</div> 
520                  
521                  
522                  
523                     <div class="long">
524                         
525                                 Hides this item.
526                     
527                                 
528                         
529                         
530                         
531                         
532                         
533                         
534                         
535                         
536                         
537                         
538
539                     
540                     
541                      
542                     </div>                    
543                 </div>
544
545             </td>
546             <td class="msource">
547                 
548                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
549                 &nbsp;
550             </td>
551         </tr>
552         
553           
554           <tr class="method-row config-row-alt1 expandable">
555             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
556            
557            
558             <td class="sig">
559                 <a id="Roo.Toolbar.Item-method-setVisible"   name=".setVisible"></a>
560                 <div class="fixedFont">
561                         <span class="attributes"></span><b class="itemname">setVisible</b>
562                                 
563                                  (<a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a> <B><i>visible</i></B>) 
564                         
565                                 
566                         
567                 </div>
568                 <div class="mdesc">
569                 
570                    <div class="short">Convenience function for boolean show/hide.</div> 
571                  
572                  
573                  
574                     <div class="long">
575                         
576                                 Convenience function for boolean show/hide.
577                     
578                                 
579                         
580                         
581                         
582                         
583                                 <dl class="detailList">
584                                 <dt class="heading">Parameters:</dt>
585                                 
586                                         <dt>
587                                                 <span class="fixedFont"><a href="http://developer.mozilla.org/en/docs/Core_JavaScript_1.5_Reference:Global_Objects:Boolean">Boolean</a></span>  <b>visible</b>
588                                                 
589                                         </dt>
590                                         <dd>true to show/false to hide</dd>
591                                 
592                                 </dl>
593                         
594                         
595                         
596                         
597                         
598                         
599                         
600
601                     
602                     
603                      
604                     </div>                    
605                 </div>
606
607             </td>
608             <td class="msource">
609                 
610                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
611                 &nbsp;
612             </td>
613         </tr>
614         
615           
616           <tr class="method-row config-row-alt0 expandable">
617             <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
618            
619            
620             <td class="sig">
621                 <a id="Roo.Toolbar.Item-method-show"   name=".show"></a>
622                 <div class="fixedFont">
623                         <span class="attributes"></span><b class="itemname">show</b>
624                                 
625                                  () 
626                         
627                                 
628                         
629                 </div>
630                 <div class="mdesc">
631                 
632                    <div class="short">Shows this item.</div> 
633                  
634                  
635                  
636                     <div class="long">
637                         
638                                 Shows this item.
639                     
640                                 
641                         
642                         
643                         
644                         
645                         
646                         
647                         
648                         
649                         
650                         
651
652                     
653                     
654                      
655                     </div>                    
656                 </div>
657
658             </td>
659             <td class="msource">
660                 
661                         <a href="./Roo.Toolbar.Item.html#constructor" roo:cls="Roo.Toolbar.Item.html#constructor">Roo.Toolbar.Item</a>
662                 &nbsp;
663             </td>
664         </tr>
665         
666                                                        
667     </table>
668
669   
670   <!-- ============================== events summary / details ======================== -->
671   
672   
673   <a id="Roo.Toolbar.TextItem-events"></a>
674     
675   
676         
677    
678     
679      <table cellspacing="0" class="member-table">
680       <caption class="Empty">Events - Has None</caption>
681      </table>
682     
683     
684   
685     
686     
687   
688   
689   
690  
691 <!-- ============================== footer ================================= -->
692                 <div class="fineprint" style="clear:both">
693                         
694                         Documentation generated by <a href="http://www.akbkhome.com" target="_blankt">Introspection Doc Generator</a>  on Tue Jul 27 2010 11:05:07 GMT+0800 (HKT)
695                         Based on 
696                         <a href="http://www.jsdoctoolkit.org/" target="_blank">JsDoc Toolkit</a>  
697                 </div>
698         </body>
699 </html>