39f0ba50938a967264c8b3bc59f4d013994c8d1e.svn-base 101 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.ProgressBar-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.ProgressBar-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.ProgressBar-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="inner-link" href="#Ext.ProgressBar-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
  7. <a class="bookmark" href="../docs/?class=Ext.ProgressBar"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
  8. </div>
  9. <div class="inheritance res-block">
  10. <pre class="res-block-inner"><a ext:cls="Ext.util.Observable" ext:member="" href="output/Ext.util.Observable.html">Observable</a>
  11. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.Component" ext:member="" href="output/Ext.Component.html">Component</a>
  12. <img src="resources/elbow-end.gif"/><a ext:cls="Ext.BoxComponent" ext:member="" href="output/Ext.BoxComponent.html">BoxComponent</a>
  13. <img src="resources/elbow-end.gif"/>ProgressBar</pre></div>
  14. <h1>Class Ext.ProgressBar</h1>
  15. <table cellspacing="0">
  16. <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
  17. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/ProgressBar.js" target="_blank">ProgressBar.js</a></td></tr>
  18. <tr><td class="label">Class:</td><td class="hd-info">ProgressBar</td></tr>
  19. <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.BoxComponent" ext:member="" href="output/Ext.BoxComponent.html">BoxComponent</a></td></tr>
  20. </table>
  21. <div class="description">
  22. <p>An updateable progress bar component. The progress bar supports two different modes: manual and automatic.</p>
  23. <p>In manual mode, you are responsible for showing, updating (via <a ext:cls="Ext.ProgressBar" ext:member="updateProgress" href="output/Ext.ProgressBar.html#updateProgress">updateProgress</a>) and clearing the
  24. progress bar as needed from your own code. This method is most appropriate when you want to show progress
  25. throughout an operation that has predictable points of interest at which you can update the control.</p>
  26. <p>In automatic mode, you simply call <a ext:cls="Ext.ProgressBar" ext:member="wait" href="output/Ext.ProgressBar.html#wait">wait</a> and let the progress bar run indefinitely, only clearing it
  27. once the operation is complete. You can optionally have the progress bar wait for a specific amount of time
  28. and then clear itself. Automatic mode is most appropriate for timed operations or asymchronous operations in
  29. which you have no need for indicating intermediate progress.</p> </div>
  30. <div class="hr"></div>
  31. <a id="Ext.ProgressBar-configs"></a>
  32. <h2>Config Options</h2>
  33. <table cellspacing="0" class="member-table">
  34. <tr>
  35. <th class="sig-header" colspan="2">Config Options</th>
  36. <th class="msource-header">Defined By</th>
  37. </tr>
  38. <tr class="config-row inherited">
  39. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  40. <td class="sig">
  41. <a id="Ext.ProgressBar-allowDomMove"></a>
  42. <b>allowDomMove</b> : Boolean <div class="mdesc">
  43. Whether the component can move the Dom node when rendering (defaults to true). </div>
  44. </td>
  45. <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
  46. </tr>
  47. <tr class="config-row inherited alt expandable">
  48. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  49. <td class="sig">
  50. <a id="Ext.ProgressBar-applyTo"></a>
  51. <b>applyTo</b> : Mixed <div class="mdesc">
  52. <div class="short">The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document ...</div>
  53. <div class="long">
  54. The id of the node, a DOM node or an existing Element corresponding to a DIV that is already present in the document that specifies some structural markup for this component. When applyTo is used, constituent parts of the component can also be specified by id or CSS class name within the main element, and the component being created may attempt to create its subcomponents from that markup if applicable. Using this config, a call to render() is not required. If applyTo is specified, any value passed for <a ext:cls="Ext.Component" ext:member="renderTo" href="output/Ext.Component.html#renderTo">renderTo</a> will be ignored and the target element's parent node will automatically be used as the component's container. </div>
  55. </div>
  56. </td>
  57. <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyTo" href="output/Ext.Component.html#applyTo">Component</a></td>
  58. </tr>
  59. <tr class="config-row inherited">
  60. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  61. <td class="sig">
  62. <a id="Ext.ProgressBar-autoHeight"></a>
  63. <b>autoHeight</b> : Boolean <div class="mdesc">
  64. True to use height:'auto', false to use fixed height (defaults to false). </div>
  65. </td>
  66. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoHeight" href="output/Ext.BoxComponent.html#autoHeight">BoxComponent</a></td>
  67. </tr>
  68. <tr class="config-row inherited alt expandable">
  69. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  70. <td class="sig">
  71. <a id="Ext.ProgressBar-autoShow"></a>
  72. <b>autoShow</b> : Boolean <div class="mdesc">
  73. <div class="short">True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render...</div>
  74. <div class="long">
  75. True if the component should check for hidden classes (e.g. 'x-hidden' or 'x-hide-display') and remove them on render (defaults to false). </div>
  76. </div>
  77. </td>
  78. <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
  79. </tr>
  80. <tr class="config-row inherited">
  81. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  82. <td class="sig">
  83. <a id="Ext.ProgressBar-autoWidth"></a>
  84. <b>autoWidth</b> : Boolean <div class="mdesc">
  85. True to use width:'auto', false to use fixed width (defaults to false). </div>
  86. </td>
  87. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoWidth" href="output/Ext.BoxComponent.html#autoWidth">BoxComponent</a></td>
  88. </tr>
  89. <tr class="config-row alt">
  90. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  91. <td class="sig">
  92. <a id="Ext.ProgressBar-baseCls"></a>
  93. <b>baseCls</b> : String <div class="mdesc">
  94. The base CSS class to apply to the progress bar's wrapper element (defaults to 'x-progress') </div>
  95. </td>
  96. <td class="msource">ProgressBar</td>
  97. </tr>
  98. <tr class="config-row inherited expandable">
  99. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  100. <td class="sig">
  101. <a id="Ext.ProgressBar-cls"></a>
  102. <b>cls</b> : String <div class="mdesc">
  103. <div class="short">An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for a...</div>
  104. <div class="long">
  105. An optional extra CSS class that will be added to this component's Element (defaults to ''). This can be useful for adding customized styles to the component or any of its children using standard CSS rules. </div>
  106. </div>
  107. </td>
  108. <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
  109. </tr>
  110. <tr class="config-row inherited alt expandable">
  111. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  112. <td class="sig">
  113. <a id="Ext.ProgressBar-ctCls"></a>
  114. <b>ctCls</b> : String <div class="mdesc">
  115. <div class="short">An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for...</div>
  116. <div class="long">
  117. An optional extra CSS class that will be added to this component's container (defaults to ''). This can be useful for adding customized styles to the container or any of its children using standard CSS rules. </div>
  118. </div>
  119. </td>
  120. <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
  121. </tr>
  122. <tr class="config-row inherited">
  123. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  124. <td class="sig">
  125. <a id="Ext.ProgressBar-disabledClass"></a>
  126. <b>disabledClass</b> : String <div class="mdesc">
  127. CSS class added to the component when it is disabled (defaults to "x-item-disabled"). </div>
  128. </td>
  129. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
  130. </tr>
  131. <tr class="config-row inherited alt">
  132. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  133. <td class="sig">
  134. <a id="Ext.ProgressBar-height"></a>
  135. <b>height</b> : Number <div class="mdesc">
  136. The height of this component in pixels (defaults to auto). </div>
  137. </td>
  138. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td>
  139. </tr>
  140. <tr class="config-row inherited expandable">
  141. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  142. <td class="sig">
  143. <a id="Ext.ProgressBar-hideMode"></a>
  144. <b>hideMode</b> : String <div class="mdesc">
  145. <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
  146. <div class="long">
  147. How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display". </div>
  148. </div>
  149. </td>
  150. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
  151. </tr>
  152. <tr class="config-row inherited alt expandable">
  153. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  154. <td class="sig">
  155. <a id="Ext.ProgressBar-hideParent"></a>
  156. <b>hideParent</b> : Boolean <div class="mdesc">
  157. <div class="short">True to hide and show the component's container when hide/show is called on the component, false to hide and show the...</div>
  158. <div class="long">
  159. True to hide and show the component's container when hide/show is called on the component, false to hide and show the component itself (defaults to false). For example, this can be used as a shortcut for a hide button on a window by setting hide:true on the button when adding it to its parent container. </div>
  160. </div>
  161. </td>
  162. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
  163. </tr>
  164. <tr class="config-row">
  165. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  166. <td class="sig">
  167. <a id="Ext.ProgressBar-id"></a>
  168. <b>id</b> : String <div class="mdesc">
  169. The progress bar element's id (defaults to an auto-generated id) </div>
  170. </td>
  171. <td class="msource">ProgressBar</td>
  172. </tr>
  173. <tr class="config-row inherited alt expandable">
  174. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  175. <td class="sig">
  176. <a id="Ext.ProgressBar-listeners"></a>
  177. <b>listeners</b> : Object <div class="mdesc">
  178. <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
  179. <div class="long">
  180. A config object containing one or more event handlers to be added to this object during initialization. This should be a valid listeners config object as specified in the <a ext:cls="Ext.util.Observable" ext:member="addListener" href="output/Ext.util.Observable.html#addListener">addListener</a> example for attaching multiple handlers at once. </div>
  181. </div>
  182. </td>
  183. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
  184. </tr>
  185. <tr class="config-row inherited expandable">
  186. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  187. <td class="sig">
  188. <a id="Ext.ProgressBar-plugins"></a>
  189. <b>plugins</b> : Object/Array <div class="mdesc">
  190. <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
  191. <div class="long">
  192. An object or array of objects that will provide custom functionality for this component. The only requirement for a valid plugin is that it contain an init method that accepts a reference of type Ext.Component. When a component is created, if any plugins are available, the component will call the init method on each plugin, passing a reference to itself. Each plugin can then call methods or respond to events on the component as needed to provide its functionality. </div>
  193. </div>
  194. </td>
  195. <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
  196. </tr>
  197. <tr class="config-row inherited alt expandable">
  198. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  199. <td class="sig">
  200. <a id="Ext.ProgressBar-renderTo"></a>
  201. <b>renderTo</b> : Mixed <div class="mdesc">
  202. <div class="short">The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using...</div>
  203. <div class="long">
  204. The id of the node, a DOM node or an existing Element that will be the container to render this component into. Using this config, a call to render() is not required. </div>
  205. </div>
  206. </td>
  207. <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
  208. </tr>
  209. <tr class="config-row inherited expandable">
  210. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  211. <td class="sig">
  212. <a id="Ext.ProgressBar-stateEvents"></a>
  213. <b>stateEvents</b> : Array <div class="mdesc">
  214. <div class="short">An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be...</div>
  215. <div class="long">
  216. An array of events that, when fired, should trigger this component to save its state (defaults to none). These can be any types of events supported by this component, including browser or custom events (e.g., ['click', 'customerchange']). </div>
  217. </div>
  218. </td>
  219. <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
  220. </tr>
  221. <tr class="config-row inherited alt">
  222. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  223. <td class="sig">
  224. <a id="Ext.ProgressBar-stateId"></a>
  225. <b>stateId</b> : String <div class="mdesc">
  226. The unique id for this component to use for state management purposes (defaults to the component id). </div>
  227. </td>
  228. <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
  229. </tr>
  230. <tr class="config-row inherited expandable">
  231. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  232. <td class="sig">
  233. <a id="Ext.ProgressBar-style"></a>
  234. <b>style</b> : String <div class="mdesc">
  235. <div class="short">A custom style specification to be applied to this component's Element. Should be a valid argument to Ext.Element.app...</div>
  236. <div class="long">
  237. A custom style specification to be applied to this component's Element. Should be a valid argument to <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a>. </div>
  238. </div>
  239. </td>
  240. <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
  241. </tr>
  242. <tr class="config-row alt">
  243. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  244. <td class="sig">
  245. <a id="Ext.ProgressBar-text"></a>
  246. <b>text</b> : String <div class="mdesc">
  247. The progress bar text (defaults to '') </div>
  248. </td>
  249. <td class="msource">ProgressBar</td>
  250. </tr>
  251. <tr class="config-row">
  252. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  253. <td class="sig">
  254. <a id="Ext.ProgressBar-textEl"></a>
  255. <b>textEl</b> : Mixed <div class="mdesc">
  256. The element to render the progress text to (defaults to the progress bar's internal text element) </div>
  257. </td>
  258. <td class="msource">ProgressBar</td>
  259. </tr>
  260. <tr class="config-row alt">
  261. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  262. <td class="sig">
  263. <a id="Ext.ProgressBar-value"></a>
  264. <b>value</b> : Float <div class="mdesc">
  265. A floating point value between 0 and 1 (e.g., .5, defaults to 0) </div>
  266. </td>
  267. <td class="msource">ProgressBar</td>
  268. </tr>
  269. <tr class="config-row inherited">
  270. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  271. <td class="sig">
  272. <a id="Ext.ProgressBar-width"></a>
  273. <b>width</b> : Number <div class="mdesc">
  274. The width of this component in pixels (defaults to auto). </div>
  275. </td>
  276. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#width" href="output/Ext.BoxComponent.html#width">BoxComponent</a></td>
  277. </tr>
  278. <tr class="config-row inherited alt expandable">
  279. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  280. <td class="sig">
  281. <a id="Ext.ProgressBar-xtype"></a>
  282. <b>xtype</b> : String <div class="mdesc">
  283. <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
  284. <div class="long">
  285. The registered xtype to create. This config option is not used when passing a config object into a constructor. This config option is used only when lazy instantiation is being used, and a child item of a Container is being specified not as a fully instantiated Component, but as a <i>Component config object</i>. The xtype will be looked up at render time up to determine what type of child Component to create.<br><br> The predefined xtypes are listed <a ext:cls="Ext.Component" href="output/Ext.Component.html">here</a>. <br><br> If you subclass Components to create your own Components, you may register them using <a ext:cls="Ext.ComponentMgr" ext:member="registerType" href="output/Ext.ComponentMgr.html#registerType">Ext.ComponentMgr.registerType</a> in order to be able to take advantage of lazy instantiation and rendering. </div>
  286. </div>
  287. </td>
  288. <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
  289. </tr>
  290. </table>
  291. <a id="Ext.ProgressBar-props"></a>
  292. <h2>Public Properties</h2>
  293. <table cellspacing="0" class="member-table">
  294. <tr>
  295. <th class="sig-header" colspan="2">Property</th>
  296. <th class="msource-header">Defined By</th>
  297. </tr>
  298. <tr class="property-row inherited">
  299. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  300. <td class="sig">
  301. <a id="Ext.ProgressBar-disabled"></a>
  302. <b>disabled</b> : Boolean <div class="mdesc">
  303. True if this component is disabled. Read-only. </div>
  304. </td>
  305. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
  306. </tr>
  307. <tr class="property-row inherited alt">
  308. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  309. <td class="sig">
  310. <a id="Ext.ProgressBar-hidden"></a>
  311. <b>hidden</b> : Boolean <div class="mdesc">
  312. True if this component is hidden. Read-only. </div>
  313. </td>
  314. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
  315. </tr>
  316. <tr class="property-row inherited">
  317. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  318. <td class="sig">
  319. <a id="Ext.ProgressBar-initialConfig"></a>
  320. <b>initialConfig</b> : Object <div class="mdesc">
  321. This Component's initial configuration specification. Read-only. </div>
  322. </td>
  323. <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
  324. </tr>
  325. <tr class="property-row inherited alt expandable">
  326. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  327. <td class="sig">
  328. <a id="Ext.ProgressBar-ownerCt"></a>
  329. <b>ownerCt</b> : Ext.Container <div class="mdesc">
  330. <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
  331. the component is added to a...</div>
  332. <div class="long">
  333. The component's owner <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (defaults to undefined, and is set automatically when
  334. the component is added to a container). Read-only. </div>
  335. </div>
  336. </td>
  337. <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
  338. </tr>
  339. <tr class="property-row inherited">
  340. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  341. <td class="sig">
  342. <a id="Ext.ProgressBar-rendered"></a>
  343. <b>rendered</b> : Boolean <div class="mdesc">
  344. True if this component has been rendered. Read-only. </div>
  345. </td>
  346. <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
  347. </tr>
  348. </table>
  349. <a id="Ext.ProgressBar-methods"></a>
  350. <h2>Public Methods</h2>
  351. <table cellspacing="0" class="member-table">
  352. <tr>
  353. <th class="sig-header" colspan="2">Method</th>
  354. <th class="msource-header">Defined By</th>
  355. </tr>
  356. <tr class="method-row inherited expandable">
  357. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  358. <td class="sig">
  359. <a id="Ext.ProgressBar-addClass"></a>
  360. <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void <div class="mdesc">
  361. <div class="short">Adds a CSS class to the component's underlying element.</div>
  362. <div class="long">
  363. Adds a CSS class to the component's underlying element. <div class="mdetail-params">
  364. <strong>Parameters:</strong>
  365. <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li> </ul>
  366. <strong>Returns:</strong>
  367. <ul>
  368. <li><code>void</code></li>
  369. </ul>
  370. </div>
  371. </div>
  372. </div>
  373. </td>
  374. <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
  375. </tr>
  376. <tr class="method-row inherited alt expandable">
  377. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  378. <td class="sig">
  379. <a id="Ext.ProgressBar-addEvents"></a>
  380. <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void <div class="mdesc">
  381. <div class="short">Used to define events on this Observable</div>
  382. <div class="long">
  383. Used to define events on this Observable <div class="mdetail-params">
  384. <strong>Parameters:</strong>
  385. <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
  386. <strong>Returns:</strong>
  387. <ul>
  388. <li><code>void</code></li>
  389. </ul>
  390. </div>
  391. </div>
  392. </div>
  393. </td>
  394. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
  395. </tr>
  396. <tr class="method-row inherited expandable">
  397. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  398. <td class="sig">
  399. <a id="Ext.ProgressBar-addListener"></a>
  400. <b>addListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void <div class="mdesc">
  401. <div class="short">Appends an event handler to this component</div>
  402. <div class="long">
  403. Appends an event handler to this component <div class="mdetail-params">
  404. <strong>Parameters:</strong>
  405. <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
  406. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
  407. properties. This may contain any of the following properties:<ul>
  408. <li><b>scope</b> : Object<p class="sub-desc">The scope in which to execute the handler function. The handler function's "this" context.</p></li>
  409. <li><b>delay</b> : Number<p class="sub-desc">The number of milliseconds to delay the invocation of the handler after the event fires.</p></li>
  410. <li><b>single</b> : Boolean<p class="sub-desc">True to add a handler to handle just the next firing of the event, and then remove itself.</p></li>
  411. <li>buffer {Number} Causes the handler to be scheduled to run in an <a ext:cls="Ext.util.DelayedTask" href="output/Ext.util.DelayedTask.html">Ext.util.DelayedTask</a> delayed
  412. by the specified number of milliseconds. If the event fires again within that time, the original
  413. handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>
  414. </ul><br>
  415. <p>
  416. <b>Combining Options</b><br>
  417. Using the options argument, it is possible to combine different types of listeners:<br>
  418. <br>
  419. A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
  420. <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
  421. single: true,
  422. delay: 100,
  423. forumId: 4
  424. });</code></pre>
  425. <p>
  426. <b>Attaching multiple handlers in 1 call</b><br>
  427. The method also allows for a single argument to be passed which is a config object containing properties
  428. which specify multiple handlers.
  429. <p>
  430. <pre><code>foo.on({
  431. <em>'click'</em> : {
  432. fn: <b>this</b>.onClick,
  433. scope: <b>this</b>,
  434. delay: 100
  435. },
  436. <em>'mouseover'</em> : {
  437. fn: <b>this</b>.onMouseOver,
  438. scope: <b>this</b>
  439. },
  440. <em>'mouseout'</em> : {
  441. fn: <b>this</b>.onMouseOut,
  442. scope: <b>this</b>
  443. }
  444. });</code></pre>
  445. <p>
  446. Or a shorthand syntax:<br>
  447. <pre><code>foo.on({
  448. <em>'click'</em> : <b>this</b>.onClick,
  449. <em>'mouseover'</em> : <b>this</b>.onMouseOver,
  450. <em>'mouseout'</em> : <b>this</b>.onMouseOut,
  451. scope: <b>this</b>
  452. });</code></pre></div></li> </ul>
  453. <strong>Returns:</strong>
  454. <ul>
  455. <li><code>void</code></li>
  456. </ul>
  457. </div>
  458. </div>
  459. </div>
  460. </td>
  461. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
  462. </tr>
  463. <tr class="method-row inherited alt expandable">
  464. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  465. <td class="sig">
  466. <a id="Ext.ProgressBar-applyToMarkup"></a>
  467. <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void <div class="mdesc">
  468. <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
  469. <div class="long">
  470. Apply this component to existing markup that is valid. With this function, no call to render() is required. <div class="mdetail-params">
  471. <strong>Parameters:</strong>
  472. <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li> </ul>
  473. <strong>Returns:</strong>
  474. <ul>
  475. <li><code>void</code></li>
  476. </ul>
  477. </div>
  478. </div>
  479. </div>
  480. </td>
  481. <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
  482. </tr>
  483. <tr class="method-row inherited expandable">
  484. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  485. <td class="sig">
  486. <a id="Ext.ProgressBar-cloneConfig"></a>
  487. <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component <div class="mdesc">
  488. <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
  489. <div class="long">
  490. Clone the current component using the original config values passed into this instance by default. <div class="mdetail-params">
  491. <strong>Parameters:</strong>
  492. <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
  493. An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li> </ul>
  494. <strong>Returns:</strong>
  495. <ul>
  496. <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
  497. </ul>
  498. </div>
  499. </div>
  500. </div>
  501. </td>
  502. <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
  503. </tr>
  504. <tr class="method-row inherited alt expandable">
  505. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  506. <td class="sig">
  507. <a id="Ext.ProgressBar-destroy"></a>
  508. <b>destroy</b>() : void <div class="mdesc">
  509. <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
  510. removing the c...</div>
  511. <div class="long">
  512. Destroys this component by purging any event listeners, removing the component's element from the DOM,
  513. removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
  514. <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. Destruction is generally handled automatically by the framework and this method
  515. should usually not need to be called directly. <div class="mdetail-params">
  516. <strong>Parameters:</strong>
  517. <ul><li>None.</li> </ul>
  518. <strong>Returns:</strong>
  519. <ul>
  520. <li><code>void</code></li>
  521. </ul>
  522. </div>
  523. </div>
  524. </div>
  525. </td>
  526. <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
  527. </tr>
  528. <tr class="method-row inherited expandable">
  529. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  530. <td class="sig">
  531. <a id="Ext.ProgressBar-disable"></a>
  532. <b>disable</b>() : Ext.Component <div class="mdesc">
  533. <div class="short">Disable this component.</div>
  534. <div class="long">
  535. Disable this component. <div class="mdetail-params">
  536. <strong>Parameters:</strong>
  537. <ul><li>None.</li> </ul>
  538. <strong>Returns:</strong>
  539. <ul>
  540. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  541. </ul>
  542. </div>
  543. </div>
  544. </div>
  545. </td>
  546. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
  547. </tr>
  548. <tr class="method-row inherited alt expandable">
  549. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  550. <td class="sig">
  551. <a id="Ext.ProgressBar-enable"></a>
  552. <b>enable</b>() : Ext.Component <div class="mdesc">
  553. <div class="short">Enable this component.</div>
  554. <div class="long">
  555. Enable this component. <div class="mdetail-params">
  556. <strong>Parameters:</strong>
  557. <ul><li>None.</li> </ul>
  558. <strong>Returns:</strong>
  559. <ul>
  560. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  561. </ul>
  562. </div>
  563. </div>
  564. </div>
  565. </td>
  566. <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
  567. </tr>
  568. <tr class="method-row inherited expandable">
  569. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  570. <td class="sig">
  571. <a id="Ext.ProgressBar-fireEvent"></a>
  572. <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean <div class="mdesc">
  573. <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
  574. <div class="long">
  575. Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
  576. <strong>Parameters:</strong>
  577. <ul><li><code>eventName</code> : String<div class="sub-desc"></div></li><li><code>args</code> : Object...<div class="sub-desc">Variable number of parameters are passed to handlers</div></li> </ul>
  578. <strong>Returns:</strong>
  579. <ul>
  580. <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
  581. </ul>
  582. </div>
  583. </div>
  584. </div>
  585. </td>
  586. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
  587. </tr>
  588. <tr class="method-row inherited alt expandable">
  589. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  590. <td class="sig">
  591. <a id="Ext.ProgressBar-focus"></a>
  592. <b>focus</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean selectText</code>]</span>, <span class="optional" title="Optional">[<code>Boolean/Number delay</code>]</span>&nbsp;) : Ext.Component <div class="mdesc">
  593. <div class="short">Try to focus this component.</div>
  594. <div class="long">
  595. Try to focus this component. <div class="mdetail-params">
  596. <strong>Parameters:</strong>
  597. <ul><li><code>selectText</code> : Boolean<div class="sub-desc">(optional) If applicable, true to also select the text in this component</div></li><li><code>delay</code> : Boolean/Number<div class="sub-desc">(optional) Delay the focus this number of milliseconds (true for 10 milliseconds)</div></li> </ul>
  598. <strong>Returns:</strong>
  599. <ul>
  600. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  601. </ul>
  602. </div>
  603. </div>
  604. </div>
  605. </td>
  606. <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
  607. </tr>
  608. <tr class="method-row inherited expandable">
  609. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  610. <td class="sig">
  611. <a id="Ext.ProgressBar-getBox"></a>
  612. <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object <div class="mdesc">
  613. <div class="short">Gets the current box measurements of the component's underlying element.</div>
  614. <div class="long">
  615. Gets the current box measurements of the component's underlying element. <div class="mdetail-params">
  616. <strong>Parameters:</strong>
  617. <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li> </ul>
  618. <strong>Returns:</strong>
  619. <ul>
  620. <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
  621. </ul>
  622. </div>
  623. </div>
  624. </div>
  625. </td>
  626. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>
  627. </tr>
  628. <tr class="method-row inherited alt expandable">
  629. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  630. <td class="sig">
  631. <a id="Ext.ProgressBar-getEl"></a>
  632. <b>getEl</b>() : Ext.Element <div class="mdesc">
  633. <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
  634. <div class="long">
  635. Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>. <div class="mdetail-params">
  636. <strong>Parameters:</strong>
  637. <ul><li>None.</li> </ul>
  638. <strong>Returns:</strong>
  639. <ul>
  640. <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
  641. </ul>
  642. </div>
  643. </div>
  644. </div>
  645. </td>
  646. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
  647. </tr>
  648. <tr class="method-row inherited expandable">
  649. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  650. <td class="sig">
  651. <a id="Ext.ProgressBar-getId"></a>
  652. <b>getId</b>() : String <div class="mdesc">
  653. <div class="short">Returns the id of this component.</div>
  654. <div class="long">
  655. Returns the id of this component. <div class="mdetail-params">
  656. <strong>Parameters:</strong>
  657. <ul><li>None.</li> </ul>
  658. <strong>Returns:</strong>
  659. <ul>
  660. <li><code>String</code></li>
  661. </ul>
  662. </div>
  663. </div>
  664. </div>
  665. </td>
  666. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
  667. </tr>
  668. <tr class="method-row inherited alt expandable">
  669. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  670. <td class="sig">
  671. <a id="Ext.ProgressBar-getItemId"></a>
  672. <b>getItemId</b>() : String <div class="mdesc">
  673. <div class="short">Returns the item id of this component.</div>
  674. <div class="long">
  675. Returns the item id of this component. <div class="mdetail-params">
  676. <strong>Parameters:</strong>
  677. <ul><li>None.</li> </ul>
  678. <strong>Returns:</strong>
  679. <ul>
  680. <li><code>String</code></li>
  681. </ul>
  682. </div>
  683. </div>
  684. </div>
  685. </td>
  686. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
  687. </tr>
  688. <tr class="method-row inherited expandable">
  689. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  690. <td class="sig">
  691. <a id="Ext.ProgressBar-getPosition"></a>
  692. <b>getPosition</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Array <div class="mdesc">
  693. <div class="short">Gets the current XY position of the component's underlying element.</div>
  694. <div class="long">
  695. Gets the current XY position of the component's underlying element. <div class="mdetail-params">
  696. <strong>Parameters:</strong>
  697. <ul><li><code>local</code> : Boolean<div class="sub-desc">(optional) If true the element's left and top are returned instead of page XY (defaults to false)</div></li> </ul>
  698. <strong>Returns:</strong>
  699. <ul>
  700. <li><code>Array</code><div class="sub-desc">The XY position of the element (e.g., [100, 200])</div></li>
  701. </ul>
  702. </div>
  703. </div>
  704. </div>
  705. </td>
  706. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getPosition" href="output/Ext.BoxComponent.html#getPosition">BoxComponent</a></td>
  707. </tr>
  708. <tr class="method-row inherited alt expandable">
  709. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  710. <td class="sig">
  711. <a id="Ext.ProgressBar-getSize"></a>
  712. <b>getSize</b>() : Object <div class="mdesc">
  713. <div class="short">Gets the current size of the component's underlying element.</div>
  714. <div class="long">
  715. Gets the current size of the component's underlying element. <div class="mdetail-params">
  716. <strong>Parameters:</strong>
  717. <ul><li>None.</li> </ul>
  718. <strong>Returns:</strong>
  719. <ul>
  720. <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>
  721. </ul>
  722. </div>
  723. </div>
  724. </div>
  725. </td>
  726. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getSize" href="output/Ext.BoxComponent.html#getSize">BoxComponent</a></td>
  727. </tr>
  728. <tr class="method-row inherited expandable">
  729. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  730. <td class="sig">
  731. <a id="Ext.ProgressBar-getXType"></a>
  732. <b>getXType</b>() : String <div class="mdesc">
  733. <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
  734. available xtypes, see the Ex...</div>
  735. <div class="long">
  736. Gets the xtype for this component as registered with <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. For a list of all
  737. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  738. <pre><code>var t = <b>new</b> Ext.form.TextField();
  739. alert(t.getXType()); // alerts <em>'textfield'</em></code></pre> <div class="mdetail-params">
  740. <strong>Parameters:</strong>
  741. <ul><li>None.</li> </ul>
  742. <strong>Returns:</strong>
  743. <ul>
  744. <li><code>String</code><div class="sub-desc">The xtype</div></li>
  745. </ul>
  746. </div>
  747. </div>
  748. </div>
  749. </td>
  750. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
  751. </tr>
  752. <tr class="method-row inherited alt expandable">
  753. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  754. <td class="sig">
  755. <a id="Ext.ProgressBar-getXTypes"></a>
  756. <b>getXTypes</b>() : String <div class="mdesc">
  757. <div class="short">Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
  758. available xtypes, see the Ext...</div>
  759. <div class="long">
  760. Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
  761. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  762. <pre><code>
  763. var t = new Ext.form.TextField();
  764. alert(t.getXTypes()); // alerts 'component/box/field/textfield'</pre></code> <div class="mdetail-params">
  765. <strong>Parameters:</strong>
  766. <ul><li>None.</li> </ul>
  767. <strong>Returns:</strong>
  768. <ul>
  769. <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
  770. </ul>
  771. </div>
  772. </div>
  773. </div>
  774. </td>
  775. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
  776. </tr>
  777. <tr class="method-row inherited expandable">
  778. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  779. <td class="sig">
  780. <a id="Ext.ProgressBar-hasListener"></a>
  781. <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean <div class="mdesc">
  782. <div class="short">Checks to see if this object has any listeners for a specified event</div>
  783. <div class="long">
  784. Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
  785. <strong>Parameters:</strong>
  786. <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
  787. <strong>Returns:</strong>
  788. <ul>
  789. <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
  790. </ul>
  791. </div>
  792. </div>
  793. </div>
  794. </td>
  795. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
  796. </tr>
  797. <tr class="method-row inherited alt expandable">
  798. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  799. <td class="sig">
  800. <a id="Ext.ProgressBar-hide"></a>
  801. <b>hide</b>() : Ext.Component <div class="mdesc">
  802. <div class="short">Hide this component.</div>
  803. <div class="long">
  804. Hide this component. <div class="mdetail-params">
  805. <strong>Parameters:</strong>
  806. <ul><li>None.</li> </ul>
  807. <strong>Returns:</strong>
  808. <ul>
  809. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  810. </ul>
  811. </div>
  812. </div>
  813. </div>
  814. </td>
  815. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
  816. </tr>
  817. <tr class="method-row inherited expandable">
  818. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  819. <td class="sig">
  820. <a id="Ext.ProgressBar-initComponent"></a>
  821. <b>initComponent</b>() : void <div class="mdesc">
  822. <div class="short"></div>
  823. <div class="long">
  824. <div class="mdetail-params">
  825. <strong>Parameters:</strong>
  826. <ul><li>None.</li> </ul>
  827. <strong>Returns:</strong>
  828. <ul>
  829. <li><code>void</code></li>
  830. </ul>
  831. </div>
  832. </div>
  833. </div>
  834. </td>
  835. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#initComponent" href="output/Ext.BoxComponent.html#initComponent">BoxComponent</a></td>
  836. </tr>
  837. <tr class="method-row inherited alt expandable">
  838. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  839. <td class="sig">
  840. <a id="Ext.ProgressBar-isVisible"></a>
  841. <b>isVisible</b>() : void <div class="mdesc">
  842. <div class="short">Returns true if this component is visible.</div>
  843. <div class="long">
  844. Returns true if this component is visible. <div class="mdetail-params">
  845. <strong>Parameters:</strong>
  846. <ul><li>None.</li> </ul>
  847. <strong>Returns:</strong>
  848. <ul>
  849. <li><code>void</code></li>
  850. </ul>
  851. </div>
  852. </div>
  853. </div>
  854. </td>
  855. <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
  856. </tr>
  857. <tr class="method-row expandable">
  858. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  859. <td class="sig">
  860. <a id="Ext.ProgressBar-isWaiting"></a>
  861. <b>isWaiting</b>() : Boolean <div class="mdesc">
  862. <div class="short">Returns true if the progress bar is currently in a <a ext:cls="Ext.ProgressBar" ext:member="wait" href="output/Ext.ProgressBar.html#wait">wait</a> operation</div>
  863. <div class="long">
  864. Returns true if the progress bar is currently in a <a ext:cls="Ext.ProgressBar" ext:member="wait" href="output/Ext.ProgressBar.html#wait">wait</a> operation <div class="mdetail-params">
  865. <strong>Parameters:</strong>
  866. <ul><li>None.</li> </ul>
  867. <strong>Returns:</strong>
  868. <ul>
  869. <li><code>Boolean</code><div class="sub-desc">True if waiting, else false</div></li>
  870. </ul>
  871. </div>
  872. </div>
  873. </div>
  874. </td>
  875. <td class="msource">ProgressBar</td>
  876. </tr>
  877. <tr class="method-row inherited alt expandable">
  878. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  879. <td class="sig">
  880. <a id="Ext.ProgressBar-isXType"></a>
  881. <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void <div class="mdesc">
  882. <div class="short">Tests whether or not this component is of a specific xtype. This can test whether this component is descended
  883. from th...</div>
  884. <div class="long">
  885. Tests whether or not this component is of a specific xtype. This can test whether this component is descended
  886. from the xtype (default) or whether it is directly of the xtype specified (shallow = true). For a list of all
  887. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  888. <pre><code>var t = <b>new</b> Ext.form.TextField();
  889. <b>var</b> isText = t.isXType(<em>'textfield'</em>); <i>// true</i>
  890. <b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>); <i>// true, descended from BoxComponent</i>
  891. <b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre> <div class="mdetail-params">
  892. <strong>Parameters:</strong>
  893. <ul><li><code>xtype</code> : String<div class="sub-desc">The xtype to check for this component</div></li><li><code>shallow</code> : Boolean<div class="sub-desc">(optional) False to check whether this component is descended from the xtype (this is
  894. the default), or true to check whether this component is directly of the specified xtype.</div></li> </ul>
  895. <strong>Returns:</strong>
  896. <ul>
  897. <li><code>void</code></li>
  898. </ul>
  899. </div>
  900. </div>
  901. </div>
  902. </td>
  903. <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
  904. </tr>
  905. <tr class="method-row inherited expandable">
  906. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  907. <td class="sig">
  908. <a id="Ext.ProgressBar-on"></a>
  909. <b>on</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Object options</code>]</span>&nbsp;) : void <div class="mdesc">
  910. <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
  911. <div class="long">
  912. Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
  913. <strong>Parameters:</strong>
  914. <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The method the event invokes</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope in which to execute the handler
  915. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
  916. <strong>Returns:</strong>
  917. <ul>
  918. <li><code>void</code></li>
  919. </ul>
  920. </div>
  921. </div>
  922. </div>
  923. </td>
  924. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
  925. </tr>
  926. <tr class="method-row inherited alt expandable">
  927. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  928. <td class="sig">
  929. <a id="Ext.ProgressBar-purgeListeners"></a>
  930. <b>purgeListeners</b>() : void <div class="mdesc">
  931. <div class="short">Removes all listeners for this object</div>
  932. <div class="long">
  933. Removes all listeners for this object <div class="mdetail-params">
  934. <strong>Parameters:</strong>
  935. <ul><li>None.</li> </ul>
  936. <strong>Returns:</strong>
  937. <ul>
  938. <li><code>void</code></li>
  939. </ul>
  940. </div>
  941. </div>
  942. </div>
  943. </td>
  944. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
  945. </tr>
  946. <tr class="method-row inherited expandable">
  947. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  948. <td class="sig">
  949. <a id="Ext.ProgressBar-removeClass"></a>
  950. <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void <div class="mdesc">
  951. <div class="short">Removes a CSS class from the component's underlying element.</div>
  952. <div class="long">
  953. Removes a CSS class from the component's underlying element. <div class="mdetail-params">
  954. <strong>Parameters:</strong>
  955. <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li> </ul>
  956. <strong>Returns:</strong>
  957. <ul>
  958. <li><code>void</code></li>
  959. </ul>
  960. </div>
  961. </div>
  962. </div>
  963. </td>
  964. <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
  965. </tr>
  966. <tr class="method-row inherited alt expandable">
  967. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  968. <td class="sig">
  969. <a id="Ext.ProgressBar-removeListener"></a>
  970. <b>removeListener</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void <div class="mdesc">
  971. <div class="short">Removes a listener</div>
  972. <div class="long">
  973. Removes a listener <div class="mdetail-params">
  974. <strong>Parameters:</strong>
  975. <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
  976. <strong>Returns:</strong>
  977. <ul>
  978. <li><code>void</code></li>
  979. </ul>
  980. </div>
  981. </div>
  982. </div>
  983. </td>
  984. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
  985. </tr>
  986. <tr class="method-row inherited expandable">
  987. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  988. <td class="sig">
  989. <a id="Ext.ProgressBar-render"></a>
  990. <b>render</b>(&nbsp;<span class="optional" title="Optional">[<code>Mixed container</code>]</span>, <span class="optional" title="Optional">[<code>String/Number position</code>]</span>&nbsp;) : void <div class="mdesc">
  991. <div class="short">If this is a lazy rendering component, render it to its container element.</div>
  992. <div class="long">
  993. If this is a lazy rendering component, render it to its container element. <div class="mdetail-params">
  994. <strong>Parameters:</strong>
  995. <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The element this component should be rendered into. If it is being
  996. applied to existing markup, this should be left off.</div></li><li><code>position</code> : String/Number<div class="sub-desc">(optional) The element ID or DOM node index within the container <b>before</b>
  997. which this component will be inserted (defaults to appending to the end of the container)</div></li> </ul>
  998. <strong>Returns:</strong>
  999. <ul>
  1000. <li><code>void</code></li>
  1001. </ul>
  1002. </div>
  1003. </div>
  1004. </div>
  1005. </td>
  1006. <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
  1007. </tr>
  1008. <tr class="method-row alt expandable">
  1009. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1010. <td class="sig">
  1011. <a id="Ext.ProgressBar-reset"></a>
  1012. <b>reset</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean hide</code>]</span>&nbsp;) : Ext.ProgressBar <div class="mdesc">
  1013. <div class="short">Resets the progress bar value to 0 and text to empty string. If hide = true, the progress
  1014. bar will also be hidden (u...</div>
  1015. <div class="long">
  1016. Resets the progress bar value to 0 and text to empty string. If hide = true, the progress
  1017. bar will also be hidden (using the <a ext:cls="Ext.ProgressBar" ext:member="hideMode" href="output/Ext.ProgressBar.html#hideMode">hideMode</a> property internally). <div class="mdetail-params">
  1018. <strong>Parameters:</strong>
  1019. <ul><li><code>hide</code> : Boolean<div class="sub-desc">(optional) True to hide the progress bar (defaults to false)</div></li> </ul>
  1020. <strong>Returns:</strong>
  1021. <ul>
  1022. <li><code>Ext.ProgressBar</code><div class="sub-desc">this</div></li>
  1023. </ul>
  1024. </div>
  1025. </div>
  1026. </div>
  1027. </td>
  1028. <td class="msource">ProgressBar</td>
  1029. </tr>
  1030. <tr class="method-row inherited expandable">
  1031. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1032. <td class="sig">
  1033. <a id="Ext.ProgressBar-resumeEvents"></a>
  1034. <b>resumeEvents</b>() : void <div class="mdesc">
  1035. <div class="short">Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>)</div>
  1036. <div class="long">
  1037. Resume firing events. (see <a ext:cls="Ext.util.Observable" ext:member="suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">suspendEvents</a>) <div class="mdetail-params">
  1038. <strong>Parameters:</strong>
  1039. <ul><li>None.</li> </ul>
  1040. <strong>Returns:</strong>
  1041. <ul>
  1042. <li><code>void</code></li>
  1043. </ul>
  1044. </div>
  1045. </div>
  1046. </div>
  1047. </td>
  1048. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
  1049. </tr>
  1050. <tr class="method-row inherited alt expandable">
  1051. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1052. <td class="sig">
  1053. <a id="Ext.ProgressBar-setDisabled"></a>
  1054. <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void <div class="mdesc">
  1055. <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
  1056. <div class="long">
  1057. Convenience function for setting disabled/enabled by boolean. <div class="mdetail-params">
  1058. <strong>Parameters:</strong>
  1059. <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li> </ul>
  1060. <strong>Returns:</strong>
  1061. <ul>
  1062. <li><code>void</code></li>
  1063. </ul>
  1064. </div>
  1065. </div>
  1066. </div>
  1067. </td>
  1068. <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
  1069. </tr>
  1070. <tr class="method-row inherited expandable">
  1071. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1072. <td class="sig">
  1073. <a id="Ext.ProgressBar-setHeight"></a>
  1074. <b>setHeight</b>(&nbsp;<code>Number height</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1075. <div class="short">Sets the height of the component. This method fires the resize event.</div>
  1076. <div class="long">
  1077. Sets the height of the component. This method fires the resize event. <div class="mdetail-params">
  1078. <strong>Parameters:</strong>
  1079. <ul><li><code>height</code> : Number<div class="sub-desc">The new height to set</div></li> </ul>
  1080. <strong>Returns:</strong>
  1081. <ul>
  1082. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1083. </ul>
  1084. </div>
  1085. </div>
  1086. </div>
  1087. </td>
  1088. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setHeight" href="output/Ext.BoxComponent.html#setHeight">BoxComponent</a></td>
  1089. </tr>
  1090. <tr class="method-row inherited alt expandable">
  1091. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1092. <td class="sig">
  1093. <a id="Ext.ProgressBar-setPagePosition"></a>
  1094. <b>setPagePosition</b>(&nbsp;<code>Number x</code>, <code>Number y</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1095. <div class="short">Sets the page XY position of the component. To set the left and top instead, use setPosition.
  1096. This method fires the ...</div>
  1097. <div class="long">
  1098. Sets the page XY position of the component. To set the left and top instead, use <a ext:cls="Ext.BoxComponent" ext:member="setPosition" href="output/Ext.BoxComponent.html#setPosition">setPosition</a>.
  1099. This method fires the move event. <div class="mdetail-params">
  1100. <strong>Parameters:</strong>
  1101. <ul><li><code>x</code> : Number<div class="sub-desc">The new x position</div></li><li><code>y</code> : Number<div class="sub-desc">The new y position</div></li> </ul>
  1102. <strong>Returns:</strong>
  1103. <ul>
  1104. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1105. </ul>
  1106. </div>
  1107. </div>
  1108. </div>
  1109. </td>
  1110. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">BoxComponent</a></td>
  1111. </tr>
  1112. <tr class="method-row inherited expandable">
  1113. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1114. <td class="sig">
  1115. <a id="Ext.ProgressBar-setPosition"></a>
  1116. <b>setPosition</b>(&nbsp;<code>Number left</code>, <code>Number top</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1117. <div class="short">Sets the left and top of the component. To set the page XY position instead, use setPagePosition.
  1118. This method fires ...</div>
  1119. <div class="long">
  1120. Sets the left and top of the component. To set the page XY position instead, use <a ext:cls="Ext.BoxComponent" ext:member="setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">setPagePosition</a>.
  1121. This method fires the move event. <div class="mdetail-params">
  1122. <strong>Parameters:</strong>
  1123. <ul><li><code>left</code> : Number<div class="sub-desc">The new left</div></li><li><code>top</code> : Number<div class="sub-desc">The new top</div></li> </ul>
  1124. <strong>Returns:</strong>
  1125. <ul>
  1126. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1127. </ul>
  1128. </div>
  1129. </div>
  1130. </div>
  1131. </td>
  1132. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPosition" href="output/Ext.BoxComponent.html#setPosition">BoxComponent</a></td>
  1133. </tr>
  1134. <tr class="method-row alt expandable">
  1135. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1136. <td class="sig">
  1137. <a id="Ext.ProgressBar-setSize"></a>
  1138. <b>setSize</b>(&nbsp;<code>Number width</code>, <code>Number height</code>&nbsp;) : Ext.ProgressBar <div class="mdesc">
  1139. <div class="short">Sets the size of the progress bar.</div>
  1140. <div class="long">
  1141. Sets the size of the progress bar. <div class="mdetail-params">
  1142. <strong>Parameters:</strong>
  1143. <ul><li><code>width</code> : Number<div class="sub-desc">The new width in pixels</div></li><li><code>height</code> : Number<div class="sub-desc">The new height in pixels</div></li> </ul>
  1144. <strong>Returns:</strong>
  1145. <ul>
  1146. <li><code>Ext.ProgressBar</code><div class="sub-desc">this</div></li>
  1147. </ul>
  1148. </div>
  1149. </div>
  1150. </div>
  1151. </td>
  1152. <td class="msource">ProgressBar</td>
  1153. </tr>
  1154. <tr class="method-row inherited expandable">
  1155. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1156. <td class="sig">
  1157. <a id="Ext.ProgressBar-setVisible"></a>
  1158. <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component <div class="mdesc">
  1159. <div class="short">Convenience function to hide or show this component by boolean.</div>
  1160. <div class="long">
  1161. Convenience function to hide or show this component by boolean. <div class="mdetail-params">
  1162. <strong>Parameters:</strong>
  1163. <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li> </ul>
  1164. <strong>Returns:</strong>
  1165. <ul>
  1166. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1167. </ul>
  1168. </div>
  1169. </div>
  1170. </div>
  1171. </td>
  1172. <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
  1173. </tr>
  1174. <tr class="method-row inherited alt expandable">
  1175. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1176. <td class="sig">
  1177. <a id="Ext.ProgressBar-setWidth"></a>
  1178. <b>setWidth</b>(&nbsp;<code>Number width</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1179. <div class="short">Sets the width of the component. This method fires the resize event.</div>
  1180. <div class="long">
  1181. Sets the width of the component. This method fires the resize event. <div class="mdetail-params">
  1182. <strong>Parameters:</strong>
  1183. <ul><li><code>width</code> : Number<div class="sub-desc">The new width to set</div></li> </ul>
  1184. <strong>Returns:</strong>
  1185. <ul>
  1186. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1187. </ul>
  1188. </div>
  1189. </div>
  1190. </div>
  1191. </td>
  1192. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setWidth" href="output/Ext.BoxComponent.html#setWidth">BoxComponent</a></td>
  1193. </tr>
  1194. <tr class="method-row inherited expandable">
  1195. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1196. <td class="sig">
  1197. <a id="Ext.ProgressBar-show"></a>
  1198. <b>show</b>() : Ext.Component <div class="mdesc">
  1199. <div class="short">Show this component.</div>
  1200. <div class="long">
  1201. Show this component. <div class="mdetail-params">
  1202. <strong>Parameters:</strong>
  1203. <ul><li>None.</li> </ul>
  1204. <strong>Returns:</strong>
  1205. <ul>
  1206. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1207. </ul>
  1208. </div>
  1209. </div>
  1210. </div>
  1211. </td>
  1212. <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
  1213. </tr>
  1214. <tr class="method-row inherited alt expandable">
  1215. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1216. <td class="sig">
  1217. <a id="Ext.ProgressBar-suspendEvents"></a>
  1218. <b>suspendEvents</b>() : void <div class="mdesc">
  1219. <div class="short">Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>)</div>
  1220. <div class="long">
  1221. Suspend the firing of all events. (see <a ext:cls="Ext.util.Observable" ext:member="resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">resumeEvents</a>) <div class="mdetail-params">
  1222. <strong>Parameters:</strong>
  1223. <ul><li>None.</li> </ul>
  1224. <strong>Returns:</strong>
  1225. <ul>
  1226. <li><code>void</code></li>
  1227. </ul>
  1228. </div>
  1229. </div>
  1230. </div>
  1231. </td>
  1232. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
  1233. </tr>
  1234. <tr class="method-row inherited expandable">
  1235. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1236. <td class="sig">
  1237. <a id="Ext.ProgressBar-syncSize"></a>
  1238. <b>syncSize</b>() : Ext.BoxComponent <div class="mdesc">
  1239. <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
  1240. <div class="long">
  1241. Force the component's size to recalculate based on the underlying element's current height and width. <div class="mdetail-params">
  1242. <strong>Parameters:</strong>
  1243. <ul><li>None.</li> </ul>
  1244. <strong>Returns:</strong>
  1245. <ul>
  1246. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1247. </ul>
  1248. </div>
  1249. </div>
  1250. </div>
  1251. </td>
  1252. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#syncSize" href="output/Ext.BoxComponent.html#syncSize">BoxComponent</a></td>
  1253. </tr>
  1254. <tr class="method-row inherited alt expandable">
  1255. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1256. <td class="sig">
  1257. <a id="Ext.ProgressBar-un"></a>
  1258. <b>un</b>(&nbsp;<code>String eventName</code>, <code>Function handler</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : void <div class="mdesc">
  1259. <div class="short">Removes a listener (shorthand for removeListener)</div>
  1260. <div class="long">
  1261. Removes a listener (shorthand for removeListener) <div class="mdetail-params">
  1262. <strong>Parameters:</strong>
  1263. <ul><li><code>eventName</code> : String<div class="sub-desc">The type of event to listen for</div></li><li><code>handler</code> : Function<div class="sub-desc">The handler to remove</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope (this object) for the handler</div></li> </ul>
  1264. <strong>Returns:</strong>
  1265. <ul>
  1266. <li><code>void</code></li>
  1267. </ul>
  1268. </div>
  1269. </div>
  1270. </div>
  1271. </td>
  1272. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
  1273. </tr>
  1274. <tr class="method-row inherited expandable">
  1275. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1276. <td class="sig">
  1277. <a id="Ext.ProgressBar-updateBox"></a>
  1278. <b>updateBox</b>(&nbsp;<code>Object box</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  1279. <div class="short">Sets the current box measurements of the component's underlying element.</div>
  1280. <div class="long">
  1281. Sets the current box measurements of the component's underlying element. <div class="mdetail-params">
  1282. <strong>Parameters:</strong>
  1283. <ul><li><code>box</code> : Object<div class="sub-desc">An object in the format {x, y, width, height}</div></li> </ul>
  1284. <strong>Returns:</strong>
  1285. <ul>
  1286. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  1287. </ul>
  1288. </div>
  1289. </div>
  1290. </div>
  1291. </td>
  1292. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#updateBox" href="output/Ext.BoxComponent.html#updateBox">BoxComponent</a></td>
  1293. </tr>
  1294. <tr class="method-row alt expandable">
  1295. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1296. <td class="sig">
  1297. <a id="Ext.ProgressBar-updateProgress"></a>
  1298. <b>updateProgress</b>(&nbsp;<span class="optional" title="Optional">[<code>Float value</code>]</span>, <span class="optional" title="Optional">[<code>String text</code>]</span>&nbsp;) : Ext.ProgressBar <div class="mdesc">
  1299. <div class="short">Updates the progress bar value, and optionally its text. If the text argument is not specified,
  1300. any existing text va...</div>
  1301. <div class="long">
  1302. Updates the progress bar value, and optionally its text. If the text argument is not specified,
  1303. any existing text value will be unchanged. To blank out existing text, pass ''. Note that even
  1304. if the progress bar value exceeds 1, it will never automatically reset -- you are responsible for
  1305. determining when the progress is complete and calling <a ext:cls="Ext.ProgressBar" ext:member="reset" href="output/Ext.ProgressBar.html#reset">reset</a> to clear and/or hide the control. <div class="mdetail-params">
  1306. <strong>Parameters:</strong>
  1307. <ul><li><code>value</code> : Float<div class="sub-desc">(optional) A floating point value between 0 and 1 (e.g., .5, defaults to 0)</div></li><li><code>text</code> : String<div class="sub-desc">(optional) The string to display in the progress text element (defaults to '')</div></li> </ul>
  1308. <strong>Returns:</strong>
  1309. <ul>
  1310. <li><code>Ext.ProgressBar</code><div class="sub-desc">this</div></li>
  1311. </ul>
  1312. </div>
  1313. </div>
  1314. </div>
  1315. </td>
  1316. <td class="msource">ProgressBar</td>
  1317. </tr>
  1318. <tr class="method-row expandable">
  1319. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1320. <td class="sig">
  1321. <a id="Ext.ProgressBar-updateText"></a>
  1322. <b>updateText</b>(&nbsp;<span class="optional" title="Optional">[<code>String text</code>]</span>&nbsp;) : Ext.ProgressBar <div class="mdesc">
  1323. <div class="short">Updates the progress bar text. If specified, textEl will be updated, otherwise the progress
  1324. bar itself will display ...</div>
  1325. <div class="long">
  1326. Updates the progress bar text. If specified, textEl will be updated, otherwise the progress
  1327. bar itself will display the updated text. <div class="mdetail-params">
  1328. <strong>Parameters:</strong>
  1329. <ul><li><code>text</code> : String<div class="sub-desc">(optional) The string to display in the progress text element (defaults to '')</div></li> </ul>
  1330. <strong>Returns:</strong>
  1331. <ul>
  1332. <li><code>Ext.ProgressBar</code><div class="sub-desc">this</div></li>
  1333. </ul>
  1334. </div>
  1335. </div>
  1336. </div>
  1337. </td>
  1338. <td class="msource">ProgressBar</td>
  1339. </tr>
  1340. <tr class="method-row alt expandable">
  1341. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1342. <td class="sig">
  1343. <a id="Ext.ProgressBar-wait"></a>
  1344. <b>wait</b>(&nbsp;<span class="optional" title="Optional">[<code>Object config</code>]</span>&nbsp;) : Ext.ProgressBar <div class="mdesc">
  1345. <div class="short">Initiates an auto-updating progress bar. A duration can be specified, in which case the progress
  1346. bar will automatica...</div>
  1347. <div class="long">
  1348. Initiates an auto-updating progress bar. A duration can be specified, in which case the progress
  1349. bar will automatically reset after a fixed amount of time and optionally call a callback function
  1350. if specified. If no duration is passed in, then the progress bar will run indefinitely and must
  1351. be manually cleared by calling <a ext:cls="Ext.ProgressBar" ext:member="reset" href="output/Ext.ProgressBar.html#reset">reset</a>. The wait method accepts a config object with
  1352. the following properties:
  1353. <pre>Property Type Description
  1354. ---------- ------------ ----------------------------------------------------------------------
  1355. duration Number The length of time in milliseconds that the progress bar should
  1356. run before resetting itself (defaults to undefined, in which case it
  1357. will run indefinitely until reset is called)
  1358. interval Number The length of time in milliseconds between each progress update
  1359. (defaults to 1000 ms)
  1360. increment Number The number of progress update segments to display within the progress
  1361. bar (defaults to 10). If the bar reaches the end and is still
  1362. updating, it will automatically wrap back to the beginning.
  1363. fn Function A callback function to execute after the progress bar finishes auto-
  1364. updating. The function will be called with no arguments. This function
  1365. will be ignored if duration is not specified since in that case the
  1366. progress bar can only be stopped programmatically, so any required function
  1367. should be called by the same code after it resets the progress bar.
  1368. scope Object The scope that is passed to the callback function (only applies when
  1369. duration and fn are both passed).</pre>
  1370. Example usage:
  1371. <pre><code>var p = <b>new</b> Ext.ProgressBar({
  1372. renderTo: <em>'my-el'</em>
  1373. });
  1374. <i>//Wait <b>for</b> 5 seconds, then update the status el (progress bar will auto-reset)</i>
  1375. p.wait({
  1376. interval: 100, <i>//bar will move fast!</i>
  1377. duration: 5000,
  1378. increment: 15,
  1379. scope: <b>this</b>,
  1380. fn: <b>function</b>(){
  1381. Ext.fly(<em>'status'</em>).update(<em>'Done!'</em>);
  1382. }
  1383. });
  1384. <i>//Or update indefinitely until some async action completes, then reset manually</i>
  1385. p.wait();
  1386. myAction.on(<em>'complete'</em>, <b>function</b>(){
  1387. p.reset();
  1388. Ext.fly(<em>'status'</em>).update(<em>'Done!'</em>);
  1389. });</code></pre> <div class="mdetail-params">
  1390. <strong>Parameters:</strong>
  1391. <ul><li><code>config</code> : Object<div class="sub-desc">(optional) Configuration options</div></li> </ul>
  1392. <strong>Returns:</strong>
  1393. <ul>
  1394. <li><code>Ext.ProgressBar</code><div class="sub-desc">this</div></li>
  1395. </ul>
  1396. </div>
  1397. </div>
  1398. </div>
  1399. </td>
  1400. <td class="msource">ProgressBar</td>
  1401. </tr>
  1402. </table>
  1403. <a id="Ext.ProgressBar-events"></a>
  1404. <h2>Public Events</h2>
  1405. <table cellspacing="0" class="member-table">
  1406. <tr>
  1407. <th class="sig-header" colspan="2">Event</th>
  1408. <th class="msource-header">Defined By</th>
  1409. </tr>
  1410. <tr class="event-row inherited expandable">
  1411. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1412. <td class="sig">
  1413. <a id="Ext.ProgressBar-beforedestroy"></a>
  1414. <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1415. <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
  1416. <div class="long">
  1417. Fires before the component is destroyed. Return false to stop the destroy. <div class="mdetail-params">
  1418. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1419. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1420. </div>
  1421. </div>
  1422. </div>
  1423. </td>
  1424. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
  1425. </tr>
  1426. <tr class="event-row inherited alt expandable">
  1427. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1428. <td class="sig">
  1429. <a id="Ext.ProgressBar-beforehide"></a>
  1430. <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1431. <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
  1432. <div class="long">
  1433. Fires before the component is hidden. Return false to stop the hide. <div class="mdetail-params">
  1434. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1435. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1436. </div>
  1437. </div>
  1438. </div>
  1439. </td>
  1440. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
  1441. </tr>
  1442. <tr class="event-row inherited expandable">
  1443. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1444. <td class="sig">
  1445. <a id="Ext.ProgressBar-beforerender"></a>
  1446. <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1447. <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
  1448. <div class="long">
  1449. Fires before the component is rendered. Return false to stop the render. <div class="mdetail-params">
  1450. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1451. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1452. </div>
  1453. </div>
  1454. </div>
  1455. </td>
  1456. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
  1457. </tr>
  1458. <tr class="event-row inherited alt expandable">
  1459. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1460. <td class="sig">
  1461. <a id="Ext.ProgressBar-beforeshow"></a>
  1462. <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1463. <div class="short">Fires before the component is shown. Return false to stop the show.</div>
  1464. <div class="long">
  1465. Fires before the component is shown. Return false to stop the show. <div class="mdetail-params">
  1466. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1467. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1468. </div>
  1469. </div>
  1470. </div>
  1471. </td>
  1472. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
  1473. </tr>
  1474. <tr class="event-row inherited expandable">
  1475. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1476. <td class="sig">
  1477. <a id="Ext.ProgressBar-beforestaterestore"></a>
  1478. <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  1479. <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
  1480. <div class="long">
  1481. Fires before the state of the component is restored. Return false to stop the restore. <div class="mdetail-params">
  1482. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1483. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
  1484. </div>
  1485. </div>
  1486. </div>
  1487. </td>
  1488. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
  1489. </tr>
  1490. <tr class="event-row inherited alt expandable">
  1491. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1492. <td class="sig">
  1493. <a id="Ext.ProgressBar-beforestatesave"></a>
  1494. <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  1495. <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
  1496. <div class="long">
  1497. Fires before the state of the component is saved to the configured state provider. Return false to stop the save. <div class="mdetail-params">
  1498. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1499. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
  1500. </div>
  1501. </div>
  1502. </div>
  1503. </td>
  1504. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
  1505. </tr>
  1506. <tr class="event-row inherited expandable">
  1507. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1508. <td class="sig">
  1509. <a id="Ext.ProgressBar-destroy"></a>
  1510. <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1511. <div class="short">Fires after the component is destroyed.</div>
  1512. <div class="long">
  1513. Fires after the component is destroyed. <div class="mdetail-params">
  1514. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1515. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1516. </div>
  1517. </div>
  1518. </div>
  1519. </td>
  1520. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
  1521. </tr>
  1522. <tr class="event-row inherited alt expandable">
  1523. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1524. <td class="sig">
  1525. <a id="Ext.ProgressBar-disable"></a>
  1526. <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1527. <div class="short">Fires after the component is disabled.</div>
  1528. <div class="long">
  1529. Fires after the component is disabled. <div class="mdetail-params">
  1530. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1531. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1532. </div>
  1533. </div>
  1534. </div>
  1535. </td>
  1536. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
  1537. </tr>
  1538. <tr class="event-row inherited expandable">
  1539. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1540. <td class="sig">
  1541. <a id="Ext.ProgressBar-enable"></a>
  1542. <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1543. <div class="short">Fires after the component is enabled.</div>
  1544. <div class="long">
  1545. Fires after the component is enabled. <div class="mdetail-params">
  1546. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1547. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1548. </div>
  1549. </div>
  1550. </div>
  1551. </td>
  1552. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
  1553. </tr>
  1554. <tr class="event-row inherited alt expandable">
  1555. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1556. <td class="sig">
  1557. <a id="Ext.ProgressBar-hide"></a>
  1558. <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1559. <div class="short">Fires after the component is hidden.</div>
  1560. <div class="long">
  1561. Fires after the component is hidden. <div class="mdetail-params">
  1562. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1563. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1564. </div>
  1565. </div>
  1566. </div>
  1567. </td>
  1568. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
  1569. </tr>
  1570. <tr class="event-row inherited expandable">
  1571. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1572. <td class="sig">
  1573. <a id="Ext.ProgressBar-move"></a>
  1574. <b>move</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number x</code>, <code>Number y</code>&nbsp;) <div class="mdesc">
  1575. <div class="short">Fires after the component is moved.</div>
  1576. <div class="long">
  1577. Fires after the component is moved. <div class="mdetail-params">
  1578. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1579. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>x</code> : Number<div class="sub-desc">The new x position</div></li><li><code>y</code> : Number<div class="sub-desc">The new y position</div></li> </ul>
  1580. </div>
  1581. </div>
  1582. </div>
  1583. </td>
  1584. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-move" href="output/Ext.BoxComponent.html#event-move">BoxComponent</a></td>
  1585. </tr>
  1586. <tr class="event-row inherited alt expandable">
  1587. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1588. <td class="sig">
  1589. <a id="Ext.ProgressBar-render"></a>
  1590. <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1591. <div class="short">Fires after the component is rendered.</div>
  1592. <div class="long">
  1593. Fires after the component is rendered. <div class="mdetail-params">
  1594. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1595. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1596. </div>
  1597. </div>
  1598. </div>
  1599. </td>
  1600. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
  1601. </tr>
  1602. <tr class="event-row inherited expandable">
  1603. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1604. <td class="sig">
  1605. <a id="Ext.ProgressBar-resize"></a>
  1606. <b>resize</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number adjWidth</code>, <code>Number adjHeight</code>, <code>Number rawWidth</code>, <code>Number rawHeight</code>&nbsp;) <div class="mdesc">
  1607. <div class="short">Fires after the component is resized.</div>
  1608. <div class="long">
  1609. Fires after the component is resized. <div class="mdetail-params">
  1610. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1611. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>adjWidth</code> : Number<div class="sub-desc">The box-adjusted width that was set</div></li><li><code>adjHeight</code> : Number<div class="sub-desc">The box-adjusted height that was set</div></li><li><code>rawWidth</code> : Number<div class="sub-desc">The width that was originally specified</div></li><li><code>rawHeight</code> : Number<div class="sub-desc">The height that was originally specified</div></li> </ul>
  1612. </div>
  1613. </div>
  1614. </div>
  1615. </td>
  1616. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-resize" href="output/Ext.BoxComponent.html#event-resize">BoxComponent</a></td>
  1617. </tr>
  1618. <tr class="event-row inherited alt expandable">
  1619. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1620. <td class="sig">
  1621. <a id="Ext.ProgressBar-show"></a>
  1622. <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  1623. <div class="short">Fires after the component is shown.</div>
  1624. <div class="long">
  1625. Fires after the component is shown. <div class="mdetail-params">
  1626. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1627. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  1628. </div>
  1629. </div>
  1630. </div>
  1631. </td>
  1632. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
  1633. </tr>
  1634. <tr class="event-row inherited expandable">
  1635. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1636. <td class="sig">
  1637. <a id="Ext.ProgressBar-staterestore"></a>
  1638. <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  1639. <div class="short">Fires after the state of the component is restored.</div>
  1640. <div class="long">
  1641. Fires after the state of the component is restored. <div class="mdetail-params">
  1642. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1643. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
  1644. </div>
  1645. </div>
  1646. </div>
  1647. </td>
  1648. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
  1649. </tr>
  1650. <tr class="event-row inherited alt expandable">
  1651. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1652. <td class="sig">
  1653. <a id="Ext.ProgressBar-statesave"></a>
  1654. <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  1655. <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
  1656. <div class="long">
  1657. Fires after the state of the component is saved to the configured state provider. <div class="mdetail-params">
  1658. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1659. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li><li><code>state</code> : Object<div class="sub-desc">The hash of state values</div></li> </ul>
  1660. </div>
  1661. </div>
  1662. </div>
  1663. </td>
  1664. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
  1665. </tr>
  1666. <tr class="event-row expandable">
  1667. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1668. <td class="sig">
  1669. <a id="Ext.ProgressBar-update"></a>
  1670. <b>update</b> : (&nbsp;<code>Ext.ProgressBar this</code>, <code>Number The</code>, <code>String The</code>&nbsp;) <div class="mdesc">
  1671. <div class="short">Fires after each update interval</div>
  1672. <div class="long">
  1673. Fires after each update interval <div class="mdetail-params">
  1674. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  1675. <ul><li><code>this</code> : Ext.ProgressBar<div class="sub-desc"></div></li><li><code>The</code> : Number<div class="sub-desc">current progress value</div></li><li><code>The</code> : String<div class="sub-desc">current progress text</div></li> </ul>
  1676. </div>
  1677. </div>
  1678. </div>
  1679. </td>
  1680. <td class="msource">ProgressBar</td>
  1681. </tr>
  1682. </table>
  1683. </div>