b722aa348f0b2b5cdea40c449dfbe49e384734a8.svn-base 3.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <div class="body-wrap">
  2. <div class="top-tools">
  3. <a class="inner-link" href="#Ext.Updater.BasicRenderer-props"><img src="../resources/images/default/s.gif" class="item-icon icon-prop">Properties</a>
  4. <a class="inner-link" href="#Ext.Updater.BasicRenderer-methods"><img src="../resources/images/default/s.gif" class="item-icon icon-method">Methods</a>
  5. <a class="inner-link" href="#Ext.Updater.BasicRenderer-events"><img src="../resources/images/default/s.gif" class="item-icon icon-event">Events</a>
  6. <a class="bookmark" href="../docs/?class=Ext.Updater.BasicRenderer"><img src="../resources/images/default/s.gif" class="item-icon icon-fav">Direct Link</a>
  7. </div>
  8. <h1>Class Ext.Updater.BasicRenderer</h1>
  9. <table cellspacing="0">
  10. <tr><td class="label">Package:</td><td class="hd-info">Ext</td></tr>
  11. <tr><td class="label">Defined In:</td><td class="hd-info"><a href="../src/UpdateManager.js" target="_blank">UpdateManager.js</a></td></tr>
  12. <tr><td class="label">Class:</td><td class="hd-info">Updater.BasicRenderer</td></tr>
  13. <tr><td class="label">Extends:</td><td class="hd-info">Object</td></tr>
  14. </table>
  15. <div class="description">
  16. Default Content renderer. Updates the elements innerHTML with the responseText. </div>
  17. <div class="hr"></div>
  18. <a id="Ext.Updater.BasicRenderer-props"></a>
  19. <h2>Public Properties</h2>
  20. <div class="no-members">This class has no public properties.</div> <a id="Ext.Updater.BasicRenderer-methods"></a>
  21. <h2>Public Methods</h2>
  22. <table cellspacing="0" class="member-table">
  23. <tr>
  24. <th class="sig-header" colspan="2">Method</th>
  25. <th class="msource-header">Defined By</th>
  26. </tr>
  27. <tr class="method-row expandable">
  28. <td class="micon"><a class="exi" href="#expand">&nbsp;</a></td>
  29. <td class="sig">
  30. <a id="Ext.Updater.BasicRenderer-render"></a>
  31. <b>render</b>(&nbsp;<code>Ext.Element el</code>, <code>Object response</code>, <code>Updater updateManager</code>, <code>Function callback</code>&nbsp;) : void <div class="mdesc">
  32. <div class="short">This is called when the transaction is completed and it's time to update the element - The BasicRenderer
  33. updates the ...</div>
  34. <div class="long">
  35. This is called when the transaction is completed and it's time to update the element - The BasicRenderer
  36. updates the elements innerHTML with the responseText - To perform a custom render (i.e. XML or JSON processing),
  37. create an object with a "render(el, response)" method and pass it to setRenderer on the Updater. <div class="mdetail-params">
  38. <strong>Parameters:</strong>
  39. <ul><li><code>el</code> : Ext.Element<div class="sub-desc">The element being rendered</div></li><li><code>response</code> : Object<div class="sub-desc">The XMLHttpRequest object</div></li><li><code>updateManager</code> : Updater<div class="sub-desc">The calling update manager</div></li><li><code>callback</code> : Function<div class="sub-desc">A callback that will need to be called if loadScripts is true on the Updater</div></li> </ul>
  40. <strong>Returns:</strong>
  41. <ul>
  42. <li><code>void</code></li>
  43. </ul>
  44. </div>
  45. </div>
  46. </div>
  47. </td>
  48. <td class="msource">Updater.BasicRenderer</td>
  49. </tr>
  50. </table>
  51. <a id="Ext.Updater.BasicRenderer-events"></a>
  52. <h2>Public Events</h2>
  53. <div class="no-members">This class has no public events.</div>
  54. </div>