f02da1eafeeb51ae66fa5c63c03ede0e67fe8a0b.svn-base 185 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.Panel-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.Panel-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.Panel-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="inner-link" href="#Ext.Panel-configs"><img src="../resources/images/default/s.gif" class="item-icon icon-config">Config Options</a>
  7. <a class="bookmark" href="../docs/?class=Ext.Panel"><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"/><a ext:cls="Ext.Container" ext:member="" href="output/Ext.Container.html">Container</a>
  14. <img src="resources/elbow-end.gif"/>Panel</pre></div>
  15. <h1>Class Ext.Panel</h1>
  16. <table cellspacing="0">
  17. <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
  18. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/Panel.js" target="_blank">Panel.js</a></td></tr>
  19. <tr><td class="label">Class:</td><td class="hd-info">Panel</td></tr>
  20. <tr><td class="label">Subclasses:</td><td class="hd-info"><a ext:cls="Ext.TabPanel" href="output/Ext.TabPanel.html">TabPanel</a>, <a ext:cls="Ext.Tip" href="output/Ext.Tip.html">Tip</a>, <a ext:cls="Ext.Window" href="output/Ext.Window.html">Window</a>, <a ext:cls="Ext.form.FieldSet" href="output/Ext.form.FieldSet.html">FieldSet</a>, <a ext:cls="Ext.form.FormPanel" href="output/Ext.form.FormPanel.html">FormPanel</a>, <a ext:cls="Ext.grid.GridPanel" href="output/Ext.grid.GridPanel.html">GridPanel</a>, <a ext:cls="Ext.tree.TreePanel" href="output/Ext.tree.TreePanel.html">TreePanel</a></td></tr>
  21. <tr><td class="label">Extends:</td><td class="hd-info"><a ext:cls="Ext.Container" ext:member="" href="output/Ext.Container.html">Container</a></td></tr>
  22. </table>
  23. <div class="description">
  24. Panel is a container that has specific functionality and structural components that make it the perfect building
  25. block for application-oriented user interfaces. The Panel contains bottom and top toolbars, along with separate
  26. header, footer and body sections. It also provides built-in expandable and collapsible behavior, along with a
  27. variety of prebuilt tool buttons that can be wired up to provide other customized behavior. Panels can be easily
  28. dropped into any Container or layout, and the layout and rendering pipeline is completely managed by the framework. </div>
  29. <div class="hr"></div>
  30. <a id="Ext.Panel-configs"></a>
  31. <h2>Config Options</h2>
  32. <table cellspacing="0" class="member-table">
  33. <tr>
  34. <th class="sig-header" colspan="2">Config Options</th>
  35. <th class="msource-header">Defined By</th>
  36. </tr>
  37. <tr class="config-row inherited expandable">
  38. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  39. <td class="sig">
  40. <a id="Ext.Panel-activeItem"></a>
  41. <b>activeItem</b> : String/Number <div class="mdesc">
  42. <div class="short">A string component id or the numeric index of the component that should be initially activated within the container's...</div>
  43. <div class="long">
  44. A string component id or the numeric index of the component that should be initially activated within the container's layout on render. For example, activeItem: 'item-1' or activeItem: 0 (index 0 = the first item in the container's collection). activeItem only applies to layout styles that can display items one at a time (like <a ext:cls="Ext.layout.Accordion" href="output/Ext.layout.Accordion.html">Ext.layout.Accordion</a>, <a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a> and <a ext:cls="Ext.layout.FitLayout" href="output/Ext.layout.FitLayout.html">Ext.layout.FitLayout</a>). Related to <a ext:cls="Ext.layout.ContainerLayout" ext:member="activeItem" href="output/Ext.layout.ContainerLayout.html#activeItem">Ext.layout.ContainerLayout.activeItem</a>. </div>
  45. </div>
  46. </td>
  47. <td class="msource"><a ext:cls="Ext.Container" ext:member="#activeItem" href="output/Ext.Container.html#activeItem">Container</a></td>
  48. </tr>
  49. <tr class="config-row inherited alt">
  50. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  51. <td class="sig">
  52. <a id="Ext.Panel-allowDomMove"></a>
  53. <b>allowDomMove</b> : Boolean <div class="mdesc">
  54. Whether the component can move the Dom node when rendering (defaults to true). </div>
  55. </td>
  56. <td class="msource"><a ext:cls="Ext.Component" ext:member="#allowDomMove" href="output/Ext.Component.html#allowDomMove">Component</a></td>
  57. </tr>
  58. <tr class="config-row expandable">
  59. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  60. <td class="sig">
  61. <a id="Ext.Panel-animCollapse"></a>
  62. <b>animCollapse</b> : Boolean <div class="mdesc">
  63. <div class="short">True to animate the transition when the panel is collapsed, false to skip the animation (defaults to true if the Ext....</div>
  64. <div class="long">
  65. True to animate the transition when the panel is collapsed, false to skip the animation (defaults to true if the <a ext:cls="Ext.Fx" href="output/Ext.Fx.html">Ext.Fx</a> class is available, otherwise false). </div>
  66. </div>
  67. </td>
  68. <td class="msource">Panel</td>
  69. </tr>
  70. <tr class="config-row alt expandable">
  71. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  72. <td class="sig">
  73. <a id="Ext.Panel-applyTo"></a>
  74. <b>applyTo</b> : Mixed <div class="mdesc">
  75. <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>
  76. <div class="long">
  77. 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 panel-specific structural markup. When applyTo is used, constituent parts of the panel can be specified by CSS class name within the main element, and the panel will automatically create those components from that markup. Any required components not specified in the markup will be autogenerated if necessary. The following class names are supported (baseCls will be replaced by <a ext:cls="Ext.Panel" ext:member="baseCls" href="output/Ext.Panel.html#baseCls">baseCls</a>): <ul><li>baseCls + '-header'</li> <li>baseCls + '-header-text'</li> <li>baseCls + '-bwrap'</li> <li>baseCls + '-tbar'</li> <li>baseCls + '-body'</li> <li>baseCls + '-bbar'</li> <li>baseCls + '-footer'</li></ul> Using this config, a call to render() is not required. If applyTo is specified, any value passed for <a ext:cls="Ext.Panel" ext:member="renderTo" href="output/Ext.Panel.html#renderTo">renderTo</a> will be ignored and the target element's parent node will automatically be used as the panel's container. </div>
  78. </div>
  79. </td>
  80. <td class="msource">Panel</td>
  81. </tr>
  82. <tr class="config-row inherited expandable">
  83. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  84. <td class="sig">
  85. <a id="Ext.Panel-autoDestroy"></a>
  86. <b>autoDestroy</b> : Boolean <div class="mdesc">
  87. <div class="short">If true the container will automatically destroy any contained component that is removed from it, else destruction mu...</div>
  88. <div class="long">
  89. If true the container will automatically destroy any contained component that is removed from it, else destruction must be handled manually (defaults to true). </div>
  90. </div>
  91. </td>
  92. <td class="msource"><a ext:cls="Ext.Container" ext:member="#autoDestroy" href="output/Ext.Container.html#autoDestroy">Container</a></td>
  93. </tr>
  94. <tr class="config-row inherited alt">
  95. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  96. <td class="sig">
  97. <a id="Ext.Panel-autoHeight"></a>
  98. <b>autoHeight</b> : Boolean <div class="mdesc">
  99. True to use height:'auto', false to use fixed height (defaults to false). </div>
  100. </td>
  101. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoHeight" href="output/Ext.BoxComponent.html#autoHeight">BoxComponent</a></td>
  102. </tr>
  103. <tr class="config-row expandable">
  104. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  105. <td class="sig">
  106. <a id="Ext.Panel-autoLoad"></a>
  107. <b>autoLoad</b> : Object/String/Function <div class="mdesc">
  108. <div class="short">A valid url spec according to the Updater Ext.Updater.update method. If autoLoad is not null, the panel will attempt ...</div>
  109. <div class="long">
  110. A valid url spec according to the Updater <a ext:cls="Ext.Updater" ext:member="update" href="output/Ext.Updater.html#update">Ext.Updater.update</a> method. If autoLoad is not null, the panel will attempt to load its contents immediately upon render.<p> The URL will become the default URL for this panel's <a ext:cls="Ext.Panel" ext:member="body" href="output/Ext.Panel.html#body">body</a> element, so it may be <a ext:cls="Ext.Element" ext:member="refresh" href="output/Ext.Element.html#refresh">refresh</a>ed at any time.</p> </div>
  111. </div>
  112. </td>
  113. <td class="msource">Panel</td>
  114. </tr>
  115. <tr class="config-row alt expandable">
  116. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  117. <td class="sig">
  118. <a id="Ext.Panel-autoScroll"></a>
  119. <b>autoScroll</b> : Boolean <div class="mdesc">
  120. <div class="short">True to use overflow:'auto' on the panel's body element and show scroll bars automatically when necessary, false to c...</div>
  121. <div class="long">
  122. True to use overflow:'auto' on the panel's body element and show scroll bars automatically when necessary, false to clip any overflowing content (defaults to false). </div>
  123. </div>
  124. </td>
  125. <td class="msource">Panel</td>
  126. </tr>
  127. <tr class="config-row inherited expandable">
  128. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  129. <td class="sig">
  130. <a id="Ext.Panel-autoShow"></a>
  131. <b>autoShow</b> : Boolean <div class="mdesc">
  132. <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>
  133. <div class="long">
  134. 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>
  135. </div>
  136. </td>
  137. <td class="msource"><a ext:cls="Ext.Component" ext:member="#autoShow" href="output/Ext.Component.html#autoShow">Component</a></td>
  138. </tr>
  139. <tr class="config-row inherited alt">
  140. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  141. <td class="sig">
  142. <a id="Ext.Panel-autoWidth"></a>
  143. <b>autoWidth</b> : Boolean <div class="mdesc">
  144. True to use width:'auto', false to use fixed width (defaults to false). </div>
  145. </td>
  146. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#autoWidth" href="output/Ext.BoxComponent.html#autoWidth">BoxComponent</a></td>
  147. </tr>
  148. <tr class="config-row">
  149. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  150. <td class="sig">
  151. <a id="Ext.Panel-baseCls"></a>
  152. <b>baseCls</b> : String <div class="mdesc">
  153. The base CSS class to apply to this panel's element (defaults to 'x-panel'). </div>
  154. </td>
  155. <td class="msource">Panel</td>
  156. </tr>
  157. <tr class="config-row alt expandable">
  158. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  159. <td class="sig">
  160. <a id="Ext.Panel-bbar"></a>
  161. <b>bbar</b> : Object/Array <div class="mdesc">
  162. <div class="short">The bottom toolbar of the panel. This can be a Ext.Toolbar object, a toolbar config, or an array of buttons/button co...</div>
  163. <div class="long">
  164. The bottom toolbar of the panel. This can be a <a ext:cls="Ext.Toolbar" href="output/Ext.Toolbar.html">Ext.Toolbar</a> object, a toolbar config, or an array of buttons/button configs to be added to the toolbar. Note that this is not available as a property after render. To access the bottom toolbar after render, use <a ext:cls="Ext.Panel" ext:member="getBottomToolbar" href="output/Ext.Panel.html#getBottomToolbar">getBottomToolbar</a>. </div>
  165. </div>
  166. </td>
  167. <td class="msource">Panel</td>
  168. </tr>
  169. <tr class="config-row expandable">
  170. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  171. <td class="sig">
  172. <a id="Ext.Panel-bodyBorder"></a>
  173. <b>bodyBorder</b> : Boolean <div class="mdesc">
  174. <div class="short">True to display an interior border on the body element of the panel, false to hide it (defaults to true). This only a...</div>
  175. <div class="long">
  176. True to display an interior border on the body element of the panel, false to hide it (defaults to true). This only applies when <a ext:cls="Ext.Panel" ext:member="border" href="output/Ext.Panel.html#border">border</a> == true. If border == true and bodyBorder == false, the border will display as a 1px wide inset border, giving the entire body element an inset appearance. </div>
  177. </div>
  178. </td>
  179. <td class="msource">Panel</td>
  180. </tr>
  181. <tr class="config-row alt expandable">
  182. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  183. <td class="sig">
  184. <a id="Ext.Panel-bodyStyle"></a>
  185. <b>bodyStyle</b> : String/Object/Function <div class="mdesc">
  186. <div class="short">Custom CSS styles to be applied to the body element in the format expected by Ext.Element.applyStyles (defaults to nu...</div>
  187. <div class="long">
  188. Custom CSS styles to be applied to the body element in the format expected by <a ext:cls="Ext.Element" ext:member="applyStyles" href="output/Ext.Element.html#applyStyles">Ext.Element.applyStyles</a> (defaults to null). </div>
  189. </div>
  190. </td>
  191. <td class="msource">Panel</td>
  192. </tr>
  193. <tr class="config-row expandable">
  194. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  195. <td class="sig">
  196. <a id="Ext.Panel-border"></a>
  197. <b>border</b> : Boolean <div class="mdesc">
  198. <div class="short">True to display the borders of the panel's body element, false to hide them (defaults to true). By default, the borde...</div>
  199. <div class="long">
  200. True to display the borders of the panel's body element, false to hide them (defaults to true). By default, the border is a 2px wide inset border, but this can be further altered by setting <a ext:cls="Ext.Panel" ext:member="bodyBorder" href="output/Ext.Panel.html#bodyBorder">bodyBorder</a> to false. </div>
  201. </div>
  202. </td>
  203. <td class="msource">Panel</td>
  204. </tr>
  205. <tr class="config-row inherited alt expandable">
  206. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  207. <td class="sig">
  208. <a id="Ext.Panel-bufferResize"></a>
  209. <b>bufferResize</b> : Boolean/Number <div class="mdesc">
  210. <div class="short">When set to true (100 milliseconds) or a number of milliseconds, the layout assigned for this container will buffer t...</div>
  211. <div class="long">
  212. When set to true (100 milliseconds) or a number of milliseconds, the layout assigned for this container will buffer the frequency it calculates and does a re-layout of components. This is useful for heavy containers or containers with a large amount of sub components that frequent calls to layout are expensive. </div>
  213. </div>
  214. </td>
  215. <td class="msource"><a ext:cls="Ext.Container" ext:member="#bufferResize" href="output/Ext.Container.html#bufferResize">Container</a></td>
  216. </tr>
  217. <tr class="config-row">
  218. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  219. <td class="sig">
  220. <a id="Ext.Panel-buttonAlign"></a>
  221. <b>buttonAlign</b> : String <div class="mdesc">
  222. The alignment of any buttons added to this panel. Valid values are 'right,' 'left' and 'center' (defaults to 'right'). </div>
  223. </td>
  224. <td class="msource">Panel</td>
  225. </tr>
  226. <tr class="config-row alt">
  227. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  228. <td class="sig">
  229. <a id="Ext.Panel-buttons"></a>
  230. <b>buttons</b> : Array <div class="mdesc">
  231. An array of <a ext:cls="Ext.Button" href="output/Ext.Button.html">Ext.Button</a> <b>configs</b> used to add buttons to the footer of this panel. </div>
  232. </td>
  233. <td class="msource">Panel</td>
  234. </tr>
  235. <tr class="config-row inherited expandable">
  236. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  237. <td class="sig">
  238. <a id="Ext.Panel-cls"></a>
  239. <b>cls</b> : String <div class="mdesc">
  240. <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>
  241. <div class="long">
  242. 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>
  243. </div>
  244. </td>
  245. <td class="msource"><a ext:cls="Ext.Component" ext:member="#cls" href="output/Ext.Component.html#cls">Component</a></td>
  246. </tr>
  247. <tr class="config-row alt expandable">
  248. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  249. <td class="sig">
  250. <a id="Ext.Panel-collapseFirst"></a>
  251. <b>collapseFirst</b> : Boolean <div class="mdesc">
  252. <div class="short">True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in the pane...</div>
  253. <div class="long">
  254. True to make sure the collapse/expand toggle button always renders first (to the left of) any other tools in the panel's title bar, false to render it last (defaults to true). </div>
  255. </div>
  256. </td>
  257. <td class="msource">Panel</td>
  258. </tr>
  259. <tr class="config-row">
  260. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  261. <td class="sig">
  262. <a id="Ext.Panel-collapsed"></a>
  263. <b>collapsed</b> : Boolean <div class="mdesc">
  264. True to render the panel collapsed, false to render it expanded (defaults to false). </div>
  265. </td>
  266. <td class="msource">Panel</td>
  267. </tr>
  268. <tr class="config-row alt">
  269. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  270. <td class="sig">
  271. <a id="Ext.Panel-collapsedCls"></a>
  272. <b>collapsedCls</b> : String <div class="mdesc">
  273. A CSS class to add to the panel's element after it has been collapsed (defaults to 'x-panel-collapsed'). </div>
  274. </td>
  275. <td class="msource">Panel</td>
  276. </tr>
  277. <tr class="config-row expandable">
  278. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  279. <td class="sig">
  280. <a id="Ext.Panel-collapsible"></a>
  281. <b>collapsible</b> : Boolean <div class="mdesc">
  282. <div class="short">True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into the header ...</div>
  283. <div class="long">
  284. True to make the panel collapsible and have the expand/collapse toggle button automatically rendered into the header tool button area, false to keep the panel statically sized with no button (defaults to false). </div>
  285. </div>
  286. </td>
  287. <td class="msource">Panel</td>
  288. </tr>
  289. <tr class="config-row alt">
  290. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  291. <td class="sig">
  292. <a id="Ext.Panel-contentEl"></a>
  293. <b>contentEl</b> : String <div class="mdesc">
  294. The id of an existing HTML node to use as the panel's body content (defaults to ''). </div>
  295. </td>
  296. <td class="msource">Panel</td>
  297. </tr>
  298. <tr class="config-row inherited expandable">
  299. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  300. <td class="sig">
  301. <a id="Ext.Panel-ctCls"></a>
  302. <b>ctCls</b> : String <div class="mdesc">
  303. <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>
  304. <div class="long">
  305. 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>
  306. </div>
  307. </td>
  308. <td class="msource"><a ext:cls="Ext.Component" ext:member="#ctCls" href="output/Ext.Component.html#ctCls">Component</a></td>
  309. </tr>
  310. <tr class="config-row inherited alt">
  311. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  312. <td class="sig">
  313. <a id="Ext.Panel-defaultType"></a>
  314. <b>defaultType</b> : String <div class="mdesc">
  315. The default type of container represented by this object as registered in <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a> (defaults to 'panel'). </div>
  316. </td>
  317. <td class="msource"><a ext:cls="Ext.Container" ext:member="#defaultType" href="output/Ext.Container.html#defaultType">Container</a></td>
  318. </tr>
  319. <tr class="config-row inherited expandable">
  320. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  321. <td class="sig">
  322. <a id="Ext.Panel-defaults"></a>
  323. <b>defaults</b> : Object <div class="mdesc">
  324. <div class="short">A config object that will be applied to all components added to this container either via the items config or via the...</div>
  325. <div class="long">
  326. A config object that will be applied to all components added to this container either via the <a ext:cls="Ext.Container" ext:member="items" href="output/Ext.Container.html#items">items</a> config or via the <a ext:cls="Ext.Container" ext:member="add" href="output/Ext.Container.html#add">add</a> or <a ext:cls="Ext.Container" ext:member="insert" href="output/Ext.Container.html#insert">insert</a> methods. The defaults config can contain any number of name/value property pairs to be added to each item, and should be valid for the types of items being added to the container. For example, to automatically apply padding to the body of each of a set of contained <a ext:cls="Ext.Panel" href="output/Ext.Panel.html">Ext.Panel</a> items, you could pass: defaults: {bodyStyle:'padding:15px'}. </div>
  327. </div>
  328. </td>
  329. <td class="msource"><a ext:cls="Ext.Container" ext:member="#defaults" href="output/Ext.Container.html#defaults">Container</a></td>
  330. </tr>
  331. <tr class="config-row inherited alt">
  332. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  333. <td class="sig">
  334. <a id="Ext.Panel-disabledClass"></a>
  335. <b>disabledClass</b> : String <div class="mdesc">
  336. CSS class added to the component when it is disabled (defaults to "x-item-disabled"). </div>
  337. </td>
  338. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabledClass" href="output/Ext.Component.html#disabledClass">Component</a></td>
  339. </tr>
  340. <tr class="config-row expandable">
  341. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  342. <td class="sig">
  343. <a id="Ext.Panel-draggable"></a>
  344. <b>draggable</b> : Boolean <div class="mdesc">
  345. <div class="short">True to enable dragging of this Panel (defaults to false). For custom drag/drop implementations, an Ext.Panel.DD conf...</div>
  346. <div class="long">
  347. True to enable dragging of this Panel (defaults to false). For custom drag/drop implementations, an Ext.Panel.DD config could also be passed in this config instead of true, although Ext.Panel.DD is an internal, undocumented class. </div>
  348. </div>
  349. </td>
  350. <td class="msource">Panel</td>
  351. </tr>
  352. <tr class="config-row alt expandable">
  353. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  354. <td class="sig">
  355. <a id="Ext.Panel-elements"></a>
  356. <b>elements</b> : String <div class="mdesc">
  357. <div class="short">A comma-delimited list of panel elements to initialize when the panel is rendered. Normally, this list will be genera...</div>
  358. <div class="long">
  359. A comma-delimited list of panel elements to initialize when the panel is rendered. Normally, this list will be generated automatically based on the items added to the panel at config time, but sometimes it might be useful to make sure a structural element is rendered even if not specified at config time (for example, you may want to add a button or toolbar dynamically after the panel has been rendered). Adding those elements to this list will allocate the required placeholders in the panel when it is rendered. Valid values are<ul> <li><b>header</b></li> <li><b>tbar</b> (top bar)</li> <li><b>body</b></li> <li><b>bbar</b> (bottom bar)</li> <li><b>footer</b><li> </ul> Defaults to 'body'. </div>
  360. </div>
  361. </td>
  362. <td class="msource">Panel</td>
  363. </tr>
  364. <tr class="config-row expandable">
  365. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  366. <td class="sig">
  367. <a id="Ext.Panel-floating"></a>
  368. <b>floating</b> : Boolean <div class="mdesc">
  369. <div class="short">True to float the panel (absolute position it with automatic shimming and shadow), false to display it inline where i...</div>
  370. <div class="long">
  371. True to float the panel (absolute position it with automatic shimming and shadow), false to display it inline where it is rendered (defaults to false). Note that by default, setting floating to true will cause the panel to display at negative offsets so that it is hidden -- because the panel is absolute positioned, the position must be set explicitly after render (e.g., myPanel.setPosition(100,100);). Also, when floating a panel you should always assign a fixed width, otherwise it will be auto width and will expand to fill to the right edge of the viewport. </div>
  372. </div>
  373. </td>
  374. <td class="msource">Panel</td>
  375. </tr>
  376. <tr class="config-row alt expandable">
  377. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  378. <td class="sig">
  379. <a id="Ext.Panel-footer"></a>
  380. <b>footer</b> : Boolean <div class="mdesc">
  381. <div class="short">True to create the footer element explicitly, false to skip creating it. By default, when footer is not specified, if...</div>
  382. <div class="long">
  383. True to create the footer element explicitly, false to skip creating it. By default, when footer is not specified, if one or more buttons have been added to the panel the footer will be created automatically, otherwise it will not. </div>
  384. </div>
  385. </td>
  386. <td class="msource">Panel</td>
  387. </tr>
  388. <tr class="config-row">
  389. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  390. <td class="sig">
  391. <a id="Ext.Panel-frame"></a>
  392. <b>frame</b> : Boolean <div class="mdesc">
  393. True to render the panel with custom rounded borders, false to render with plain 1px square borders (defaults to false). </div>
  394. </td>
  395. <td class="msource">Panel</td>
  396. </tr>
  397. <tr class="config-row alt expandable">
  398. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  399. <td class="sig">
  400. <a id="Ext.Panel-header"></a>
  401. <b>header</b> : Boolean <div class="mdesc">
  402. <div class="short">True to create the header element explicitly, false to skip creating it. By default, when header is not specified, if...</div>
  403. <div class="long">
  404. True to create the header element explicitly, false to skip creating it. By default, when header is not specified, if a <a ext:cls="Ext.Panel" ext:member="title" href="output/Ext.Panel.html#title">title</a> is set the header will be created automatically, otherwise it will not. If a title is set but header is explicitly set to false, the header will not be rendered. </div>
  405. </div>
  406. </td>
  407. <td class="msource">Panel</td>
  408. </tr>
  409. <tr class="config-row">
  410. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  411. <td class="sig">
  412. <a id="Ext.Panel-headerAsText"></a>
  413. <b>headerAsText</b> : Boolean <div class="mdesc">
  414. True to display the panel title in the header, false to hide it (defaults to true). </div>
  415. </td>
  416. <td class="msource">Panel</td>
  417. </tr>
  418. <tr class="config-row inherited alt">
  419. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  420. <td class="sig">
  421. <a id="Ext.Panel-height"></a>
  422. <b>height</b> : Number <div class="mdesc">
  423. The height of this component in pixels (defaults to auto). </div>
  424. </td>
  425. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#height" href="output/Ext.BoxComponent.html#height">BoxComponent</a></td>
  426. </tr>
  427. <tr class="config-row inherited expandable">
  428. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  429. <td class="sig">
  430. <a id="Ext.Panel-hideBorders"></a>
  431. <b>hideBorders</b> : Boolean <div class="mdesc">
  432. <div class="short">True to hide the borders of each contained component, false to defer to the component's existing border settings (def...</div>
  433. <div class="long">
  434. True to hide the borders of each contained component, false to defer to the component's existing border settings (defaults to false). </div>
  435. </div>
  436. </td>
  437. <td class="msource"><a ext:cls="Ext.Container" ext:member="#hideBorders" href="output/Ext.Container.html#hideBorders">Container</a></td>
  438. </tr>
  439. <tr class="config-row alt">
  440. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  441. <td class="sig">
  442. <a id="Ext.Panel-hideCollapseTool"></a>
  443. <b>hideCollapseTool</b> : Boolean <div class="mdesc">
  444. True to hide the expand/collapse toggle button when <a ext:cls="Ext.Panel" ext:member="collapsible" href="output/Ext.Panel.html#collapsible">collapsible</a> = true, false to display it (defaults to false). </div>
  445. </td>
  446. <td class="msource">Panel</td>
  447. </tr>
  448. <tr class="config-row inherited expandable">
  449. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  450. <td class="sig">
  451. <a id="Ext.Panel-hideMode"></a>
  452. <b>hideMode</b> : String <div class="mdesc">
  453. <div class="short">How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset posi...</div>
  454. <div class="long">
  455. How this component should hidden. Supported values are "visibility" (css visibility), "offsets" (negative offset position) and "display" (css display) - defaults to "display". </div>
  456. </div>
  457. </td>
  458. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideMode" href="output/Ext.Component.html#hideMode">Component</a></td>
  459. </tr>
  460. <tr class="config-row inherited alt expandable">
  461. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  462. <td class="sig">
  463. <a id="Ext.Panel-hideParent"></a>
  464. <b>hideParent</b> : Boolean <div class="mdesc">
  465. <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>
  466. <div class="long">
  467. 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>
  468. </div>
  469. </td>
  470. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hideParent" href="output/Ext.Component.html#hideParent">Component</a></td>
  471. </tr>
  472. <tr class="config-row">
  473. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  474. <td class="sig">
  475. <a id="Ext.Panel-html"></a>
  476. <b>html</b> : String/Object <div class="mdesc">
  477. An HTML fragment, or a <a ext:cls="Ext.DomHelper" href="output/Ext.DomHelper.html">DomHelper</a> specification to use as the panel's body content (defaults to ''). </div>
  478. </td>
  479. <td class="msource">Panel</td>
  480. </tr>
  481. <tr class="config-row alt">
  482. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  483. <td class="sig">
  484. <a id="Ext.Panel-iconCls"></a>
  485. <b>iconCls</b> : String <div class="mdesc">
  486. A CSS class that will provide a background image to be used as the panel header icon (defaults to ''). </div>
  487. </td>
  488. <td class="msource">Panel</td>
  489. </tr>
  490. <tr class="config-row inherited">
  491. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  492. <td class="sig">
  493. <a id="Ext.Panel-id"></a>
  494. <b>id</b> : String <div class="mdesc">
  495. The unique id of this component (defaults to an auto-assigned id). </div>
  496. </td>
  497. <td class="msource"><a ext:cls="Ext.Component" ext:member="#id" href="output/Ext.Component.html#id">Component</a></td>
  498. </tr>
  499. <tr class="config-row inherited alt expandable">
  500. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  501. <td class="sig">
  502. <a id="Ext.Panel-items"></a>
  503. <b>items</b> : Mixed <div class="mdesc">
  504. <div class="short">A single item, or an array of child Components to be added to this container. Each item can be any type of object bas...</div>
  505. <div class="long">
  506. A single item, or an array of child Components to be added to this container. Each item can be any type of object based on <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>.<br><br> Component config objects may also be specified in order to avoid the overhead of constructing a real Component object if lazy rendering might mean that the added Component will not be rendered immediately. To take advantage of this "lazy instantiation", set the <a ext:cls="Ext.Component" ext:member="xtype" href="output/Ext.Component.html#xtype">Ext.Component.xtype</a> config property to the registered type of the Component wanted.<br><br> For a list of all available xtypes, see <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>. If a single item is being passed, it should be passed directly as an object reference (e.g., items: {...}). Multiple items should be passed as an array of objects (e.g., items: [{...}, {...}]). </div>
  507. </div>
  508. </td>
  509. <td class="msource"><a ext:cls="Ext.Container" ext:member="#items" href="output/Ext.Container.html#items">Container</a></td>
  510. </tr>
  511. <tr class="config-row expandable">
  512. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  513. <td class="sig">
  514. <a id="Ext.Panel-keys"></a>
  515. <b>keys</b> : Object/Array <div class="mdesc">
  516. <div class="short">A KeyMap config object (in the format expected by Ext.KeyMap.addBinding used to assign custom key handling to this pa...</div>
  517. <div class="long">
  518. A KeyMap config object (in the format expected by <a ext:cls="Ext.KeyMap" ext:member="addBinding" href="output/Ext.KeyMap.html#addBinding">Ext.KeyMap.addBinding</a> used to assign custom key handling to this panel (defaults to null). </div>
  519. </div>
  520. </td>
  521. <td class="msource">Panel</td>
  522. </tr>
  523. <tr class="config-row inherited alt expandable">
  524. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  525. <td class="sig">
  526. <a id="Ext.Panel-layout"></a>
  527. <b>layout</b> : String <div class="mdesc">
  528. <div class="short">The layout type to be used in this container. If not specified, a default Ext.layout.ContainerLayout will be created ...</div>
  529. <div class="long">
  530. The layout type to be used in this container. If not specified, a default <a ext:cls="Ext.layout.ContainerLayout" href="output/Ext.layout.ContainerLayout.html">Ext.layout.ContainerLayout</a> will be created and used. Valid values are: accordion, anchor, border, card, column, fit, form and table. Specific config values for the chosen layout type can be specified using <a ext:cls="Ext.Container" ext:member="layoutConfig" href="output/Ext.Container.html#layoutConfig">layoutConfig</a>. </div>
  531. </div>
  532. </td>
  533. <td class="msource"><a ext:cls="Ext.Container" ext:member="#layout" href="output/Ext.Container.html#layout">Container</a></td>
  534. </tr>
  535. <tr class="config-row inherited expandable">
  536. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  537. <td class="sig">
  538. <a id="Ext.Panel-layoutConfig"></a>
  539. <b>layoutConfig</b> : Object <div class="mdesc">
  540. <div class="short">This is a config object containing properties specific to the chosen layout (to be used in conjunction with the layou...</div>
  541. <div class="long">
  542. This is a config object containing properties specific to the chosen layout (to be used in conjunction with the <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> config value). For complete details regarding the valid config options for each layout type, see the layout class corresponding to the type specified:<ul class="mdetail-params"> <li><a ext:cls="Ext.layout.Accordion" href="output/Ext.layout.Accordion.html">Ext.layout.Accordion</a></li> <li><a ext:cls="Ext.layout.AnchorLayout" href="output/Ext.layout.AnchorLayout.html">Ext.layout.AnchorLayout</a></li> <li><a ext:cls="Ext.layout.BorderLayout" href="output/Ext.layout.BorderLayout.html">Ext.layout.BorderLayout</a></li> <li><a ext:cls="Ext.layout.CardLayout" href="output/Ext.layout.CardLayout.html">Ext.layout.CardLayout</a></li> <li><a ext:cls="Ext.layout.ColumnLayout" href="output/Ext.layout.ColumnLayout.html">Ext.layout.ColumnLayout</a></li> <li><a ext:cls="Ext.layout.FitLayout" href="output/Ext.layout.FitLayout.html">Ext.layout.FitLayout</a></li> <li><a ext:cls="Ext.layout.FormLayout" href="output/Ext.layout.FormLayout.html">Ext.layout.FormLayout</a></li> <li><a ext:cls="Ext.layout.TableLayout" href="output/Ext.layout.TableLayout.html">Ext.layout.TableLayout</a></li></ul> </div>
  543. </div>
  544. </td>
  545. <td class="msource"><a ext:cls="Ext.Container" ext:member="#layoutConfig" href="output/Ext.Container.html#layoutConfig">Container</a></td>
  546. </tr>
  547. <tr class="config-row inherited alt expandable">
  548. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  549. <td class="sig">
  550. <a id="Ext.Panel-listeners"></a>
  551. <b>listeners</b> : Object <div class="mdesc">
  552. <div class="short">A config object containing one or more event handlers to be added to this object during initialization. This should b...</div>
  553. <div class="long">
  554. 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>
  555. </div>
  556. </td>
  557. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#listeners" href="output/Ext.util.Observable.html#listeners">Observable</a></td>
  558. </tr>
  559. <tr class="config-row expandable">
  560. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  561. <td class="sig">
  562. <a id="Ext.Panel-maskDisabled"></a>
  563. <b>maskDisabled</b> : Boolean <div class="mdesc">
  564. <div class="short">True to mask the panel when it is disabled, false to not mask it (defaults to true). Either way, the panel will alway...</div>
  565. <div class="long">
  566. True to mask the panel when it is disabled, false to not mask it (defaults to true). Either way, the panel will always tell its contained elements to disable themselves when it is disabled, but masking the panel can provide an additional visual cue that the panel is disabled. </div>
  567. </div>
  568. </td>
  569. <td class="msource">Panel</td>
  570. </tr>
  571. <tr class="config-row alt">
  572. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  573. <td class="sig">
  574. <a id="Ext.Panel-minButtonWidth"></a>
  575. <b>minButtonWidth</b> : Number <div class="mdesc">
  576. Minimum width in pixels of all buttons in this panel (defaults to 75) </div>
  577. </td>
  578. <td class="msource">Panel</td>
  579. </tr>
  580. <tr class="config-row inherited expandable">
  581. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  582. <td class="sig">
  583. <a id="Ext.Panel-monitorResize"></a>
  584. <b>monitorResize</b> : Boolean <div class="mdesc">
  585. <div class="short">True to automatically monitor window resize events to handle anything that is sensitive to the current size of the vi...</div>
  586. <div class="long">
  587. True to automatically monitor window resize events to handle anything that is sensitive to the current size of the viewport. This value is typically managed by the chosen <a ext:cls="Ext.Container" ext:member="layout" href="output/Ext.Container.html#layout">layout</a> and should not need to be set manually. </div>
  588. </div>
  589. </td>
  590. <td class="msource"><a ext:cls="Ext.Container" ext:member="#monitorResize" href="output/Ext.Container.html#monitorResize">Container</a></td>
  591. </tr>
  592. <tr class="config-row inherited alt expandable">
  593. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  594. <td class="sig">
  595. <a id="Ext.Panel-plugins"></a>
  596. <b>plugins</b> : Object/Array <div class="mdesc">
  597. <div class="short">An object or array of objects that will provide custom functionality for this component. The only requirement for a v...</div>
  598. <div class="long">
  599. 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>
  600. </div>
  601. </td>
  602. <td class="msource"><a ext:cls="Ext.Component" ext:member="#plugins" href="output/Ext.Component.html#plugins">Component</a></td>
  603. </tr>
  604. <tr class="config-row inherited expandable">
  605. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  606. <td class="sig">
  607. <a id="Ext.Panel-renderTo"></a>
  608. <b>renderTo</b> : Mixed <div class="mdesc">
  609. <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>
  610. <div class="long">
  611. 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>
  612. </div>
  613. </td>
  614. <td class="msource"><a ext:cls="Ext.Component" ext:member="#renderTo" href="output/Ext.Component.html#renderTo">Component</a></td>
  615. </tr>
  616. <tr class="config-row alt expandable">
  617. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  618. <td class="sig">
  619. <a id="Ext.Panel-shadow"></a>
  620. <b>shadow</b> : Boolean/String <div class="mdesc">
  621. <div class="short">True (or a valid Ext.Shadow Ext.Shadow.mode value) to display a shadow behind the panel, false to display no shadow (...</div>
  622. <div class="long">
  623. True (or a valid Ext.Shadow <a ext:cls="Ext.Shadow" ext:member="mode" href="output/Ext.Shadow.html#mode">Ext.Shadow.mode</a> value) to display a shadow behind the panel, false to display no shadow (defaults to 'sides'). Note that this option only applies when floating = true. </div>
  624. </div>
  625. </td>
  626. <td class="msource">Panel</td>
  627. </tr>
  628. <tr class="config-row expandable">
  629. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  630. <td class="sig">
  631. <a id="Ext.Panel-shadowOffset"></a>
  632. <b>shadowOffset</b> : Number <div class="mdesc">
  633. <div class="short">The number of pixels to offset the shadow if displayed (defaults to 4). Note that this option only applies when float...</div>
  634. <div class="long">
  635. The number of pixels to offset the shadow if displayed (defaults to 4). Note that this option only applies when floating = true. </div>
  636. </div>
  637. </td>
  638. <td class="msource">Panel</td>
  639. </tr>
  640. <tr class="config-row alt expandable">
  641. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  642. <td class="sig">
  643. <a id="Ext.Panel-shim"></a>
  644. <b>shim</b> : Boolean <div class="mdesc">
  645. <div class="short">False to disable the iframe shim in browsers which need one (defaults to true). Note that this option only applies wh...</div>
  646. <div class="long">
  647. False to disable the iframe shim in browsers which need one (defaults to true). Note that this option only applies when floating = true. </div>
  648. </div>
  649. </td>
  650. <td class="msource">Panel</td>
  651. </tr>
  652. <tr class="config-row inherited expandable">
  653. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  654. <td class="sig">
  655. <a id="Ext.Panel-stateEvents"></a>
  656. <b>stateEvents</b> : Array <div class="mdesc">
  657. <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>
  658. <div class="long">
  659. 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>
  660. </div>
  661. </td>
  662. <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateEvents" href="output/Ext.Component.html#stateEvents">Component</a></td>
  663. </tr>
  664. <tr class="config-row inherited alt">
  665. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  666. <td class="sig">
  667. <a id="Ext.Panel-stateId"></a>
  668. <b>stateId</b> : String <div class="mdesc">
  669. The unique id for this component to use for state management purposes (defaults to the component id). </div>
  670. </td>
  671. <td class="msource"><a ext:cls="Ext.Component" ext:member="#stateId" href="output/Ext.Component.html#stateId">Component</a></td>
  672. </tr>
  673. <tr class="config-row inherited expandable">
  674. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  675. <td class="sig">
  676. <a id="Ext.Panel-style"></a>
  677. <b>style</b> : String <div class="mdesc">
  678. <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>
  679. <div class="long">
  680. 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>
  681. </div>
  682. </td>
  683. <td class="msource"><a ext:cls="Ext.Component" ext:member="#style" href="output/Ext.Component.html#style">Component</a></td>
  684. </tr>
  685. <tr class="config-row alt expandable">
  686. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  687. <td class="sig">
  688. <a id="Ext.Panel-tbar"></a>
  689. <b>tbar</b> : Object/Array <div class="mdesc">
  690. <div class="short">The top toolbar of the panel. This can be either an Ext.Toolbar object or an array of buttons/button configs to be ad...</div>
  691. <div class="long">
  692. The top toolbar of the panel. This can be either an <a ext:cls="Ext.Toolbar" href="output/Ext.Toolbar.html">Ext.Toolbar</a> object or an array of buttons/button configs to be added to the toolbar. Note that this is not available as a property after render. To access the top toolbar after render, use <a ext:cls="Ext.Panel" ext:member="getTopToolbar" href="output/Ext.Panel.html#getTopToolbar">getTopToolbar</a>. </div>
  693. </div>
  694. </td>
  695. <td class="msource">Panel</td>
  696. </tr>
  697. <tr class="config-row expandable">
  698. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  699. <td class="sig">
  700. <a id="Ext.Panel-title"></a>
  701. <b>title</b> : String <div class="mdesc">
  702. <div class="short">The title text to display in the panel header (defaults to ''). When a title is specified the header element will aut...</div>
  703. <div class="long">
  704. The title text to display in the panel header (defaults to ''). When a title is specified the header element will automatically be created and displayed unless <a ext:cls="Ext.Panel" ext:member="header" href="output/Ext.Panel.html#header">header</a> is explicitly set to false. If you don't want to specify a title at config time, but you may want one later, you must either specify a non-empty title (a blank space ' ' will do) or header:true so that the container element will get created. </div>
  705. </div>
  706. </td>
  707. <td class="msource">Panel</td>
  708. </tr>
  709. <tr class="config-row alt expandable">
  710. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  711. <td class="sig">
  712. <a id="Ext.Panel-titleCollapse"></a>
  713. <b>titleCollapse</b> : Boolean <div class="mdesc">
  714. <div class="short">True to allow expanding and collapsing the panel (when collapsible = true) by clicking anywhere in the header bar, fa...</div>
  715. <div class="long">
  716. True to allow expanding and collapsing the panel (when <a ext:cls="Ext.Panel" ext:member="collapsible" href="output/Ext.Panel.html#collapsible">collapsible</a> = true) by clicking anywhere in the header bar, false to allow it only by clicking to tool button (defaults to false). </div>
  717. </div>
  718. </td>
  719. <td class="msource">Panel</td>
  720. </tr>
  721. <tr class="config-row expandable">
  722. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  723. <td class="sig">
  724. <a id="Ext.Panel-tools"></a>
  725. <b>tools</b> : Array <div class="mdesc">
  726. <div class="short">An array of tool button configs to be added to the header tool area. Each tool config may contain the following prope...</div>
  727. <div class="long">
  728. An array of tool button configs to be added to the header tool area. Each tool config may contain the following properties: <div class="mdetail-params"><ul> <li><b>id</b> : String<p class="sub-desc"><b>Required.</b> The type of tool to create. Values may be<ul> <li><tt>toggle</tt> (Created by default when <a ext:cls="Ext.Panel" ext:member="collapsible" href="output/Ext.Panel.html#collapsible">collapsible</a> is <tt>true</tt>)</li> <li><tt>close</tt></li> <li><tt>minimize</tt></li> <li><tt>maximize</tt></li> <li><tt>restore</tt></li> <li><tt>gear</tt></li> <li><tt>pin</tt></li> <li><tt>unpin</tt></li> <li><tt>right</tt></li> <li><tt>left</tt></li> <li><tt>up</tt></li> <li><tt>down</tt></li> <li><tt>refresh</tt></li> <li><tt>minus</tt></li> <li><tt>plus</tt></li> <li><tt>help</tt></li> <li><tt>search</tt></li> <li><tt>save</tt></li> </ul></div></p></li> <li><b>handler</b> : Function<p class="sub-desc"><b>Required.</b> The function to call when clicked. Arguments passed are:<ul> <li><b>event</b> : Ext.EventObject<p class="sub-desc">The click event.</p></li> <li><b>toolEl</b> : Ext.Element<p class="sub-desc">The tool Element.</p></li> <li><b>Panel</b> : Ext.Panel<p class="sub-desc">The host Panel</p></li> </ul></p></li> <li><b>scope</b> : Object<p class="sub-desc">The scope in which to call the handler.</p></li> <li><b>qtip</b> : String/Object<p class="sub-desc">A tip string, or a config argument to <a ext:cls="Ext.QuickTip" ext:member="register" href="output/Ext.QuickTip.html#register">Ext.QuickTip.register</a></p></li> <li><b>hidden</b> : Boolean<p class="sub-desc">True to initially render hidden.</p></li> <li><b>on</b> : Object<p class="sub-desc">A listener config object specifiying event listeners in the format of an argument to <a ext:cls="Ext.Panel" ext:member="addListener" href="output/Ext.Panel.html#addListener">addListener</a></p></li> </ul> Example usage: <pre><code>tools:[{
  729. id:<em>'refresh'</em>,
  730. <i>// hidden:true,</i>
  731. handler: <b>function</b>(event, toolEl, panel){
  732. <i>// refresh logic</i>
  733. }
  734. }]</code></pre> Note that apart from the toggle tool which is provided when a panel is collapsible, these tools only provide the visual button. Any required functionality must be provided by adding handlers that implement the necessary behavior. </div>
  735. </div>
  736. </td>
  737. <td class="msource">Panel</td>
  738. </tr>
  739. <tr class="config-row inherited alt">
  740. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  741. <td class="sig">
  742. <a id="Ext.Panel-width"></a>
  743. <b>width</b> : Number <div class="mdesc">
  744. The width of this component in pixels (defaults to auto). </div>
  745. </td>
  746. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#width" href="output/Ext.BoxComponent.html#width">BoxComponent</a></td>
  747. </tr>
  748. <tr class="config-row inherited expandable">
  749. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  750. <td class="sig">
  751. <a id="Ext.Panel-xtype"></a>
  752. <b>xtype</b> : String <div class="mdesc">
  753. <div class="short">The registered xtype to create. This config option is not used when passing a config object into a constructor. This ...</div>
  754. <div class="long">
  755. 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>
  756. </div>
  757. </td>
  758. <td class="msource"><a ext:cls="Ext.Component" ext:member="#xtype" href="output/Ext.Component.html#xtype">Component</a></td>
  759. </tr>
  760. </table>
  761. <a id="Ext.Panel-props"></a>
  762. <h2>Public Properties</h2>
  763. <table cellspacing="0" class="member-table">
  764. <tr>
  765. <th class="sig-header" colspan="2">Property</th>
  766. <th class="msource-header">Defined By</th>
  767. </tr>
  768. <tr class="property-row expandable">
  769. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  770. <td class="sig">
  771. <a id="Ext.Panel-body"></a>
  772. <b>body</b> : Ext.Element <div class="mdesc">
  773. <div class="short">
  774. The Panel's body Element which may be used to contain HTML content.
  775. The content may be specified in the html config,...</div>
  776. <div class="long">
  777. The Panel's body <a ext:cls="Ext.Element" href="output/Ext.Element.html">Element</a> which may be used to contain HTML content.
  778. The content may be specified in the <a ext:cls="Ext.Panel" ext:member="html" href="output/Ext.Panel.html#html">html</a> config, or it may be loaded using the
  779. <a ext:cls="autoLoad" href="output/autoLoad.html">autoLoad</a> config, or through the Panel's <a ext:cls="Ext.Panel" ext:member="getUpdater" href="output/Ext.Panel.html#getUpdater">Updater</a>. Read-only.
  780. <p>If this is used to load visible HTML elements in either way, then
  781. the Panel may not be used as a Layout for hosting nested Panels.</p>
  782. <p>If this Panel is intended to be used as the host of a Layout (See <a ext:cls="Ext.Panel" ext:member="layout" href="output/Ext.Panel.html#layout">layout</a>
  783. then the body Element must not be loaded or changed - it is under the control
  784. of the Panel's Layout. </div>
  785. </div>
  786. </td>
  787. <td class="msource">Panel</td>
  788. </tr>
  789. <tr class="property-row alt">
  790. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  791. <td class="sig">
  792. <a id="Ext.Panel-buttons"></a>
  793. <b>buttons</b> : Array <div class="mdesc">
  794. This Panel's Array of buttons as created from the <tt>buttons</tt>
  795. config property. Read only. </div>
  796. </td>
  797. <td class="msource">Panel</td>
  798. </tr>
  799. <tr class="property-row inherited">
  800. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  801. <td class="sig">
  802. <a id="Ext.Panel-disabled"></a>
  803. <b>disabled</b> : Boolean <div class="mdesc">
  804. True if this component is disabled. Read-only. </div>
  805. </td>
  806. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disabled" href="output/Ext.Component.html#disabled">Component</a></td>
  807. </tr>
  808. <tr class="property-row alt">
  809. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  810. <td class="sig">
  811. <a id="Ext.Panel-footer"></a>
  812. <b>footer</b> : Ext.Element <div class="mdesc">
  813. The Panel's footer <a ext:cls="Ext.Element" href="output/Ext.Element.html">Element</a>. Read-only.
  814. <p>This Element is used to house the Panel's <a ext:cls="Ext.Panel" ext:member="buttons" href="output/Ext.Panel.html#buttons">buttons</a>.</p> </div>
  815. </td>
  816. <td class="msource">Panel</td>
  817. </tr>
  818. <tr class="property-row">
  819. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  820. <td class="sig">
  821. <a id="Ext.Panel-header"></a>
  822. <b>header</b> : Ext.Element <div class="mdesc">
  823. The Panel's header <a ext:cls="Ext.Element" href="output/Ext.Element.html">Element</a>. Read-only.
  824. <p>This Element is used to house the <a ext:cls="Ext.Panel" ext:member="title" href="output/Ext.Panel.html#title">title</a> and <a ext:cls="Ext.Panel" ext:member="tools" href="output/Ext.Panel.html#tools">tools</a></p> </div>
  825. </td>
  826. <td class="msource">Panel</td>
  827. </tr>
  828. <tr class="property-row inherited alt">
  829. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  830. <td class="sig">
  831. <a id="Ext.Panel-hidden"></a>
  832. <b>hidden</b> : Boolean <div class="mdesc">
  833. True if this component is hidden. Read-only. </div>
  834. </td>
  835. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hidden" href="output/Ext.Component.html#hidden">Component</a></td>
  836. </tr>
  837. <tr class="property-row inherited">
  838. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  839. <td class="sig">
  840. <a id="Ext.Panel-initialConfig"></a>
  841. <b>initialConfig</b> : Object <div class="mdesc">
  842. This Component's initial configuration specification. Read-only. </div>
  843. </td>
  844. <td class="msource"><a ext:cls="Ext.Component" ext:member="#initialConfig" href="output/Ext.Component.html#initialConfig">Component</a></td>
  845. </tr>
  846. <tr class="property-row inherited alt">
  847. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  848. <td class="sig">
  849. <a id="Ext.Panel-items"></a>
  850. <b>items</b> : MixedCollection <div class="mdesc">
  851. The collection of components in this container as a <a ext:cls="Ext.util.MixedCollection" href="output/Ext.util.MixedCollection.html">Ext.util.MixedCollection</a> </div>
  852. </td>
  853. <td class="msource"><a ext:cls="Ext.Container" ext:member="#items" href="output/Ext.Container.html#items">Container</a></td>
  854. </tr>
  855. <tr class="property-row inherited expandable">
  856. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  857. <td class="sig">
  858. <a id="Ext.Panel-ownerCt"></a>
  859. <b>ownerCt</b> : Ext.Container <div class="mdesc">
  860. <div class="short">The component's owner Ext.Container (defaults to undefined, and is set automatically when
  861. the component is added to a...</div>
  862. <div class="long">
  863. 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
  864. the component is added to a container). Read-only. </div>
  865. </div>
  866. </td>
  867. <td class="msource"><a ext:cls="Ext.Component" ext:member="#ownerCt" href="output/Ext.Component.html#ownerCt">Component</a></td>
  868. </tr>
  869. <tr class="property-row inherited alt">
  870. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  871. <td class="sig">
  872. <a id="Ext.Panel-rendered"></a>
  873. <b>rendered</b> : Boolean <div class="mdesc">
  874. True if this component has been rendered. Read-only. </div>
  875. </td>
  876. <td class="msource"><a ext:cls="Ext.Component" ext:member="#rendered" href="output/Ext.Component.html#rendered">Component</a></td>
  877. </tr>
  878. </table>
  879. <a id="Ext.Panel-methods"></a>
  880. <h2>Public Methods</h2>
  881. <table cellspacing="0" class="member-table">
  882. <tr>
  883. <th class="sig-header" colspan="2">Method</th>
  884. <th class="msource-header">Defined By</th>
  885. </tr>
  886. <tr class="method-row expandable">
  887. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  888. <td class="sig">
  889. <a id="Ext.Panel-Panel"></a>
  890. <b>Panel</b>(&nbsp;<code>Object config</code>&nbsp;) <div class="mdesc">
  891. <div class="short"></div>
  892. <div class="long">
  893. <div class="mdetail-params">
  894. <strong>Parameters:</strong>
  895. <ul><li><code>config</code> : Object<div class="sub-desc">The config object</div></li> </ul>
  896. <strong>Returns:</strong>
  897. <ul>
  898. <li><code></code></li>
  899. </ul>
  900. </div>
  901. </div>
  902. </div>
  903. </td>
  904. <td class="msource">Panel</td>
  905. </tr>
  906. <tr class="method-row inherited alt expandable">
  907. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  908. <td class="sig">
  909. <a id="Ext.Panel-add"></a>
  910. <b>add</b>(&nbsp;<code>Ext.Component/Object component</code>&nbsp;) : Ext.Component <div class="mdesc">
  911. <div class="short">Adds a Component to this Container. Fires the beforeadd event before adding,
  912. then fires the add event after the compo...</div>
  913. <div class="long">
  914. Adds a Component to this Container. Fires the beforeadd event before adding,
  915. then fires the add event after the component has been added. <div class="mdetail-params">
  916. <strong>Parameters:</strong>
  917. <ul><li><code>component</code> : Ext.Component/Object<div class="sub-desc">The component to add.<br><br>
  918. Ext uses lazy rendering, and will only render the added Component should
  919. it become necessary.<br><br>
  920. A Component config object may be passed in order to avoid the overhead of
  921. constructing a real Component object if lazy rendering might mean that the
  922. added Component will not be rendered immediately. To take advantage of this
  923. "lazy instantiation", set the <a ext:cls="Ext.Component" ext:member="xtype" href="output/Ext.Component.html#xtype">Ext.Component.xtype</a> config property to
  924. the registered type of the Component wanted.<br><br>
  925. For a list of all available xtypes, see <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>.</div></li> </ul>
  926. <strong>Returns:</strong>
  927. <ul>
  928. <li><code>Ext.Component</code><div class="sub-desc">component The Component (or config object) that was added with the Container's default config values applied.</div></li>
  929. </ul>
  930. </div>
  931. </div>
  932. </div>
  933. </td>
  934. <td class="msource"><a ext:cls="Ext.Container" ext:member="#add" href="output/Ext.Container.html#add">Container</a></td>
  935. </tr>
  936. <tr class="method-row expandable">
  937. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  938. <td class="sig">
  939. <a id="Ext.Panel-addButton"></a>
  940. <b>addButton</b>(&nbsp;<code>String/Object config</code>, <code>Function handler</code>, <code>Object scope</code>&nbsp;) : Ext.Button <div class="mdesc">
  941. <div class="short">Adds a button to this panel. Note that this method must be called prior to rendering. The preferred
  942. approach is to ...</div>
  943. <div class="long">
  944. Adds a button to this panel. Note that this method must be called prior to rendering. The preferred
  945. approach is to add buttons via the <a ext:cls="Ext.Panel" ext:member="buttons" href="output/Ext.Panel.html#buttons">buttons</a> config. <div class="mdetail-params">
  946. <strong>Parameters:</strong>
  947. <ul><li><code>config</code> : String/Object<div class="sub-desc">A valid <a ext:cls="Ext.Button" href="output/Ext.Button.html">Ext.Button</a> config. A string will become the text for a default
  948. button config, an object will be treated as a button config object.</div></li><li><code>handler</code> : Function<div class="sub-desc">The function to be called on button <a ext:cls="Ext.Button" ext:member="click" href="output/Ext.Button.html#click">Ext.Button.click</a></div></li><li><code>scope</code> : Object<div class="sub-desc">The scope to use for the button handler function</div></li> </ul>
  949. <strong>Returns:</strong>
  950. <ul>
  951. <li><code>Ext.Button</code><div class="sub-desc">The button that was added</div></li>
  952. </ul>
  953. </div>
  954. </div>
  955. </div>
  956. </td>
  957. <td class="msource">Panel</td>
  958. </tr>
  959. <tr class="method-row inherited alt expandable">
  960. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  961. <td class="sig">
  962. <a id="Ext.Panel-addClass"></a>
  963. <b>addClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void <div class="mdesc">
  964. <div class="short">Adds a CSS class to the component's underlying element.</div>
  965. <div class="long">
  966. Adds a CSS class to the component's underlying element. <div class="mdetail-params">
  967. <strong>Parameters:</strong>
  968. <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to add</div></li> </ul>
  969. <strong>Returns:</strong>
  970. <ul>
  971. <li><code>void</code></li>
  972. </ul>
  973. </div>
  974. </div>
  975. </div>
  976. </td>
  977. <td class="msource"><a ext:cls="Ext.Component" ext:member="#addClass" href="output/Ext.Component.html#addClass">Component</a></td>
  978. </tr>
  979. <tr class="method-row inherited expandable">
  980. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  981. <td class="sig">
  982. <a id="Ext.Panel-addEvents"></a>
  983. <b>addEvents</b>(&nbsp;<code>Object object</code>&nbsp;) : void <div class="mdesc">
  984. <div class="short">Used to define events on this Observable</div>
  985. <div class="long">
  986. Used to define events on this Observable <div class="mdetail-params">
  987. <strong>Parameters:</strong>
  988. <ul><li><code>object</code> : Object<div class="sub-desc">The object with the events defined</div></li> </ul>
  989. <strong>Returns:</strong>
  990. <ul>
  991. <li><code>void</code></li>
  992. </ul>
  993. </div>
  994. </div>
  995. </div>
  996. </td>
  997. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addEvents" href="output/Ext.util.Observable.html#addEvents">Observable</a></td>
  998. </tr>
  999. <tr class="method-row inherited alt expandable">
  1000. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1001. <td class="sig">
  1002. <a id="Ext.Panel-addListener"></a>
  1003. <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">
  1004. <div class="short">Appends an event handler to this component</div>
  1005. <div class="long">
  1006. Appends an event handler to this component <div class="mdetail-params">
  1007. <strong>Parameters:</strong>
  1008. <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
  1009. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional) An object containing handler configuration
  1010. properties. This may contain any of the following properties:<ul>
  1011. <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>
  1012. <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>
  1013. <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>
  1014. <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
  1015. by the specified number of milliseconds. If the event fires again within that time, the original
  1016. handler is <em>not</em> invoked, but the new handler is scheduled in its place.</li>
  1017. </ul><br>
  1018. <p>
  1019. <b>Combining Options</b><br>
  1020. Using the options argument, it is possible to combine different types of listeners:<br>
  1021. <br>
  1022. A normalized, delayed, one-time listener that auto stops the event and passes a custom argument (forumId)
  1023. <pre><code>el.on(<em>'click'</em>, <b>this</b>.onClick, <b>this</b>, {
  1024. single: true,
  1025. delay: 100,
  1026. forumId: 4
  1027. });</code></pre>
  1028. <p>
  1029. <b>Attaching multiple handlers in 1 call</b><br>
  1030. The method also allows for a single argument to be passed which is a config object containing properties
  1031. which specify multiple handlers.
  1032. <p>
  1033. <pre><code>foo.on({
  1034. <em>'click'</em> : {
  1035. fn: <b>this</b>.onClick,
  1036. scope: <b>this</b>,
  1037. delay: 100
  1038. },
  1039. <em>'mouseover'</em> : {
  1040. fn: <b>this</b>.onMouseOver,
  1041. scope: <b>this</b>
  1042. },
  1043. <em>'mouseout'</em> : {
  1044. fn: <b>this</b>.onMouseOut,
  1045. scope: <b>this</b>
  1046. }
  1047. });</code></pre>
  1048. <p>
  1049. Or a shorthand syntax:<br>
  1050. <pre><code>foo.on({
  1051. <em>'click'</em> : <b>this</b>.onClick,
  1052. <em>'mouseover'</em> : <b>this</b>.onMouseOver,
  1053. <em>'mouseout'</em> : <b>this</b>.onMouseOut,
  1054. scope: <b>this</b>
  1055. });</code></pre></div></li> </ul>
  1056. <strong>Returns:</strong>
  1057. <ul>
  1058. <li><code>void</code></li>
  1059. </ul>
  1060. </div>
  1061. </div>
  1062. </div>
  1063. </td>
  1064. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#addListener" href="output/Ext.util.Observable.html#addListener">Observable</a></td>
  1065. </tr>
  1066. <tr class="method-row inherited expandable">
  1067. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1068. <td class="sig">
  1069. <a id="Ext.Panel-applyToMarkup"></a>
  1070. <b>applyToMarkup</b>(&nbsp;<code>String/HTMLElement el</code>&nbsp;) : void <div class="mdesc">
  1071. <div class="short">Apply this component to existing markup that is valid. With this function, no call to render() is required.</div>
  1072. <div class="long">
  1073. Apply this component to existing markup that is valid. With this function, no call to render() is required. <div class="mdetail-params">
  1074. <strong>Parameters:</strong>
  1075. <ul><li><code>el</code> : String/HTMLElement<div class="sub-desc"></div></li> </ul>
  1076. <strong>Returns:</strong>
  1077. <ul>
  1078. <li><code>void</code></li>
  1079. </ul>
  1080. </div>
  1081. </div>
  1082. </div>
  1083. </td>
  1084. <td class="msource"><a ext:cls="Ext.Component" ext:member="#applyToMarkup" href="output/Ext.Component.html#applyToMarkup">Component</a></td>
  1085. </tr>
  1086. <tr class="method-row inherited alt expandable">
  1087. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1088. <td class="sig">
  1089. <a id="Ext.Panel-bubble"></a>
  1090. <b>bubble</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span>&nbsp;) : void <div class="mdesc">
  1091. <div class="short">Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (this) of...</div>
  1092. <div class="long">
  1093. Bubbles up the component/container heirarchy, calling the specified function with each component. The scope (<i>this</i>) of
  1094. function call will be the scope provided or the current component. The arguments to the function
  1095. will be the args provided or the current component. If the function returns false at any point,
  1096. the bubble is stopped. <div class="mdetail-params">
  1097. <strong>Parameters:</strong>
  1098. <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current node)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (default to passing the current component)</div></li> </ul>
  1099. <strong>Returns:</strong>
  1100. <ul>
  1101. <li><code>void</code></li>
  1102. </ul>
  1103. </div>
  1104. </div>
  1105. </div>
  1106. </td>
  1107. <td class="msource"><a ext:cls="Ext.Container" ext:member="#bubble" href="output/Ext.Container.html#bubble">Container</a></td>
  1108. </tr>
  1109. <tr class="method-row inherited expandable">
  1110. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1111. <td class="sig">
  1112. <a id="Ext.Panel-cascade"></a>
  1113. <b>cascade</b>(&nbsp;<code>Function fn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>, <span class="optional" title="Optional">[<code>Array args</code>]</span>&nbsp;) : void <div class="mdesc">
  1114. <div class="short">Cascades down the component/container heirarchy from this component (called first), calling the specified function wi...</div>
  1115. <div class="long">
  1116. Cascades down the component/container heirarchy from this component (called first), calling the specified function with
  1117. each component. The scope (<i>this</i>) of
  1118. function call will be the scope provided or the current component. The arguments to the function
  1119. will be the args provided or the current component. If the function returns false at any point,
  1120. the cascade is stopped on that branch. <div class="mdetail-params">
  1121. <strong>Parameters:</strong>
  1122. <ul><li><code>fn</code> : Function<div class="sub-desc">The function to call</div></li><li><code>scope</code> : Object<div class="sub-desc">(optional) The scope of the function (defaults to current component)</div></li><li><code>args</code> : Array<div class="sub-desc">(optional) The args to call the function with (defaults to passing the current component)</div></li> </ul>
  1123. <strong>Returns:</strong>
  1124. <ul>
  1125. <li><code>void</code></li>
  1126. </ul>
  1127. </div>
  1128. </div>
  1129. </div>
  1130. </td>
  1131. <td class="msource"><a ext:cls="Ext.Container" ext:member="#cascade" href="output/Ext.Container.html#cascade">Container</a></td>
  1132. </tr>
  1133. <tr class="method-row inherited alt expandable">
  1134. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1135. <td class="sig">
  1136. <a id="Ext.Panel-cloneConfig"></a>
  1137. <b>cloneConfig</b>(&nbsp;<code>Object overrides</code>&nbsp;) : Ext.Component <div class="mdesc">
  1138. <div class="short">Clone the current component using the original config values passed into this instance by default.</div>
  1139. <div class="long">
  1140. Clone the current component using the original config values passed into this instance by default. <div class="mdetail-params">
  1141. <strong>Parameters:</strong>
  1142. <ul><li><code>overrides</code> : Object<div class="sub-desc">A new config containing any properties to override in the cloned version.
  1143. An id property can be passed on this object, otherwise one will be generated to avoid duplicates.</div></li> </ul>
  1144. <strong>Returns:</strong>
  1145. <ul>
  1146. <li><code>Ext.Component</code><div class="sub-desc">clone The cloned copy of this component</div></li>
  1147. </ul>
  1148. </div>
  1149. </div>
  1150. </div>
  1151. </td>
  1152. <td class="msource"><a ext:cls="Ext.Component" ext:member="#cloneConfig" href="output/Ext.Component.html#cloneConfig">Component</a></td>
  1153. </tr>
  1154. <tr class="method-row expandable">
  1155. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1156. <td class="sig">
  1157. <a id="Ext.Panel-collapse"></a>
  1158. <b>collapse</b>(&nbsp;<code>Boolean animate</code>&nbsp;) : Ext.Panel <div class="mdesc">
  1159. <div class="short">Collapses the panel body so that it becomes hidden. Fires the beforecollapse event which will
  1160. cancel the collapse ac...</div>
  1161. <div class="long">
  1162. Collapses the panel body so that it becomes hidden. Fires the <a ext:cls="Ext.Panel" ext:member="beforecollapse" href="output/Ext.Panel.html#beforecollapse">beforecollapse</a> event which will
  1163. cancel the collapse action if it returns false. <div class="mdetail-params">
  1164. <strong>Parameters:</strong>
  1165. <ul><li><code>animate</code> : Boolean<div class="sub-desc">True to animate the transition, else false (defaults to the value of the
  1166. <a ext:cls="Ext.Panel" ext:member="animCollapse" href="output/Ext.Panel.html#animCollapse">animCollapse</a> panel config)</div></li> </ul>
  1167. <strong>Returns:</strong>
  1168. <ul>
  1169. <li><code>Ext.Panel</code><div class="sub-desc">this</div></li>
  1170. </ul>
  1171. </div>
  1172. </div>
  1173. </div>
  1174. </td>
  1175. <td class="msource">Panel</td>
  1176. </tr>
  1177. <tr class="method-row inherited alt expandable">
  1178. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1179. <td class="sig">
  1180. <a id="Ext.Panel-destroy"></a>
  1181. <b>destroy</b>() : void <div class="mdesc">
  1182. <div class="short">Destroys this component by purging any event listeners, removing the component's element from the DOM,
  1183. removing the c...</div>
  1184. <div class="long">
  1185. Destroys this component by purging any event listeners, removing the component's element from the DOM,
  1186. removing the component from its <a ext:cls="Ext.Container" href="output/Ext.Container.html">Ext.Container</a> (if applicable) and unregistering it from
  1187. <a ext:cls="Ext.ComponentMgr" href="output/Ext.ComponentMgr.html">Ext.ComponentMgr</a>. Destruction is generally handled automatically by the framework and this method
  1188. should usually not need to be called directly. <div class="mdetail-params">
  1189. <strong>Parameters:</strong>
  1190. <ul><li>None.</li> </ul>
  1191. <strong>Returns:</strong>
  1192. <ul>
  1193. <li><code>void</code></li>
  1194. </ul>
  1195. </div>
  1196. </div>
  1197. </div>
  1198. </td>
  1199. <td class="msource"><a ext:cls="Ext.Component" ext:member="#destroy" href="output/Ext.Component.html#destroy">Component</a></td>
  1200. </tr>
  1201. <tr class="method-row inherited expandable">
  1202. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1203. <td class="sig">
  1204. <a id="Ext.Panel-disable"></a>
  1205. <b>disable</b>() : Ext.Component <div class="mdesc">
  1206. <div class="short">Disable this component.</div>
  1207. <div class="long">
  1208. Disable this component. <div class="mdetail-params">
  1209. <strong>Parameters:</strong>
  1210. <ul><li>None.</li> </ul>
  1211. <strong>Returns:</strong>
  1212. <ul>
  1213. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1214. </ul>
  1215. </div>
  1216. </div>
  1217. </div>
  1218. </td>
  1219. <td class="msource"><a ext:cls="Ext.Component" ext:member="#disable" href="output/Ext.Component.html#disable">Component</a></td>
  1220. </tr>
  1221. <tr class="method-row inherited alt expandable">
  1222. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1223. <td class="sig">
  1224. <a id="Ext.Panel-doLayout"></a>
  1225. <b>doLayout</b>() : void <div class="mdesc">
  1226. <div class="short">Force this container's layout to be recalculated. A call to this function is required after adding a new component
  1227. to...</div>
  1228. <div class="long">
  1229. Force this container's layout to be recalculated. A call to this function is required after adding a new component
  1230. to an already rendered container. If you are not dynamically adding and removing components after render, this
  1231. function will generally not need to be called. <div class="mdetail-params">
  1232. <strong>Parameters:</strong>
  1233. <ul><li>None.</li> </ul>
  1234. <strong>Returns:</strong>
  1235. <ul>
  1236. <li><code>void</code></li>
  1237. </ul>
  1238. </div>
  1239. </div>
  1240. </div>
  1241. </td>
  1242. <td class="msource"><a ext:cls="Ext.Container" ext:member="#doLayout" href="output/Ext.Container.html#doLayout">Container</a></td>
  1243. </tr>
  1244. <tr class="method-row inherited expandable">
  1245. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1246. <td class="sig">
  1247. <a id="Ext.Panel-enable"></a>
  1248. <b>enable</b>() : Ext.Component <div class="mdesc">
  1249. <div class="short">Enable this component.</div>
  1250. <div class="long">
  1251. Enable this component. <div class="mdetail-params">
  1252. <strong>Parameters:</strong>
  1253. <ul><li>None.</li> </ul>
  1254. <strong>Returns:</strong>
  1255. <ul>
  1256. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1257. </ul>
  1258. </div>
  1259. </div>
  1260. </div>
  1261. </td>
  1262. <td class="msource"><a ext:cls="Ext.Component" ext:member="#enable" href="output/Ext.Component.html#enable">Component</a></td>
  1263. </tr>
  1264. <tr class="method-row alt expandable">
  1265. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1266. <td class="sig">
  1267. <a id="Ext.Panel-expand"></a>
  1268. <b>expand</b>(&nbsp;<code>Boolean animate</code>&nbsp;) : Ext.Panel <div class="mdesc">
  1269. <div class="short">Expands the panel body so that it becomes visible. Fires the beforeexpand event which will
  1270. cancel the expand action ...</div>
  1271. <div class="long">
  1272. Expands the panel body so that it becomes visible. Fires the <a ext:cls="Ext.Panel" ext:member="beforeexpand" href="output/Ext.Panel.html#beforeexpand">beforeexpand</a> event which will
  1273. cancel the expand action if it returns false. <div class="mdetail-params">
  1274. <strong>Parameters:</strong>
  1275. <ul><li><code>animate</code> : Boolean<div class="sub-desc">True to animate the transition, else false (defaults to the value of the
  1276. <a ext:cls="Ext.Panel" ext:member="animCollapse" href="output/Ext.Panel.html#animCollapse">animCollapse</a> panel config)</div></li> </ul>
  1277. <strong>Returns:</strong>
  1278. <ul>
  1279. <li><code>Ext.Panel</code><div class="sub-desc">this</div></li>
  1280. </ul>
  1281. </div>
  1282. </div>
  1283. </div>
  1284. </td>
  1285. <td class="msource">Panel</td>
  1286. </tr>
  1287. <tr class="method-row inherited expandable">
  1288. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1289. <td class="sig">
  1290. <a id="Ext.Panel-find"></a>
  1291. <b>find</b>(&nbsp;<code>String prop</code>, <code>String value</code>&nbsp;) : Array <div class="mdesc">
  1292. <div class="short">Find a component under this container at any level by property</div>
  1293. <div class="long">
  1294. Find a component under this container at any level by property <div class="mdetail-params">
  1295. <strong>Parameters:</strong>
  1296. <ul><li><code>prop</code> : String<div class="sub-desc"></div></li><li><code>value</code> : String<div class="sub-desc"></div></li> </ul>
  1297. <strong>Returns:</strong>
  1298. <ul>
  1299. <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
  1300. </ul>
  1301. </div>
  1302. </div>
  1303. </div>
  1304. </td>
  1305. <td class="msource"><a ext:cls="Ext.Container" ext:member="#find" href="output/Ext.Container.html#find">Container</a></td>
  1306. </tr>
  1307. <tr class="method-row inherited alt expandable">
  1308. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1309. <td class="sig">
  1310. <a id="Ext.Panel-findBy"></a>
  1311. <b>findBy</b>(&nbsp;<code>Function fcn</code>, <span class="optional" title="Optional">[<code>Object scope</code>]</span>&nbsp;) : Array <div class="mdesc">
  1312. <div class="short">Find a component under this container at any level by a custom function. If the passed function returns
  1313. true, the com...</div>
  1314. <div class="long">
  1315. Find a component under this container at any level by a custom function. If the passed function returns
  1316. true, the component will be included in the results. The passed function is called with the arguments (component, this container). <div class="mdetail-params">
  1317. <strong>Parameters:</strong>
  1318. <ul><li><code>fcn</code> : Function<div class="sub-desc"></div></li><li><code>scope</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
  1319. <strong>Returns:</strong>
  1320. <ul>
  1321. <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
  1322. </ul>
  1323. </div>
  1324. </div>
  1325. </div>
  1326. </td>
  1327. <td class="msource"><a ext:cls="Ext.Container" ext:member="#findBy" href="output/Ext.Container.html#findBy">Container</a></td>
  1328. </tr>
  1329. <tr class="method-row inherited expandable">
  1330. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1331. <td class="sig">
  1332. <a id="Ext.Panel-findById"></a>
  1333. <b>findById</b>(&nbsp;<code>String id</code>&nbsp;) : Ext.Component <div class="mdesc">
  1334. <div class="short">Find a component under this container at any level by id</div>
  1335. <div class="long">
  1336. Find a component under this container at any level by id <div class="mdetail-params">
  1337. <strong>Parameters:</strong>
  1338. <ul><li><code>id</code> : String<div class="sub-desc"></div></li> </ul>
  1339. <strong>Returns:</strong>
  1340. <ul>
  1341. <li><code>Ext.Component</code></li>
  1342. </ul>
  1343. </div>
  1344. </div>
  1345. </div>
  1346. </td>
  1347. <td class="msource"><a ext:cls="Ext.Container" ext:member="#findById" href="output/Ext.Container.html#findById">Container</a></td>
  1348. </tr>
  1349. <tr class="method-row inherited alt expandable">
  1350. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1351. <td class="sig">
  1352. <a id="Ext.Panel-findByType"></a>
  1353. <b>findByType</b>(&nbsp;<code>String/Class xtype</code>&nbsp;) : Array <div class="mdesc">
  1354. <div class="short">Find a component under this container at any level by xtype or class</div>
  1355. <div class="long">
  1356. Find a component under this container at any level by xtype or class <div class="mdetail-params">
  1357. <strong>Parameters:</strong>
  1358. <ul><li><code>xtype</code> : String/Class<div class="sub-desc">The xtype string for a component, or the class of the component directly</div></li> </ul>
  1359. <strong>Returns:</strong>
  1360. <ul>
  1361. <li><code>Array</code><div class="sub-desc">Array of Ext.Components</div></li>
  1362. </ul>
  1363. </div>
  1364. </div>
  1365. </div>
  1366. </td>
  1367. <td class="msource"><a ext:cls="Ext.Container" ext:member="#findByType" href="output/Ext.Container.html#findByType">Container</a></td>
  1368. </tr>
  1369. <tr class="method-row inherited expandable">
  1370. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1371. <td class="sig">
  1372. <a id="Ext.Panel-fireEvent"></a>
  1373. <b>fireEvent</b>(&nbsp;<code>String eventName</code>, <code>Object... args</code>&nbsp;) : Boolean <div class="mdesc">
  1374. <div class="short">Fires the specified event with the passed parameters (minus the event name).</div>
  1375. <div class="long">
  1376. Fires the specified event with the passed parameters (minus the event name). <div class="mdetail-params">
  1377. <strong>Parameters:</strong>
  1378. <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>
  1379. <strong>Returns:</strong>
  1380. <ul>
  1381. <li><code>Boolean</code><div class="sub-desc">returns false if any of the handlers return false otherwise it returns true</div></li>
  1382. </ul>
  1383. </div>
  1384. </div>
  1385. </div>
  1386. </td>
  1387. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#fireEvent" href="output/Ext.util.Observable.html#fireEvent">Observable</a></td>
  1388. </tr>
  1389. <tr class="method-row inherited alt expandable">
  1390. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1391. <td class="sig">
  1392. <a id="Ext.Panel-focus"></a>
  1393. <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">
  1394. <div class="short">Try to focus this component.</div>
  1395. <div class="long">
  1396. Try to focus this component. <div class="mdetail-params">
  1397. <strong>Parameters:</strong>
  1398. <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>
  1399. <strong>Returns:</strong>
  1400. <ul>
  1401. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1402. </ul>
  1403. </div>
  1404. </div>
  1405. </div>
  1406. </td>
  1407. <td class="msource"><a ext:cls="Ext.Component" ext:member="#focus" href="output/Ext.Component.html#focus">Component</a></td>
  1408. </tr>
  1409. <tr class="method-row expandable">
  1410. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1411. <td class="sig">
  1412. <a id="Ext.Panel-getBottomToolbar"></a>
  1413. <b>getBottomToolbar</b>() : Ext.Toolbar <div class="mdesc">
  1414. <div class="short">Returns the toolbar from the bottom (bbar) section of the panel.</div>
  1415. <div class="long">
  1416. Returns the toolbar from the bottom (bbar) section of the panel. <div class="mdetail-params">
  1417. <strong>Parameters:</strong>
  1418. <ul><li>None.</li> </ul>
  1419. <strong>Returns:</strong>
  1420. <ul>
  1421. <li><code>Ext.Toolbar</code><div class="sub-desc">The toolbar</div></li>
  1422. </ul>
  1423. </div>
  1424. </div>
  1425. </div>
  1426. </td>
  1427. <td class="msource">Panel</td>
  1428. </tr>
  1429. <tr class="method-row inherited alt expandable">
  1430. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1431. <td class="sig">
  1432. <a id="Ext.Panel-getBox"></a>
  1433. <b>getBox</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Object <div class="mdesc">
  1434. <div class="short">Gets the current box measurements of the component's underlying element.</div>
  1435. <div class="long">
  1436. Gets the current box measurements of the component's underlying element. <div class="mdetail-params">
  1437. <strong>Parameters:</strong>
  1438. <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>
  1439. <strong>Returns:</strong>
  1440. <ul>
  1441. <li><code>Object</code><div class="sub-desc">box An object in the format {x, y, width, height}</div></li>
  1442. </ul>
  1443. </div>
  1444. </div>
  1445. </div>
  1446. </td>
  1447. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getBox" href="output/Ext.BoxComponent.html#getBox">BoxComponent</a></td>
  1448. </tr>
  1449. <tr class="method-row inherited expandable">
  1450. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1451. <td class="sig">
  1452. <a id="Ext.Panel-getComponent"></a>
  1453. <b>getComponent</b>(&nbsp;<code>String/Number id</code>&nbsp;) : Ext.Component <div class="mdesc">
  1454. <div class="short">Gets a direct child Component by id, or by index.</div>
  1455. <div class="long">
  1456. Gets a direct child Component by id, or by index. <div class="mdetail-params">
  1457. <strong>Parameters:</strong>
  1458. <ul><li><code>id</code> : String/Number<div class="sub-desc">or index of child Component to return.</div></li> </ul>
  1459. <strong>Returns:</strong>
  1460. <ul>
  1461. <li><code>Ext.Component</code></li>
  1462. </ul>
  1463. </div>
  1464. </div>
  1465. </div>
  1466. </td>
  1467. <td class="msource"><a ext:cls="Ext.Container" ext:member="#getComponent" href="output/Ext.Container.html#getComponent">Container</a></td>
  1468. </tr>
  1469. <tr class="method-row inherited alt expandable">
  1470. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1471. <td class="sig">
  1472. <a id="Ext.Panel-getEl"></a>
  1473. <b>getEl</b>() : Ext.Element <div class="mdesc">
  1474. <div class="short">Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>.</div>
  1475. <div class="long">
  1476. Returns the underlying <a ext:cls="Ext.Element" href="output/Ext.Element.html">Ext.Element</a>. <div class="mdetail-params">
  1477. <strong>Parameters:</strong>
  1478. <ul><li>None.</li> </ul>
  1479. <strong>Returns:</strong>
  1480. <ul>
  1481. <li><code>Ext.Element</code><div class="sub-desc">The element</div></li>
  1482. </ul>
  1483. </div>
  1484. </div>
  1485. </div>
  1486. </td>
  1487. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getEl" href="output/Ext.Component.html#getEl">Component</a></td>
  1488. </tr>
  1489. <tr class="method-row expandable">
  1490. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1491. <td class="sig">
  1492. <a id="Ext.Panel-getFrameHeight"></a>
  1493. <b>getFrameHeight</b>() : Number <div class="mdesc">
  1494. <div class="short">Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
  1495. header and ...</div>
  1496. <div class="long">
  1497. Returns the height in pixels of the framing elements of this panel (including any top and bottom bars and
  1498. header and footer elements, but not including the body height). To retrieve the body height see <a ext:cls="Ext.Panel" ext:member="getInnerHeight" href="output/Ext.Panel.html#getInnerHeight">getInnerHeight</a>. <div class="mdetail-params">
  1499. <strong>Parameters:</strong>
  1500. <ul><li>None.</li> </ul>
  1501. <strong>Returns:</strong>
  1502. <ul>
  1503. <li><code>Number</code><div class="sub-desc">The frame height</div></li>
  1504. </ul>
  1505. </div>
  1506. </div>
  1507. </div>
  1508. </td>
  1509. <td class="msource">Panel</td>
  1510. </tr>
  1511. <tr class="method-row alt expandable">
  1512. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1513. <td class="sig">
  1514. <a id="Ext.Panel-getFrameWidth"></a>
  1515. <b>getFrameWidth</b>() : Number <div class="mdesc">
  1516. <div class="short">Returns the width in pixels of the framing elements of this panel (not including the body width). To
  1517. retrieve the bo...</div>
  1518. <div class="long">
  1519. Returns the width in pixels of the framing elements of this panel (not including the body width). To
  1520. retrieve the body width see <a ext:cls="Ext.Panel" ext:member="getInnerWidth" href="output/Ext.Panel.html#getInnerWidth">getInnerWidth</a>. <div class="mdetail-params">
  1521. <strong>Parameters:</strong>
  1522. <ul><li>None.</li> </ul>
  1523. <strong>Returns:</strong>
  1524. <ul>
  1525. <li><code>Number</code><div class="sub-desc">The frame width</div></li>
  1526. </ul>
  1527. </div>
  1528. </div>
  1529. </div>
  1530. </td>
  1531. <td class="msource">Panel</td>
  1532. </tr>
  1533. <tr class="method-row inherited expandable">
  1534. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1535. <td class="sig">
  1536. <a id="Ext.Panel-getId"></a>
  1537. <b>getId</b>() : String <div class="mdesc">
  1538. <div class="short">Returns the id of this component.</div>
  1539. <div class="long">
  1540. Returns the id of this component. <div class="mdetail-params">
  1541. <strong>Parameters:</strong>
  1542. <ul><li>None.</li> </ul>
  1543. <strong>Returns:</strong>
  1544. <ul>
  1545. <li><code>String</code></li>
  1546. </ul>
  1547. </div>
  1548. </div>
  1549. </div>
  1550. </td>
  1551. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getId" href="output/Ext.Component.html#getId">Component</a></td>
  1552. </tr>
  1553. <tr class="method-row alt expandable">
  1554. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1555. <td class="sig">
  1556. <a id="Ext.Panel-getInnerHeight"></a>
  1557. <b>getInnerHeight</b>() : Number <div class="mdesc">
  1558. <div class="short">Returns the height in pixels of the body element (not including the height of any framing elements).
  1559. For the frame he...</div>
  1560. <div class="long">
  1561. Returns the height in pixels of the body element (not including the height of any framing elements).
  1562. For the frame height see <a ext:cls="Ext.Panel" ext:member="getFrameHeight" href="output/Ext.Panel.html#getFrameHeight">getFrameHeight</a>. <div class="mdetail-params">
  1563. <strong>Parameters:</strong>
  1564. <ul><li>None.</li> </ul>
  1565. <strong>Returns:</strong>
  1566. <ul>
  1567. <li><code>Number</code><div class="sub-desc">The body height</div></li>
  1568. </ul>
  1569. </div>
  1570. </div>
  1571. </div>
  1572. </td>
  1573. <td class="msource">Panel</td>
  1574. </tr>
  1575. <tr class="method-row expandable">
  1576. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1577. <td class="sig">
  1578. <a id="Ext.Panel-getInnerWidth"></a>
  1579. <b>getInnerWidth</b>() : Number <div class="mdesc">
  1580. <div class="short">Returns the width in pixels of the body element (not including the width of any framing elements).
  1581. For the frame widt...</div>
  1582. <div class="long">
  1583. Returns the width in pixels of the body element (not including the width of any framing elements).
  1584. For the frame width see <a ext:cls="Ext.Panel" ext:member="getFrameWidth" href="output/Ext.Panel.html#getFrameWidth">getFrameWidth</a>. <div class="mdetail-params">
  1585. <strong>Parameters:</strong>
  1586. <ul><li>None.</li> </ul>
  1587. <strong>Returns:</strong>
  1588. <ul>
  1589. <li><code>Number</code><div class="sub-desc">The body width</div></li>
  1590. </ul>
  1591. </div>
  1592. </div>
  1593. </div>
  1594. </td>
  1595. <td class="msource">Panel</td>
  1596. </tr>
  1597. <tr class="method-row inherited alt expandable">
  1598. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1599. <td class="sig">
  1600. <a id="Ext.Panel-getItemId"></a>
  1601. <b>getItemId</b>() : String <div class="mdesc">
  1602. <div class="short">Returns the item id of this component.</div>
  1603. <div class="long">
  1604. Returns the item id of this component. <div class="mdetail-params">
  1605. <strong>Parameters:</strong>
  1606. <ul><li>None.</li> </ul>
  1607. <strong>Returns:</strong>
  1608. <ul>
  1609. <li><code>String</code></li>
  1610. </ul>
  1611. </div>
  1612. </div>
  1613. </div>
  1614. </td>
  1615. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getItemId" href="output/Ext.Component.html#getItemId">Component</a></td>
  1616. </tr>
  1617. <tr class="method-row inherited expandable">
  1618. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1619. <td class="sig">
  1620. <a id="Ext.Panel-getLayout"></a>
  1621. <b>getLayout</b>() : ContainerLayout <div class="mdesc">
  1622. <div class="short">Returns the layout currently in use by the container. If the container does not currently have a layout
  1623. set, a defau...</div>
  1624. <div class="long">
  1625. Returns the layout currently in use by the container. If the container does not currently have a layout
  1626. set, a default <a ext:cls="Ext.layout.ContainerLayout" href="output/Ext.layout.ContainerLayout.html">Ext.layout.ContainerLayout</a> will be created and set as the container's layout. <div class="mdetail-params">
  1627. <strong>Parameters:</strong>
  1628. <ul><li>None.</li> </ul>
  1629. <strong>Returns:</strong>
  1630. <ul>
  1631. <li><code>ContainerLayout</code><div class="sub-desc">layout The container's layout</div></li>
  1632. </ul>
  1633. </div>
  1634. </div>
  1635. </div>
  1636. </td>
  1637. <td class="msource"><a ext:cls="Ext.Container" ext:member="#getLayout" href="output/Ext.Container.html#getLayout">Container</a></td>
  1638. </tr>
  1639. <tr class="method-row inherited alt expandable">
  1640. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1641. <td class="sig">
  1642. <a id="Ext.Panel-getPosition"></a>
  1643. <b>getPosition</b>(&nbsp;<span class="optional" title="Optional">[<code>Boolean local</code>]</span>&nbsp;) : Array <div class="mdesc">
  1644. <div class="short">Gets the current XY position of the component's underlying element.</div>
  1645. <div class="long">
  1646. Gets the current XY position of the component's underlying element. <div class="mdetail-params">
  1647. <strong>Parameters:</strong>
  1648. <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>
  1649. <strong>Returns:</strong>
  1650. <ul>
  1651. <li><code>Array</code><div class="sub-desc">The XY position of the element (e.g., [100, 200])</div></li>
  1652. </ul>
  1653. </div>
  1654. </div>
  1655. </div>
  1656. </td>
  1657. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getPosition" href="output/Ext.BoxComponent.html#getPosition">BoxComponent</a></td>
  1658. </tr>
  1659. <tr class="method-row inherited expandable">
  1660. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1661. <td class="sig">
  1662. <a id="Ext.Panel-getSize"></a>
  1663. <b>getSize</b>() : Object <div class="mdesc">
  1664. <div class="short">Gets the current size of the component's underlying element.</div>
  1665. <div class="long">
  1666. Gets the current size of the component's underlying element. <div class="mdetail-params">
  1667. <strong>Parameters:</strong>
  1668. <ul><li>None.</li> </ul>
  1669. <strong>Returns:</strong>
  1670. <ul>
  1671. <li><code>Object</code><div class="sub-desc">An object containing the element's size {width: (element width), height: (element height)}</div></li>
  1672. </ul>
  1673. </div>
  1674. </div>
  1675. </div>
  1676. </td>
  1677. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#getSize" href="output/Ext.BoxComponent.html#getSize">BoxComponent</a></td>
  1678. </tr>
  1679. <tr class="method-row alt expandable">
  1680. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1681. <td class="sig">
  1682. <a id="Ext.Panel-getTopToolbar"></a>
  1683. <b>getTopToolbar</b>() : Ext.Toolbar <div class="mdesc">
  1684. <div class="short">Returns the toolbar from the top (tbar) section of the panel.</div>
  1685. <div class="long">
  1686. Returns the toolbar from the top (tbar) section of the panel. <div class="mdetail-params">
  1687. <strong>Parameters:</strong>
  1688. <ul><li>None.</li> </ul>
  1689. <strong>Returns:</strong>
  1690. <ul>
  1691. <li><code>Ext.Toolbar</code><div class="sub-desc">The toolbar</div></li>
  1692. </ul>
  1693. </div>
  1694. </div>
  1695. </div>
  1696. </td>
  1697. <td class="msource">Panel</td>
  1698. </tr>
  1699. <tr class="method-row expandable">
  1700. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1701. <td class="sig">
  1702. <a id="Ext.Panel-getUpdater"></a>
  1703. <b>getUpdater</b>() : Ext.Updater <div class="mdesc">
  1704. <div class="short">Get the <a ext:cls="Ext.Updater" href="output/Ext.Updater.html">Ext.Updater</a> for this panel. Enables you to perform Ajax updates of this panel's body.</div>
  1705. <div class="long">
  1706. Get the <a ext:cls="Ext.Updater" href="output/Ext.Updater.html">Ext.Updater</a> for this panel. Enables you to perform Ajax updates of this panel's body. <div class="mdetail-params">
  1707. <strong>Parameters:</strong>
  1708. <ul><li>None.</li> </ul>
  1709. <strong>Returns:</strong>
  1710. <ul>
  1711. <li><code>Ext.Updater</code><div class="sub-desc">The Updater</div></li>
  1712. </ul>
  1713. </div>
  1714. </div>
  1715. </div>
  1716. </td>
  1717. <td class="msource">Panel</td>
  1718. </tr>
  1719. <tr class="method-row inherited alt expandable">
  1720. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1721. <td class="sig">
  1722. <a id="Ext.Panel-getXType"></a>
  1723. <b>getXType</b>() : String <div class="mdesc">
  1724. <div class="short">Gets the xtype for this component as registered with Ext.ComponentMgr. For a list of all
  1725. available xtypes, see the Ex...</div>
  1726. <div class="long">
  1727. 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
  1728. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1729. <pre><code>var t = <b>new</b> Ext.form.TextField();
  1730. alert(t.getXType()); // alerts <em>'textfield'</em></code></pre> <div class="mdetail-params">
  1731. <strong>Parameters:</strong>
  1732. <ul><li>None.</li> </ul>
  1733. <strong>Returns:</strong>
  1734. <ul>
  1735. <li><code>String</code><div class="sub-desc">The xtype</div></li>
  1736. </ul>
  1737. </div>
  1738. </div>
  1739. </div>
  1740. </td>
  1741. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXType" href="output/Ext.Component.html#getXType">Component</a></td>
  1742. </tr>
  1743. <tr class="method-row inherited expandable">
  1744. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1745. <td class="sig">
  1746. <a id="Ext.Panel-getXTypes"></a>
  1747. <b>getXTypes</b>() : String <div class="mdesc">
  1748. <div class="short">Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
  1749. available xtypes, see the Ext...</div>
  1750. <div class="long">
  1751. Returns this component's xtype hierarchy as a slash-delimited string. For a list of all
  1752. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1753. <pre><code>
  1754. var t = new Ext.form.TextField();
  1755. alert(t.getXTypes()); // alerts 'component/box/field/textfield'</pre></code> <div class="mdetail-params">
  1756. <strong>Parameters:</strong>
  1757. <ul><li>None.</li> </ul>
  1758. <strong>Returns:</strong>
  1759. <ul>
  1760. <li><code>String</code><div class="sub-desc">The xtype hierarchy string</div></li>
  1761. </ul>
  1762. </div>
  1763. </div>
  1764. </div>
  1765. </td>
  1766. <td class="msource"><a ext:cls="Ext.Component" ext:member="#getXTypes" href="output/Ext.Component.html#getXTypes">Component</a></td>
  1767. </tr>
  1768. <tr class="method-row inherited alt expandable">
  1769. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1770. <td class="sig">
  1771. <a id="Ext.Panel-hasListener"></a>
  1772. <b>hasListener</b>(&nbsp;<code>String eventName</code>&nbsp;) : Boolean <div class="mdesc">
  1773. <div class="short">Checks to see if this object has any listeners for a specified event</div>
  1774. <div class="long">
  1775. Checks to see if this object has any listeners for a specified event <div class="mdetail-params">
  1776. <strong>Parameters:</strong>
  1777. <ul><li><code>eventName</code> : String<div class="sub-desc">The name of the event to check for</div></li> </ul>
  1778. <strong>Returns:</strong>
  1779. <ul>
  1780. <li><code>Boolean</code><div class="sub-desc">True if the event is being listened for, else false</div></li>
  1781. </ul>
  1782. </div>
  1783. </div>
  1784. </div>
  1785. </td>
  1786. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#hasListener" href="output/Ext.util.Observable.html#hasListener">Observable</a></td>
  1787. </tr>
  1788. <tr class="method-row inherited expandable">
  1789. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1790. <td class="sig">
  1791. <a id="Ext.Panel-hide"></a>
  1792. <b>hide</b>() : Ext.Component <div class="mdesc">
  1793. <div class="short">Hide this component.</div>
  1794. <div class="long">
  1795. Hide this component. <div class="mdetail-params">
  1796. <strong>Parameters:</strong>
  1797. <ul><li>None.</li> </ul>
  1798. <strong>Returns:</strong>
  1799. <ul>
  1800. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  1801. </ul>
  1802. </div>
  1803. </div>
  1804. </div>
  1805. </td>
  1806. <td class="msource"><a ext:cls="Ext.Component" ext:member="#hide" href="output/Ext.Component.html#hide">Component</a></td>
  1807. </tr>
  1808. <tr class="method-row inherited alt expandable">
  1809. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1810. <td class="sig">
  1811. <a id="Ext.Panel-initComponent"></a>
  1812. <b>initComponent</b>() : void <div class="mdesc">
  1813. <div class="short"></div>
  1814. <div class="long">
  1815. <div class="mdetail-params">
  1816. <strong>Parameters:</strong>
  1817. <ul><li>None.</li> </ul>
  1818. <strong>Returns:</strong>
  1819. <ul>
  1820. <li><code>void</code></li>
  1821. </ul>
  1822. </div>
  1823. </div>
  1824. </div>
  1825. </td>
  1826. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#initComponent" href="output/Ext.BoxComponent.html#initComponent">BoxComponent</a></td>
  1827. </tr>
  1828. <tr class="method-row inherited expandable">
  1829. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1830. <td class="sig">
  1831. <a id="Ext.Panel-insert"></a>
  1832. <b>insert</b>(&nbsp;<code>Number index</code>, <code>Ext.Component component</code>&nbsp;) : Ext.Component <div class="mdesc">
  1833. <div class="short">Inserts a Component into this Container at a specified index. Fires the
  1834. beforeadd event before inserting, then fires ...</div>
  1835. <div class="long">
  1836. Inserts a Component into this Container at a specified index. Fires the
  1837. beforeadd event before inserting, then fires the add event after the
  1838. Component has been inserted. <div class="mdetail-params">
  1839. <strong>Parameters:</strong>
  1840. <ul><li><code>index</code> : Number<div class="sub-desc">The index at which the Component will be inserted
  1841. into the Container's items collection</div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The child Component to insert.<br><br>
  1842. Ext uses lazy rendering, and will only render the inserted Component should
  1843. it become necessary.<br><br>
  1844. A Component config object may be passed in order to avoid the overhead of
  1845. constructing a real Component object if lazy rendering might mean that the
  1846. inserted Component will not be rendered immediately. To take advantage of
  1847. this "lazy instantiation", set the <a ext:cls="Ext.Component" ext:member="xtype" href="output/Ext.Component.html#xtype">Ext.Component.xtype</a> config
  1848. property to the registered type of the Component wanted.<br><br>
  1849. For a list of all available xtypes, see <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a>.</div></li> </ul>
  1850. <strong>Returns:</strong>
  1851. <ul>
  1852. <li><code>Ext.Component</code><div class="sub-desc">component The Component (or config object) that was inserted with the Container's default config values applied.</div></li>
  1853. </ul>
  1854. </div>
  1855. </div>
  1856. </div>
  1857. </td>
  1858. <td class="msource"><a ext:cls="Ext.Container" ext:member="#insert" href="output/Ext.Container.html#insert">Container</a></td>
  1859. </tr>
  1860. <tr class="method-row inherited alt expandable">
  1861. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1862. <td class="sig">
  1863. <a id="Ext.Panel-isVisible"></a>
  1864. <b>isVisible</b>() : void <div class="mdesc">
  1865. <div class="short">Returns true if this component is visible.</div>
  1866. <div class="long">
  1867. Returns true if this component is visible. <div class="mdetail-params">
  1868. <strong>Parameters:</strong>
  1869. <ul><li>None.</li> </ul>
  1870. <strong>Returns:</strong>
  1871. <ul>
  1872. <li><code>void</code></li>
  1873. </ul>
  1874. </div>
  1875. </div>
  1876. </div>
  1877. </td>
  1878. <td class="msource"><a ext:cls="Ext.Component" ext:member="#isVisible" href="output/Ext.Component.html#isVisible">Component</a></td>
  1879. </tr>
  1880. <tr class="method-row inherited expandable">
  1881. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1882. <td class="sig">
  1883. <a id="Ext.Panel-isXType"></a>
  1884. <b>isXType</b>(&nbsp;<code>String xtype</code>, <span class="optional" title="Optional">[<code>Boolean shallow</code>]</span>&nbsp;) : void <div class="mdesc">
  1885. <div class="short">Tests whether or not this component is of a specific xtype. This can test whether this component is descended
  1886. from th...</div>
  1887. <div class="long">
  1888. Tests whether or not this component is of a specific xtype. This can test whether this component is descended
  1889. from the xtype (default) or whether it is directly of the xtype specified (shallow = true). For a list of all
  1890. available xtypes, see the <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> header. Example usage:
  1891. <pre><code>var t = <b>new</b> Ext.form.TextField();
  1892. <b>var</b> isText = t.isXType(<em>'textfield'</em>); <i>// true</i>
  1893. <b>var</b> isBoxSubclass = t.isXType(<em>'box'</em>); <i>// true, descended from BoxComponent</i>
  1894. <b>var</b> isBoxInstance = t.isXType(<em>'box'</em>, true); // false, not a direct BoxComponent instance</code></pre> <div class="mdetail-params">
  1895. <strong>Parameters:</strong>
  1896. <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
  1897. the default), or true to check whether this component is directly of the specified xtype.</div></li> </ul>
  1898. <strong>Returns:</strong>
  1899. <ul>
  1900. <li><code>void</code></li>
  1901. </ul>
  1902. </div>
  1903. </div>
  1904. </div>
  1905. </td>
  1906. <td class="msource"><a ext:cls="Ext.Component" ext:member="#isXType" href="output/Ext.Component.html#isXType">Component</a></td>
  1907. </tr>
  1908. <tr class="method-row alt expandable">
  1909. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1910. <td class="sig">
  1911. <a id="Ext.Panel-load"></a>
  1912. <b>load</b>(&nbsp;<code>Object/String/Function config</code>&nbsp;) : Ext.Panel <div class="mdesc">
  1913. <div class="short">Loads this content panel immediately with content returned from an XHR call.</div>
  1914. <div class="long">
  1915. Loads this content panel immediately with content returned from an XHR call. <div class="mdetail-params">
  1916. <strong>Parameters:</strong>
  1917. <ul><li><code>config</code> : Object/String/Function<div class="sub-desc">A config object containing any of the following options:
  1918. <pre><code>panel.load({
  1919. url: <em>"your-url.php"</em>,
  1920. params: {param1: <em>"foo"</em>, param2: <em>"bar"</em>}, <i>// or a URL encoded string</i>
  1921. callback: yourFunction,
  1922. scope: yourObject, <i>// optional scope <b>for</b> the callback</i>
  1923. discardUrl: false,
  1924. nocache: false,
  1925. text: <em>"Loading..."</em>,
  1926. timeout: 30,
  1927. scripts: false
  1928. });</code></pre>
  1929. The only required property is url. The optional properties nocache, text and scripts
  1930. are shorthand for disableCaching, indicatorText and loadScripts and are used to set their
  1931. associated property on this panel Updater instance.</div></li> </ul>
  1932. <strong>Returns:</strong>
  1933. <ul>
  1934. <li><code>Ext.Panel</code><div class="sub-desc">this</div></li>
  1935. </ul>
  1936. </div>
  1937. </div>
  1938. </div>
  1939. </td>
  1940. <td class="msource">Panel</td>
  1941. </tr>
  1942. <tr class="method-row inherited expandable">
  1943. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1944. <td class="sig">
  1945. <a id="Ext.Panel-on"></a>
  1946. <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">
  1947. <div class="short">Appends an event handler to this element (shorthand for addListener)</div>
  1948. <div class="long">
  1949. Appends an event handler to this element (shorthand for addListener) <div class="mdetail-params">
  1950. <strong>Parameters:</strong>
  1951. <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
  1952. function. The handler function's "this" context.</div></li><li><code>options</code> : Object<div class="sub-desc">(optional)</div></li> </ul>
  1953. <strong>Returns:</strong>
  1954. <ul>
  1955. <li><code>void</code></li>
  1956. </ul>
  1957. </div>
  1958. </div>
  1959. </div>
  1960. </td>
  1961. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#on" href="output/Ext.util.Observable.html#on">Observable</a></td>
  1962. </tr>
  1963. <tr class="method-row inherited alt expandable">
  1964. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1965. <td class="sig">
  1966. <a id="Ext.Panel-purgeListeners"></a>
  1967. <b>purgeListeners</b>() : void <div class="mdesc">
  1968. <div class="short">Removes all listeners for this object</div>
  1969. <div class="long">
  1970. Removes all listeners for this object <div class="mdetail-params">
  1971. <strong>Parameters:</strong>
  1972. <ul><li>None.</li> </ul>
  1973. <strong>Returns:</strong>
  1974. <ul>
  1975. <li><code>void</code></li>
  1976. </ul>
  1977. </div>
  1978. </div>
  1979. </div>
  1980. </td>
  1981. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#purgeListeners" href="output/Ext.util.Observable.html#purgeListeners">Observable</a></td>
  1982. </tr>
  1983. <tr class="method-row inherited expandable">
  1984. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  1985. <td class="sig">
  1986. <a id="Ext.Panel-remove"></a>
  1987. <b>remove</b>(&nbsp;<code>Component/String component</code>, <span class="optional" title="Optional">[<code>Boolean autoDestroy</code>]</span>&nbsp;) : void <div class="mdesc">
  1988. <div class="short">Removes a component from this container. Fires the beforeremove event before removing, then fires
  1989. the remove event a...</div>
  1990. <div class="long">
  1991. Removes a component from this container. Fires the beforeremove event before removing, then fires
  1992. the remove event after the component has been removed. <div class="mdetail-params">
  1993. <strong>Parameters:</strong>
  1994. <ul><li><code>component</code> : Component/String<div class="sub-desc">The component reference or id to remove</div></li><li><code>autoDestroy</code> : Boolean<div class="sub-desc">(optional) True to automatically invoke the component's <a ext:cls="Ext.Component" ext:member="destroy" href="output/Ext.Component.html#destroy">Ext.Component.destroy</a> function</div></li> </ul>
  1995. <strong>Returns:</strong>
  1996. <ul>
  1997. <li><code>void</code></li>
  1998. </ul>
  1999. </div>
  2000. </div>
  2001. </div>
  2002. </td>
  2003. <td class="msource"><a ext:cls="Ext.Container" ext:member="#remove" href="output/Ext.Container.html#remove">Container</a></td>
  2004. </tr>
  2005. <tr class="method-row inherited alt expandable">
  2006. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2007. <td class="sig">
  2008. <a id="Ext.Panel-removeClass"></a>
  2009. <b>removeClass</b>(&nbsp;<code>string cls</code>&nbsp;) : void <div class="mdesc">
  2010. <div class="short">Removes a CSS class from the component's underlying element.</div>
  2011. <div class="long">
  2012. Removes a CSS class from the component's underlying element. <div class="mdetail-params">
  2013. <strong>Parameters:</strong>
  2014. <ul><li><code>cls</code> : string<div class="sub-desc">The CSS class name to remove</div></li> </ul>
  2015. <strong>Returns:</strong>
  2016. <ul>
  2017. <li><code>void</code></li>
  2018. </ul>
  2019. </div>
  2020. </div>
  2021. </div>
  2022. </td>
  2023. <td class="msource"><a ext:cls="Ext.Component" ext:member="#removeClass" href="output/Ext.Component.html#removeClass">Component</a></td>
  2024. </tr>
  2025. <tr class="method-row inherited expandable">
  2026. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2027. <td class="sig">
  2028. <a id="Ext.Panel-removeListener"></a>
  2029. <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">
  2030. <div class="short">Removes a listener</div>
  2031. <div class="long">
  2032. Removes a listener <div class="mdetail-params">
  2033. <strong>Parameters:</strong>
  2034. <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>
  2035. <strong>Returns:</strong>
  2036. <ul>
  2037. <li><code>void</code></li>
  2038. </ul>
  2039. </div>
  2040. </div>
  2041. </div>
  2042. </td>
  2043. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#removeListener" href="output/Ext.util.Observable.html#removeListener">Observable</a></td>
  2044. </tr>
  2045. <tr class="method-row inherited alt expandable">
  2046. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2047. <td class="sig">
  2048. <a id="Ext.Panel-render"></a>
  2049. <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">
  2050. <div class="short">If this is a lazy rendering component, render it to its container element.</div>
  2051. <div class="long">
  2052. If this is a lazy rendering component, render it to its container element. <div class="mdetail-params">
  2053. <strong>Parameters:</strong>
  2054. <ul><li><code>container</code> : Mixed<div class="sub-desc">(optional) The element this component should be rendered into. If it is being
  2055. 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>
  2056. which this component will be inserted (defaults to appending to the end of the container)</div></li> </ul>
  2057. <strong>Returns:</strong>
  2058. <ul>
  2059. <li><code>void</code></li>
  2060. </ul>
  2061. </div>
  2062. </div>
  2063. </div>
  2064. </td>
  2065. <td class="msource"><a ext:cls="Ext.Component" ext:member="#render" href="output/Ext.Component.html#render">Component</a></td>
  2066. </tr>
  2067. <tr class="method-row inherited expandable">
  2068. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2069. <td class="sig">
  2070. <a id="Ext.Panel-resumeEvents"></a>
  2071. <b>resumeEvents</b>() : void <div class="mdesc">
  2072. <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>
  2073. <div class="long">
  2074. 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">
  2075. <strong>Parameters:</strong>
  2076. <ul><li>None.</li> </ul>
  2077. <strong>Returns:</strong>
  2078. <ul>
  2079. <li><code>void</code></li>
  2080. </ul>
  2081. </div>
  2082. </div>
  2083. </div>
  2084. </td>
  2085. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#resumeEvents" href="output/Ext.util.Observable.html#resumeEvents">Observable</a></td>
  2086. </tr>
  2087. <tr class="method-row inherited alt expandable">
  2088. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2089. <td class="sig">
  2090. <a id="Ext.Panel-setDisabled"></a>
  2091. <b>setDisabled</b>(&nbsp;<code>Boolean disabled</code>&nbsp;) : void <div class="mdesc">
  2092. <div class="short">Convenience function for setting disabled/enabled by boolean.</div>
  2093. <div class="long">
  2094. Convenience function for setting disabled/enabled by boolean. <div class="mdetail-params">
  2095. <strong>Parameters:</strong>
  2096. <ul><li><code>disabled</code> : Boolean<div class="sub-desc"></div></li> </ul>
  2097. <strong>Returns:</strong>
  2098. <ul>
  2099. <li><code>void</code></li>
  2100. </ul>
  2101. </div>
  2102. </div>
  2103. </div>
  2104. </td>
  2105. <td class="msource"><a ext:cls="Ext.Component" ext:member="#setDisabled" href="output/Ext.Component.html#setDisabled">Component</a></td>
  2106. </tr>
  2107. <tr class="method-row inherited expandable">
  2108. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2109. <td class="sig">
  2110. <a id="Ext.Panel-setHeight"></a>
  2111. <b>setHeight</b>(&nbsp;<code>Number height</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2112. <div class="short">Sets the height of the component. This method fires the resize event.</div>
  2113. <div class="long">
  2114. Sets the height of the component. This method fires the resize event. <div class="mdetail-params">
  2115. <strong>Parameters:</strong>
  2116. <ul><li><code>height</code> : Number<div class="sub-desc">The new height to set</div></li> </ul>
  2117. <strong>Returns:</strong>
  2118. <ul>
  2119. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2120. </ul>
  2121. </div>
  2122. </div>
  2123. </div>
  2124. </td>
  2125. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setHeight" href="output/Ext.BoxComponent.html#setHeight">BoxComponent</a></td>
  2126. </tr>
  2127. <tr class="method-row alt expandable">
  2128. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2129. <td class="sig">
  2130. <a id="Ext.Panel-setIconClass"></a>
  2131. <b>setIconClass</b>(&nbsp;<code>String cls</code>&nbsp;) : void <div class="mdesc">
  2132. <div class="short">Sets the CSS class that provides the icon image for this panel. This method will replace any existing
  2133. icon class if ...</div>
  2134. <div class="long">
  2135. Sets the CSS class that provides the icon image for this panel. This method will replace any existing
  2136. icon class if one has already been set. <div class="mdetail-params">
  2137. <strong>Parameters:</strong>
  2138. <ul><li><code>cls</code> : String<div class="sub-desc">The new CSS class name</div></li> </ul>
  2139. <strong>Returns:</strong>
  2140. <ul>
  2141. <li><code>void</code></li>
  2142. </ul>
  2143. </div>
  2144. </div>
  2145. </div>
  2146. </td>
  2147. <td class="msource">Panel</td>
  2148. </tr>
  2149. <tr class="method-row inherited expandable">
  2150. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2151. <td class="sig">
  2152. <a id="Ext.Panel-setPagePosition"></a>
  2153. <b>setPagePosition</b>(&nbsp;<code>Number x</code>, <code>Number y</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2154. <div class="short">Sets the page XY position of the component. To set the left and top instead, use setPosition.
  2155. This method fires the ...</div>
  2156. <div class="long">
  2157. 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>.
  2158. This method fires the move event. <div class="mdetail-params">
  2159. <strong>Parameters:</strong>
  2160. <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>
  2161. <strong>Returns:</strong>
  2162. <ul>
  2163. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2164. </ul>
  2165. </div>
  2166. </div>
  2167. </div>
  2168. </td>
  2169. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPagePosition" href="output/Ext.BoxComponent.html#setPagePosition">BoxComponent</a></td>
  2170. </tr>
  2171. <tr class="method-row inherited alt expandable">
  2172. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2173. <td class="sig">
  2174. <a id="Ext.Panel-setPosition"></a>
  2175. <b>setPosition</b>(&nbsp;<code>Number left</code>, <code>Number top</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2176. <div class="short">Sets the left and top of the component. To set the page XY position instead, use setPagePosition.
  2177. This method fires ...</div>
  2178. <div class="long">
  2179. 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>.
  2180. This method fires the move event. <div class="mdetail-params">
  2181. <strong>Parameters:</strong>
  2182. <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>
  2183. <strong>Returns:</strong>
  2184. <ul>
  2185. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2186. </ul>
  2187. </div>
  2188. </div>
  2189. </div>
  2190. </td>
  2191. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setPosition" href="output/Ext.BoxComponent.html#setPosition">BoxComponent</a></td>
  2192. </tr>
  2193. <tr class="method-row inherited expandable">
  2194. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2195. <td class="sig">
  2196. <a id="Ext.Panel-setSize"></a>
  2197. <b>setSize</b>(&nbsp;<code>Number/Object width</code>, <code>Number height</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2198. <div class="short">Sets the width and height of the component. This method fires the resize event. This method can accept
  2199. either width...</div>
  2200. <div class="long">
  2201. Sets the width and height of the component. This method fires the resize event. This method can accept
  2202. either width and height as separate numeric arguments, or you can pass a size object like {width:10, height:20}. <div class="mdetail-params">
  2203. <strong>Parameters:</strong>
  2204. <ul><li><code>width</code> : Number/Object<div class="sub-desc">The new width to set, or a size object in the format {width, height}</div></li><li><code>height</code> : Number<div class="sub-desc">The new height to set (not required if a size object is passed as the first arg)</div></li> </ul>
  2205. <strong>Returns:</strong>
  2206. <ul>
  2207. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2208. </ul>
  2209. </div>
  2210. </div>
  2211. </div>
  2212. </td>
  2213. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setSize" href="output/Ext.BoxComponent.html#setSize">BoxComponent</a></td>
  2214. </tr>
  2215. <tr class="method-row alt expandable">
  2216. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2217. <td class="sig">
  2218. <a id="Ext.Panel-setTitle"></a>
  2219. <b>setTitle</b>(&nbsp;<code>String title</code>, <code>String (optional)</code>&nbsp;) : void <div class="mdesc">
  2220. <div class="short">Sets the title text for the panel and optionally the icon class.</div>
  2221. <div class="long">
  2222. Sets the title text for the panel and optionally the icon class. <div class="mdetail-params">
  2223. <strong>Parameters:</strong>
  2224. <ul><li><code>title</code> : String<div class="sub-desc">The title text to set</div></li><li><code>(optional)</code> : String<div class="sub-desc">iconCls A custon, user-defined CSS class that provides the icon image for this panel</div></li> </ul>
  2225. <strong>Returns:</strong>
  2226. <ul>
  2227. <li><code>void</code></li>
  2228. </ul>
  2229. </div>
  2230. </div>
  2231. </div>
  2232. </td>
  2233. <td class="msource">Panel</td>
  2234. </tr>
  2235. <tr class="method-row inherited expandable">
  2236. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2237. <td class="sig">
  2238. <a id="Ext.Panel-setVisible"></a>
  2239. <b>setVisible</b>(&nbsp;<code>Boolean visible</code>&nbsp;) : Ext.Component <div class="mdesc">
  2240. <div class="short">Convenience function to hide or show this component by boolean.</div>
  2241. <div class="long">
  2242. Convenience function to hide or show this component by boolean. <div class="mdetail-params">
  2243. <strong>Parameters:</strong>
  2244. <ul><li><code>visible</code> : Boolean<div class="sub-desc">True to show, false to hide</div></li> </ul>
  2245. <strong>Returns:</strong>
  2246. <ul>
  2247. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  2248. </ul>
  2249. </div>
  2250. </div>
  2251. </div>
  2252. </td>
  2253. <td class="msource"><a ext:cls="Ext.Component" ext:member="#setVisible" href="output/Ext.Component.html#setVisible">Component</a></td>
  2254. </tr>
  2255. <tr class="method-row inherited alt expandable">
  2256. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2257. <td class="sig">
  2258. <a id="Ext.Panel-setWidth"></a>
  2259. <b>setWidth</b>(&nbsp;<code>Number width</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2260. <div class="short">Sets the width of the component. This method fires the resize event.</div>
  2261. <div class="long">
  2262. Sets the width of the component. This method fires the resize event. <div class="mdetail-params">
  2263. <strong>Parameters:</strong>
  2264. <ul><li><code>width</code> : Number<div class="sub-desc">The new width to set</div></li> </ul>
  2265. <strong>Returns:</strong>
  2266. <ul>
  2267. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2268. </ul>
  2269. </div>
  2270. </div>
  2271. </div>
  2272. </td>
  2273. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#setWidth" href="output/Ext.BoxComponent.html#setWidth">BoxComponent</a></td>
  2274. </tr>
  2275. <tr class="method-row inherited expandable">
  2276. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2277. <td class="sig">
  2278. <a id="Ext.Panel-show"></a>
  2279. <b>show</b>() : Ext.Component <div class="mdesc">
  2280. <div class="short">Show this component.</div>
  2281. <div class="long">
  2282. Show this component. <div class="mdetail-params">
  2283. <strong>Parameters:</strong>
  2284. <ul><li>None.</li> </ul>
  2285. <strong>Returns:</strong>
  2286. <ul>
  2287. <li><code>Ext.Component</code><div class="sub-desc">this</div></li>
  2288. </ul>
  2289. </div>
  2290. </div>
  2291. </div>
  2292. </td>
  2293. <td class="msource"><a ext:cls="Ext.Component" ext:member="#show" href="output/Ext.Component.html#show">Component</a></td>
  2294. </tr>
  2295. <tr class="method-row inherited alt expandable">
  2296. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2297. <td class="sig">
  2298. <a id="Ext.Panel-suspendEvents"></a>
  2299. <b>suspendEvents</b>() : void <div class="mdesc">
  2300. <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>
  2301. <div class="long">
  2302. 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">
  2303. <strong>Parameters:</strong>
  2304. <ul><li>None.</li> </ul>
  2305. <strong>Returns:</strong>
  2306. <ul>
  2307. <li><code>void</code></li>
  2308. </ul>
  2309. </div>
  2310. </div>
  2311. </div>
  2312. </td>
  2313. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#suspendEvents" href="output/Ext.util.Observable.html#suspendEvents">Observable</a></td>
  2314. </tr>
  2315. <tr class="method-row inherited expandable">
  2316. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2317. <td class="sig">
  2318. <a id="Ext.Panel-syncSize"></a>
  2319. <b>syncSize</b>() : Ext.BoxComponent <div class="mdesc">
  2320. <div class="short">Force the component's size to recalculate based on the underlying element's current height and width.</div>
  2321. <div class="long">
  2322. Force the component's size to recalculate based on the underlying element's current height and width. <div class="mdetail-params">
  2323. <strong>Parameters:</strong>
  2324. <ul><li>None.</li> </ul>
  2325. <strong>Returns:</strong>
  2326. <ul>
  2327. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2328. </ul>
  2329. </div>
  2330. </div>
  2331. </div>
  2332. </td>
  2333. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#syncSize" href="output/Ext.BoxComponent.html#syncSize">BoxComponent</a></td>
  2334. </tr>
  2335. <tr class="method-row alt expandable">
  2336. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2337. <td class="sig">
  2338. <a id="Ext.Panel-toggleCollapse"></a>
  2339. <b>toggleCollapse</b>(&nbsp;<code>Boolean animate</code>&nbsp;) : Ext.Panel <div class="mdesc">
  2340. <div class="short">Shortcut for performing an <a ext:cls="Ext.Panel" ext:member="expand" href="output/Ext.Panel.html#expand">expand</a> or <a ext:cls="Ext.Panel" ext:member="collapse" href="output/Ext.Panel.html#collapse">collapse</a> based on the current state of the panel.</div>
  2341. <div class="long">
  2342. Shortcut for performing an <a ext:cls="Ext.Panel" ext:member="expand" href="output/Ext.Panel.html#expand">expand</a> or <a ext:cls="Ext.Panel" ext:member="collapse" href="output/Ext.Panel.html#collapse">collapse</a> based on the current state of the panel. <div class="mdetail-params">
  2343. <strong>Parameters:</strong>
  2344. <ul><li><code>animate</code> : Boolean<div class="sub-desc">True to animate the transition, else false (defaults to the value of the
  2345. <a ext:cls="Ext.Panel" ext:member="animCollapse" href="output/Ext.Panel.html#animCollapse">animCollapse</a> panel config)</div></li> </ul>
  2346. <strong>Returns:</strong>
  2347. <ul>
  2348. <li><code>Ext.Panel</code><div class="sub-desc">this</div></li>
  2349. </ul>
  2350. </div>
  2351. </div>
  2352. </div>
  2353. </td>
  2354. <td class="msource">Panel</td>
  2355. </tr>
  2356. <tr class="method-row inherited expandable">
  2357. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2358. <td class="sig">
  2359. <a id="Ext.Panel-un"></a>
  2360. <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">
  2361. <div class="short">Removes a listener (shorthand for removeListener)</div>
  2362. <div class="long">
  2363. Removes a listener (shorthand for removeListener) <div class="mdetail-params">
  2364. <strong>Parameters:</strong>
  2365. <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>
  2366. <strong>Returns:</strong>
  2367. <ul>
  2368. <li><code>void</code></li>
  2369. </ul>
  2370. </div>
  2371. </div>
  2372. </div>
  2373. </td>
  2374. <td class="msource"><a ext:cls="Ext.util.Observable" ext:member="#un" href="output/Ext.util.Observable.html#un">Observable</a></td>
  2375. </tr>
  2376. <tr class="method-row inherited alt expandable">
  2377. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2378. <td class="sig">
  2379. <a id="Ext.Panel-updateBox"></a>
  2380. <b>updateBox</b>(&nbsp;<code>Object box</code>&nbsp;) : Ext.BoxComponent <div class="mdesc">
  2381. <div class="short">Sets the current box measurements of the component's underlying element.</div>
  2382. <div class="long">
  2383. Sets the current box measurements of the component's underlying element. <div class="mdetail-params">
  2384. <strong>Parameters:</strong>
  2385. <ul><li><code>box</code> : Object<div class="sub-desc">An object in the format {x, y, width, height}</div></li> </ul>
  2386. <strong>Returns:</strong>
  2387. <ul>
  2388. <li><code>Ext.BoxComponent</code><div class="sub-desc">this</div></li>
  2389. </ul>
  2390. </div>
  2391. </div>
  2392. </div>
  2393. </td>
  2394. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#updateBox" href="output/Ext.BoxComponent.html#updateBox">BoxComponent</a></td>
  2395. </tr>
  2396. </table>
  2397. <a id="Ext.Panel-events"></a>
  2398. <h2>Public Events</h2>
  2399. <table cellspacing="0" class="member-table">
  2400. <tr>
  2401. <th class="sig-header" colspan="2">Event</th>
  2402. <th class="msource-header">Defined By</th>
  2403. </tr>
  2404. <tr class="event-row expandable">
  2405. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2406. <td class="sig">
  2407. <a id="Ext.Panel-activate"></a>
  2408. <b>activate</b> : (&nbsp;<code>Ext.Panel p</code>&nbsp;) <div class="mdesc">
  2409. <div class="short">Fires after the Panel has been visually activated.
  2410. Note that Panels do not directly support being activated, but some...</div>
  2411. <div class="long">
  2412. Fires after the Panel has been visually activated.
  2413. Note that Panels do not directly support being activated, but some Panel subclasses
  2414. do (like <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a>). Panels which are child Components of a TabPanel fire the
  2415. activate and deactivate events under the control of the TabPanel. <div class="mdetail-params">
  2416. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2417. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">The Panel that has been activated.</div></li> </ul>
  2418. </div>
  2419. </div>
  2420. </div>
  2421. </td>
  2422. <td class="msource">Panel</td>
  2423. </tr>
  2424. <tr class="event-row inherited alt expandable">
  2425. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2426. <td class="sig">
  2427. <a id="Ext.Panel-add"></a>
  2428. <b>add</b> : (&nbsp;<code>Ext.Container this</code>, <code>Ext.Component component</code>, <code>Number index</code>&nbsp;) <div class="mdesc">
  2429. <div class="short">Fires after any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is added or inserted into the container.</div>
  2430. <div class="long">
  2431. Fires after any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is added or inserted into the container. <div class="mdetail-params">
  2432. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2433. <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The component that was added</div></li><li><code>index</code> : Number<div class="sub-desc">The index at which the component was added to the container's items collection</div></li> </ul>
  2434. </div>
  2435. </div>
  2436. </div>
  2437. </td>
  2438. <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-add" href="output/Ext.Container.html#event-add">Container</a></td>
  2439. </tr>
  2440. <tr class="event-row inherited expandable">
  2441. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2442. <td class="sig">
  2443. <a id="Ext.Panel-afterlayout"></a>
  2444. <b>afterlayout</b> : (&nbsp;<code>Ext.Container this</code>, <code>ContainerLayout layout</code>&nbsp;) <div class="mdesc">
  2445. <div class="short">Fires when the components in this container are arranged by the associated layout manager.</div>
  2446. <div class="long">
  2447. Fires when the components in this container are arranged by the associated layout manager. <div class="mdetail-params">
  2448. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2449. <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>layout</code> : ContainerLayout<div class="sub-desc">The ContainerLayout implementation for this container</div></li> </ul>
  2450. </div>
  2451. </div>
  2452. </div>
  2453. </td>
  2454. <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-afterlayout" href="output/Ext.Container.html#event-afterlayout">Container</a></td>
  2455. </tr>
  2456. <tr class="event-row inherited alt expandable">
  2457. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2458. <td class="sig">
  2459. <a id="Ext.Panel-beforeadd"></a>
  2460. <b>beforeadd</b> : (&nbsp;<code>Ext.Container this</code>, <code>Ext.Component component</code>, <code>Number index</code>&nbsp;) <div class="mdesc">
  2461. <div class="short">Fires before any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is added or inserted into the container.
  2462. A handler can return false to cancel the add.</div>
  2463. <div class="long">
  2464. Fires before any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is added or inserted into the container.
  2465. A handler can return false to cancel the add. <div class="mdetail-params">
  2466. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2467. <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The component being added</div></li><li><code>index</code> : Number<div class="sub-desc">The index at which the component will be added to the container's items collection</div></li> </ul>
  2468. </div>
  2469. </div>
  2470. </div>
  2471. </td>
  2472. <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-beforeadd" href="output/Ext.Container.html#event-beforeadd">Container</a></td>
  2473. </tr>
  2474. <tr class="event-row expandable">
  2475. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2476. <td class="sig">
  2477. <a id="Ext.Panel-beforeclose"></a>
  2478. <b>beforeclose</b> : (&nbsp;<code>Ext.Panel p</code>&nbsp;) <div class="mdesc">
  2479. <div class="short">Fires before the Panel is closed. Note that Panels do not directly support being closed, but some
  2480. Panel subclasses d...</div>
  2481. <div class="long">
  2482. Fires before the Panel is closed. Note that Panels do not directly support being closed, but some
  2483. Panel subclasses do (like <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a>). This event only applies to such subclasses.
  2484. A handler can return false to cancel the close. <div class="mdetail-params">
  2485. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2486. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">The Panel being closed.</div></li> </ul>
  2487. </div>
  2488. </div>
  2489. </div>
  2490. </td>
  2491. <td class="msource">Panel</td>
  2492. </tr>
  2493. <tr class="event-row alt expandable">
  2494. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2495. <td class="sig">
  2496. <a id="Ext.Panel-beforecollapse"></a>
  2497. <b>beforecollapse</b> : (&nbsp;<code>Ext.Panel p</code>, <code>Boolean animate</code>&nbsp;) <div class="mdesc">
  2498. <div class="short">Fires before the Panel is collapsed. A handler can return false to cancel the collapse.</div>
  2499. <div class="long">
  2500. Fires before the Panel is collapsed. A handler can return false to cancel the collapse. <div class="mdetail-params">
  2501. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2502. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">the Panel being collapsed.</div></li><li><code>animate</code> : Boolean<div class="sub-desc">True if the collapse is animated, else false.</div></li> </ul>
  2503. </div>
  2504. </div>
  2505. </div>
  2506. </td>
  2507. <td class="msource">Panel</td>
  2508. </tr>
  2509. <tr class="event-row inherited expandable">
  2510. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2511. <td class="sig">
  2512. <a id="Ext.Panel-beforedestroy"></a>
  2513. <b>beforedestroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2514. <div class="short">Fires before the component is destroyed. Return false to stop the destroy.</div>
  2515. <div class="long">
  2516. Fires before the component is destroyed. Return false to stop the destroy. <div class="mdetail-params">
  2517. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2518. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2519. </div>
  2520. </div>
  2521. </div>
  2522. </td>
  2523. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforedestroy" href="output/Ext.Component.html#event-beforedestroy">Component</a></td>
  2524. </tr>
  2525. <tr class="event-row alt expandable">
  2526. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2527. <td class="sig">
  2528. <a id="Ext.Panel-beforeexpand"></a>
  2529. <b>beforeexpand</b> : (&nbsp;<code>Ext.Panel p</code>, <code>Boolean animate</code>&nbsp;) <div class="mdesc">
  2530. <div class="short">Fires before the Panel is expanded. A handler can return false to cancel the expand.</div>
  2531. <div class="long">
  2532. Fires before the Panel is expanded. A handler can return false to cancel the expand. <div class="mdetail-params">
  2533. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2534. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">The Panel being expanded.</div></li><li><code>animate</code> : Boolean<div class="sub-desc">True if the expand is animated, else false.</div></li> </ul>
  2535. </div>
  2536. </div>
  2537. </div>
  2538. </td>
  2539. <td class="msource">Panel</td>
  2540. </tr>
  2541. <tr class="event-row inherited expandable">
  2542. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2543. <td class="sig">
  2544. <a id="Ext.Panel-beforehide"></a>
  2545. <b>beforehide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2546. <div class="short">Fires before the component is hidden. Return false to stop the hide.</div>
  2547. <div class="long">
  2548. Fires before the component is hidden. Return false to stop the hide. <div class="mdetail-params">
  2549. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2550. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2551. </div>
  2552. </div>
  2553. </div>
  2554. </td>
  2555. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforehide" href="output/Ext.Component.html#event-beforehide">Component</a></td>
  2556. </tr>
  2557. <tr class="event-row inherited alt expandable">
  2558. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2559. <td class="sig">
  2560. <a id="Ext.Panel-beforeremove"></a>
  2561. <b>beforeremove</b> : (&nbsp;<code>Ext.Container this</code>, <code>Ext.Component component</code>&nbsp;) <div class="mdesc">
  2562. <div class="short">Fires before any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is removed from the container. A handler can return
  2563. false to cancel the remove.</div>
  2564. <div class="long">
  2565. Fires before any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is removed from the container. A handler can return
  2566. false to cancel the remove. <div class="mdetail-params">
  2567. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2568. <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The component being removed</div></li> </ul>
  2569. </div>
  2570. </div>
  2571. </div>
  2572. </td>
  2573. <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-beforeremove" href="output/Ext.Container.html#event-beforeremove">Container</a></td>
  2574. </tr>
  2575. <tr class="event-row inherited expandable">
  2576. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2577. <td class="sig">
  2578. <a id="Ext.Panel-beforerender"></a>
  2579. <b>beforerender</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2580. <div class="short">Fires before the component is rendered. Return false to stop the render.</div>
  2581. <div class="long">
  2582. Fires before the component is rendered. Return false to stop the render. <div class="mdetail-params">
  2583. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2584. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2585. </div>
  2586. </div>
  2587. </div>
  2588. </td>
  2589. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforerender" href="output/Ext.Component.html#event-beforerender">Component</a></td>
  2590. </tr>
  2591. <tr class="event-row inherited alt expandable">
  2592. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2593. <td class="sig">
  2594. <a id="Ext.Panel-beforeshow"></a>
  2595. <b>beforeshow</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2596. <div class="short">Fires before the component is shown. Return false to stop the show.</div>
  2597. <div class="long">
  2598. Fires before the component is shown. Return false to stop the show. <div class="mdetail-params">
  2599. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2600. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2601. </div>
  2602. </div>
  2603. </div>
  2604. </td>
  2605. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforeshow" href="output/Ext.Component.html#event-beforeshow">Component</a></td>
  2606. </tr>
  2607. <tr class="event-row inherited expandable">
  2608. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2609. <td class="sig">
  2610. <a id="Ext.Panel-beforestaterestore"></a>
  2611. <b>beforestaterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2612. <div class="short">Fires before the state of the component is restored. Return false to stop the restore.</div>
  2613. <div class="long">
  2614. Fires before the state of the component is restored. Return false to stop the restore. <div class="mdetail-params">
  2615. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2616. <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>
  2617. </div>
  2618. </div>
  2619. </div>
  2620. </td>
  2621. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestaterestore" href="output/Ext.Component.html#event-beforestaterestore">Component</a></td>
  2622. </tr>
  2623. <tr class="event-row inherited alt expandable">
  2624. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2625. <td class="sig">
  2626. <a id="Ext.Panel-beforestatesave"></a>
  2627. <b>beforestatesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2628. <div class="short">Fires before the state of the component is saved to the configured state provider. Return false to stop the save.</div>
  2629. <div class="long">
  2630. Fires before the state of the component is saved to the configured state provider. Return false to stop the save. <div class="mdetail-params">
  2631. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2632. <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>
  2633. </div>
  2634. </div>
  2635. </div>
  2636. </td>
  2637. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-beforestatesave" href="output/Ext.Component.html#event-beforestatesave">Component</a></td>
  2638. </tr>
  2639. <tr class="event-row expandable">
  2640. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2641. <td class="sig">
  2642. <a id="Ext.Panel-bodyresize"></a>
  2643. <b>bodyresize</b> : (&nbsp;<code>Ext.Panel p</code>, <code>Number width</code>, <code>Number height</code>&nbsp;) <div class="mdesc">
  2644. <div class="short">Fires after the Panel has been resized.</div>
  2645. <div class="long">
  2646. Fires after the Panel has been resized. <div class="mdetail-params">
  2647. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2648. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">the Panel which has been resized.</div></li><li><code>width</code> : Number<div class="sub-desc">The Panel's new width.</div></li><li><code>height</code> : Number<div class="sub-desc">The Panel's new height.</div></li> </ul>
  2649. </div>
  2650. </div>
  2651. </div>
  2652. </td>
  2653. <td class="msource">Panel</td>
  2654. </tr>
  2655. <tr class="event-row alt expandable">
  2656. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2657. <td class="sig">
  2658. <a id="Ext.Panel-close"></a>
  2659. <b>close</b> : (&nbsp;<code>Ext.Panel p</code>&nbsp;) <div class="mdesc">
  2660. <div class="short">Fires after the Panel is closed. Note that Panels do not directly support being closed, but some
  2661. Panel subclasses do...</div>
  2662. <div class="long">
  2663. Fires after the Panel is closed. Note that Panels do not directly support being closed, but some
  2664. Panel subclasses do (like <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a>). <div class="mdetail-params">
  2665. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2666. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">The Panel that has been closed.</div></li> </ul>
  2667. </div>
  2668. </div>
  2669. </div>
  2670. </td>
  2671. <td class="msource">Panel</td>
  2672. </tr>
  2673. <tr class="event-row expandable">
  2674. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2675. <td class="sig">
  2676. <a id="Ext.Panel-collapse"></a>
  2677. <b>collapse</b> : (&nbsp;<code>Ext.Panel p</code>&nbsp;) <div class="mdesc">
  2678. <div class="short">Fires after the Panel has been collapsed.</div>
  2679. <div class="long">
  2680. Fires after the Panel has been collapsed. <div class="mdetail-params">
  2681. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2682. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">the Panel that has been collapsed.</div></li> </ul>
  2683. </div>
  2684. </div>
  2685. </div>
  2686. </td>
  2687. <td class="msource">Panel</td>
  2688. </tr>
  2689. <tr class="event-row alt expandable">
  2690. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2691. <td class="sig">
  2692. <a id="Ext.Panel-deactivate"></a>
  2693. <b>deactivate</b> : (&nbsp;<code>Ext.Panel p</code>&nbsp;) <div class="mdesc">
  2694. <div class="short">Fires after the Panel has been visually deactivated.
  2695. Note that Panels do not directly support being deactivated, but ...</div>
  2696. <div class="long">
  2697. Fires after the Panel has been visually deactivated.
  2698. Note that Panels do not directly support being deactivated, but some Panel subclasses
  2699. do (like <a ext:cls="Ext.Window" href="output/Ext.Window.html">Ext.Window</a>). Panels which are child Components of a TabPanel fire the
  2700. activate and deactivate events under the control of the TabPanel. <div class="mdetail-params">
  2701. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2702. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">The Panel that has been deactivated.</div></li> </ul>
  2703. </div>
  2704. </div>
  2705. </div>
  2706. </td>
  2707. <td class="msource">Panel</td>
  2708. </tr>
  2709. <tr class="event-row inherited expandable">
  2710. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2711. <td class="sig">
  2712. <a id="Ext.Panel-destroy"></a>
  2713. <b>destroy</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2714. <div class="short">Fires after the component is destroyed.</div>
  2715. <div class="long">
  2716. Fires after the component is destroyed. <div class="mdetail-params">
  2717. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2718. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2719. </div>
  2720. </div>
  2721. </div>
  2722. </td>
  2723. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-destroy" href="output/Ext.Component.html#event-destroy">Component</a></td>
  2724. </tr>
  2725. <tr class="event-row inherited alt expandable">
  2726. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2727. <td class="sig">
  2728. <a id="Ext.Panel-disable"></a>
  2729. <b>disable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2730. <div class="short">Fires after the component is disabled.</div>
  2731. <div class="long">
  2732. Fires after the component is disabled. <div class="mdetail-params">
  2733. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2734. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2735. </div>
  2736. </div>
  2737. </div>
  2738. </td>
  2739. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-disable" href="output/Ext.Component.html#event-disable">Component</a></td>
  2740. </tr>
  2741. <tr class="event-row inherited expandable">
  2742. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2743. <td class="sig">
  2744. <a id="Ext.Panel-enable"></a>
  2745. <b>enable</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2746. <div class="short">Fires after the component is enabled.</div>
  2747. <div class="long">
  2748. Fires after the component is enabled. <div class="mdetail-params">
  2749. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2750. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2751. </div>
  2752. </div>
  2753. </div>
  2754. </td>
  2755. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-enable" href="output/Ext.Component.html#event-enable">Component</a></td>
  2756. </tr>
  2757. <tr class="event-row alt expandable">
  2758. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2759. <td class="sig">
  2760. <a id="Ext.Panel-expand"></a>
  2761. <b>expand</b> : (&nbsp;<code>Ext.Panel p</code>&nbsp;) <div class="mdesc">
  2762. <div class="short">Fires after the Panel has been expanded.</div>
  2763. <div class="long">
  2764. Fires after the Panel has been expanded. <div class="mdetail-params">
  2765. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2766. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">The Panel that has been expanded.</div></li> </ul>
  2767. </div>
  2768. </div>
  2769. </div>
  2770. </td>
  2771. <td class="msource">Panel</td>
  2772. </tr>
  2773. <tr class="event-row inherited expandable">
  2774. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2775. <td class="sig">
  2776. <a id="Ext.Panel-hide"></a>
  2777. <b>hide</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2778. <div class="short">Fires after the component is hidden.</div>
  2779. <div class="long">
  2780. Fires after the component is hidden. <div class="mdetail-params">
  2781. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2782. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2783. </div>
  2784. </div>
  2785. </div>
  2786. </td>
  2787. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-hide" href="output/Ext.Component.html#event-hide">Component</a></td>
  2788. </tr>
  2789. <tr class="event-row inherited alt expandable">
  2790. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2791. <td class="sig">
  2792. <a id="Ext.Panel-move"></a>
  2793. <b>move</b> : (&nbsp;<code>Ext.Component this</code>, <code>Number x</code>, <code>Number y</code>&nbsp;) <div class="mdesc">
  2794. <div class="short">Fires after the component is moved.</div>
  2795. <div class="long">
  2796. Fires after the component is moved. <div class="mdetail-params">
  2797. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2798. <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>
  2799. </div>
  2800. </div>
  2801. </div>
  2802. </td>
  2803. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-move" href="output/Ext.BoxComponent.html#event-move">BoxComponent</a></td>
  2804. </tr>
  2805. <tr class="event-row inherited expandable">
  2806. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2807. <td class="sig">
  2808. <a id="Ext.Panel-remove"></a>
  2809. <b>remove</b> : (&nbsp;<code>Ext.Container this</code>, <code>Ext.Component component</code>&nbsp;) <div class="mdesc">
  2810. <div class="short">Fires after any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is removed from the container.</div>
  2811. <div class="long">
  2812. Fires after any <a ext:cls="Ext.Component" href="output/Ext.Component.html">Ext.Component</a> is removed from the container. <div class="mdetail-params">
  2813. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2814. <ul><li><code>this</code> : Ext.Container<div class="sub-desc"></div></li><li><code>component</code> : Ext.Component<div class="sub-desc">The component that was removed</div></li> </ul>
  2815. </div>
  2816. </div>
  2817. </div>
  2818. </td>
  2819. <td class="msource"><a ext:cls="Ext.Container" ext:member="#event-remove" href="output/Ext.Container.html#event-remove">Container</a></td>
  2820. </tr>
  2821. <tr class="event-row inherited alt expandable">
  2822. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2823. <td class="sig">
  2824. <a id="Ext.Panel-render"></a>
  2825. <b>render</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2826. <div class="short">Fires after the component is rendered.</div>
  2827. <div class="long">
  2828. Fires after the component is rendered. <div class="mdetail-params">
  2829. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2830. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2831. </div>
  2832. </div>
  2833. </div>
  2834. </td>
  2835. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-render" href="output/Ext.Component.html#event-render">Component</a></td>
  2836. </tr>
  2837. <tr class="event-row inherited expandable">
  2838. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2839. <td class="sig">
  2840. <a id="Ext.Panel-resize"></a>
  2841. <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">
  2842. <div class="short">Fires after the component is resized.</div>
  2843. <div class="long">
  2844. Fires after the component is resized. <div class="mdetail-params">
  2845. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2846. <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>
  2847. </div>
  2848. </div>
  2849. </div>
  2850. </td>
  2851. <td class="msource"><a ext:cls="Ext.BoxComponent" ext:member="#event-resize" href="output/Ext.BoxComponent.html#event-resize">BoxComponent</a></td>
  2852. </tr>
  2853. <tr class="event-row inherited alt expandable">
  2854. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2855. <td class="sig">
  2856. <a id="Ext.Panel-show"></a>
  2857. <b>show</b> : (&nbsp;<code>Ext.Component this</code>&nbsp;) <div class="mdesc">
  2858. <div class="short">Fires after the component is shown.</div>
  2859. <div class="long">
  2860. Fires after the component is shown. <div class="mdetail-params">
  2861. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2862. <ul><li><code>this</code> : Ext.Component<div class="sub-desc"></div></li> </ul>
  2863. </div>
  2864. </div>
  2865. </div>
  2866. </td>
  2867. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-show" href="output/Ext.Component.html#event-show">Component</a></td>
  2868. </tr>
  2869. <tr class="event-row inherited expandable">
  2870. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2871. <td class="sig">
  2872. <a id="Ext.Panel-staterestore"></a>
  2873. <b>staterestore</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2874. <div class="short">Fires after the state of the component is restored.</div>
  2875. <div class="long">
  2876. Fires after the state of the component is restored. <div class="mdetail-params">
  2877. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2878. <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>
  2879. </div>
  2880. </div>
  2881. </div>
  2882. </td>
  2883. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-staterestore" href="output/Ext.Component.html#event-staterestore">Component</a></td>
  2884. </tr>
  2885. <tr class="event-row inherited alt expandable">
  2886. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2887. <td class="sig">
  2888. <a id="Ext.Panel-statesave"></a>
  2889. <b>statesave</b> : (&nbsp;<code>Ext.Component this</code>, <code>Object state</code>&nbsp;) <div class="mdesc">
  2890. <div class="short">Fires after the state of the component is saved to the configured state provider.</div>
  2891. <div class="long">
  2892. Fires after the state of the component is saved to the configured state provider. <div class="mdetail-params">
  2893. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2894. <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>
  2895. </div>
  2896. </div>
  2897. </div>
  2898. </td>
  2899. <td class="msource"><a ext:cls="Ext.Component" ext:member="#event-statesave" href="output/Ext.Component.html#event-statesave">Component</a></td>
  2900. </tr>
  2901. <tr class="event-row expandable">
  2902. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  2903. <td class="sig">
  2904. <a id="Ext.Panel-titlechange"></a>
  2905. <b>titlechange</b> : (&nbsp;<code>Ext.Panel p</code>, <code>String The</code>&nbsp;) <div class="mdesc">
  2906. <div class="short">Fires after the Panel title has been set or changed.</div>
  2907. <div class="long">
  2908. Fires after the Panel title has been set or changed. <div class="mdetail-params">
  2909. <strong style="font-weight:normal;">Listeners will be called with the following arguments:</strong>
  2910. <ul><li><code>p</code> : Ext.Panel<div class="sub-desc">the Panel which has had its title changed.</div></li><li><code>The</code> : String<div class="sub-desc">new title.</div></li> </ul>
  2911. </div>
  2912. </div>
  2913. </div>
  2914. </td>
  2915. <td class="msource">Panel</td>
  2916. </tr>
  2917. </table>
  2918. </div>