768924b15b81f8b7d711904c280c8934d779e873.svn-base 10.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.Toolbar.TextItem-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.Toolbar.TextItem-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.Toolbar.TextItem-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="bookmark" href="../docs/?class=Ext.Toolbar.TextItem"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
  7. </div>
  8. <div class="inheritance res-block">
  9. <pre class="res-block-inner"><a ext:cls="Ext.Toolbar.Item" ext:member="" href="output/Ext.Toolbar.Item.html">Toolbar.Item</a>
  10. <img src="resources/elbow-end.gif"/>Toolbar.TextItem</pre></div>
  11. <h1>Class Ext.Toolbar.TextItem</h1>
  12. <table cellspacing="0">
  13. <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
  14. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/Toolbar.js" target="_blank">Toolbar.js</a></td></tr>
  15. <tr><td class="label">Class:</td><td class="hd-info">Toolbar.TextItem</td></tr>
  16. <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.Toolbar.Item" ext:member="" href="output/Ext.Toolbar.Item.html">Toolbar.Item</a></td></tr>
  17. </table>
  18. <div class="description">
  19. A simple class that renders text directly into a toolbar. </div>
  20. <div class="hr"></div>
  21. <a id="Ext.Toolbar.TextItem-props"></a>
  22. <h2>Public Properties</h2>
  23. <div class="no-members">This class has no public properties.</div> <a id="Ext.Toolbar.TextItem-methods"></a>
  24. <h2>Public Methods</h2>
  25. <table cellspacing="0" class="member-table">
  26. <tr>
  27. <th class="sig-header" colspan="2">Method</th>
  28. <th class="msource-header">Defined By</th>
  29. </tr>
  30. <tr class="method-row expandable">
  31. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  32. <td class="sig">
  33. <a id="Ext.Toolbar.TextItem-Toolbar.TextItem"></a>
  34. <b>Toolbar.TextItem</b>(&nbsp;<code>String text</code>&nbsp;) <div class="mdesc">
  35. <div class="short">Creates a new TextItem</div>
  36. <div class="long">
  37. Creates a new TextItem <div class="mdetail-params">
  38. <strong>Parameters:</strong>
  39. <ul><li><code>text</code> : String<div class="sub-desc"></div></li> </ul>
  40. <strong>Returns:</strong>
  41. <ul>
  42. <li><code></code></li>
  43. </ul>
  44. </div>
  45. </div>
  46. </div>
  47. </td>
  48. <td class="msource">Toolbar.TextItem</td>
  49. </tr>
  50. <tr class="method-row inherited alt expandable">
  51. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  52. <td class="sig">
  53. <a id="Ext.Toolbar.TextItem-destroy"></a>
  54. <b>destroy</b>() : void <div class="mdesc">
  55. <div class="short">Removes and destroys this item.</div>
  56. <div class="long">
  57. Removes and destroys this item. <div class="mdetail-params">
  58. <strong>Parameters:</strong>
  59. <ul><li>None.</li> </ul>
  60. <strong>Returns:</strong>
  61. <ul>
  62. <li><code>void</code></li>
  63. </ul>
  64. </div>
  65. </div>
  66. </div>
  67. </td>
  68. <td class="msource"><a ext:cls="Ext.Toolbar.Item" ext:member="#destroy" href="output/Ext.Toolbar.Item.html#destroy">Toolbar.Item</a></td>
  69. </tr>
  70. <tr class="method-row inherited expandable">
  71. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  72. <td class="sig">
  73. <a id="Ext.Toolbar.TextItem-disable"></a>
  74. <b>disable</b>() : void <div class="mdesc">
  75. <div class="short">Disables this item.</div>
  76. <div class="long">
  77. Disables this item. <div class="mdetail-params">
  78. <strong>Parameters:</strong>
  79. <ul><li>None.</li> </ul>
  80. <strong>Returns:</strong>
  81. <ul>
  82. <li><code>void</code></li>
  83. </ul>
  84. </div>
  85. </div>
  86. </div>
  87. </td>
  88. <td class="msource"><a ext:cls="Ext.Toolbar.Item" ext:member="#disable" href="output/Ext.Toolbar.Item.html#disable">Toolbar.Item</a></td>
  89. </tr>
  90. <tr class="method-row inherited alt expandable">
  91. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  92. <td class="sig">
  93. <a id="Ext.Toolbar.TextItem-enable"></a>
  94. <b>enable</b>() : void <div class="mdesc">
  95. <div class="short">Enables this item.</div>
  96. <div class="long">
  97. Enables this item. <div class="mdetail-params">
  98. <strong>Parameters:</strong>
  99. <ul><li>None.</li> </ul>
  100. <strong>Returns:</strong>
  101. <ul>
  102. <li><code>void</code></li>
  103. </ul>
  104. </div>
  105. </div>
  106. </div>
  107. </td>
  108. <td class="msource"><a ext:cls="Ext.Toolbar.Item" ext:member="#enable" href="output/Ext.Toolbar.Item.html#enable">Toolbar.Item</a></td>
  109. </tr>
  110. <tr class="method-row inherited expandable">
  111. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  112. <td class="sig">
  113. <a id="Ext.Toolbar.TextItem-focus"></a>
  114. <b>focus</b>() : void <div class="mdesc">
  115. <div class="short">Try to focus this item</div>
  116. <div class="long">
  117. Try to focus this item <div class="mdetail-params">
  118. <strong>Parameters:</strong>
  119. <ul><li>None.</li> </ul>
  120. <strong>Returns:</strong>
  121. <ul>
  122. <li><code>void</code></li>
  123. </ul>
  124. </div>
  125. </div>
  126. </div>
  127. </td>
  128. <td class="msource"><a ext:cls="Ext.Toolbar.Item" ext:member="#focus" href="output/Ext.Toolbar.Item.html#focus">Toolbar.Item</a></td>
  129. </tr>
  130. <tr class="method-row inherited alt expandable">
  131. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  132. <td class="sig">
  133. <a id="Ext.Toolbar.TextItem-getEl"></a>
  134. <b>getEl</b>() : HTMLElement <div class="mdesc">
  135. <div class="short">Get this item's HTML Element</div>
  136. <div class="long">
  137. Get this item's HTML Element <div class="mdetail-params">
  138. <strong>Parameters:</strong>
  139. <ul><li>None.</li> </ul>
  140. <strong>Returns:</strong>
  141. <ul>
  142. <li><code>HTMLElement</code></li>
  143. </ul>
  144. </div>
  145. </div>
  146. </div>
  147. </td>
  148. <td class="msource"><a ext:cls="Ext.Toolbar.Item" ext:member="#getEl" href="output/Ext.Toolbar.Item.html#getEl">Toolbar.Item</a></td>
  149. </tr>
  150. <tr class="method-row inherited expandable">
  151. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  152. <td class="sig">
  153. <a id="Ext.Toolbar.TextItem-hide"></a>
  154. <b>hide</b>() : void <div class="mdesc">
  155. <div class="short">Hides this item.</div>
  156. <div class="long">
  157. Hides this item. <div class="mdetail-params">
  158. <strong>Parameters:</strong>
  159. <ul><li>None.</li> </ul>
  160. <strong>Returns:</strong>
  161. <ul>
  162. <li><code>void</code></li>
  163. </ul>
  164. </div>
  165. </div>
  166. </div>
  167. </td>
  168. <td class="msource"><a ext:cls="Ext.Toolbar.Item" ext:member="#hide" href="output/Ext.Toolbar.Item.html#hide">Toolbar.Item</a></td>
  169. </tr>
  170. <tr class="method-row inherited alt expandable">
  171. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  172. <td class="sig">
  173. <a id="Ext.Toolbar.TextItem-setVisible"></a>
  174. <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : void <div class="mdesc">
  175. <div class="short">Convenience function for boolean show/hide.</div>
  176. <div class="long">
  177. Convenience function for boolean show/hide. <div class="mdetail-params">
  178. <strong>Parameters:</strong>
  179. <ul><li><code>visible</code> : Boolean<div class="sub-desc">true to show/false to hide</div></li> </ul>
  180. <strong>Returns:</strong>
  181. <ul>
  182. <li><code>void</code></li>
  183. </ul>
  184. </div>
  185. </div>
  186. </div>
  187. </td>
  188. <td class="msource"><a ext:cls="Ext.Toolbar.Item" ext:member="#setVisible" href="output/Ext.Toolbar.Item.html#setVisible">Toolbar.Item</a></td>
  189. </tr>
  190. <tr class="method-row inherited expandable">
  191. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  192. <td class="sig">
  193. <a id="Ext.Toolbar.TextItem-show"></a>
  194. <b>show</b>() : void <div class="mdesc">
  195. <div class="short">Shows this item.</div>
  196. <div class="long">
  197. Shows this item. <div class="mdetail-params">
  198. <strong>Parameters:</strong>
  199. <ul><li>None.</li> </ul>
  200. <strong>Returns:</strong>
  201. <ul>
  202. <li><code>void</code></li>
  203. </ul>
  204. </div>
  205. </div>
  206. </div>
  207. </td>
  208. <td class="msource"><a ext:cls="Ext.Toolbar.Item" ext:member="#show" href="output/Ext.Toolbar.Item.html#show">Toolbar.Item</a></td>
  209. </tr>
  210. </table>
  211. <a id="Ext.Toolbar.TextItem-events"></a>
  212. <h2>Public Events</h2>
  213. <div class="no-members">This class has no public events.</div>
  214. </div>