[76] | 1 | <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" |
---|
| 2 | "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
---|
| 3 | |
---|
| 4 | <html xmlns="http://www.w3.org/1999/xhtml"> |
---|
| 5 | <head> |
---|
| 6 | <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> |
---|
| 7 | |
---|
| 8 | <title>GeoExt.tree.LayerParamLoader — GeoExt v1.0</title> |
---|
| 9 | <link rel="stylesheet" href="../../../../_static/geoext.css" type="text/css" /> |
---|
| 10 | <link rel="stylesheet" href="../../../../_static/pygments.css" type="text/css" /> |
---|
| 11 | <script type="text/javascript"> |
---|
| 12 | var DOCUMENTATION_OPTIONS = { |
---|
| 13 | URL_ROOT: '../../../../', |
---|
| 14 | VERSION: '1.0', |
---|
| 15 | COLLAPSE_MODINDEX: false, |
---|
| 16 | FILE_SUFFIX: '.html', |
---|
| 17 | HAS_SOURCE: true |
---|
| 18 | }; |
---|
| 19 | </script> |
---|
| 20 | <script type="text/javascript" src="../../../../_static/jquery.js"></script> |
---|
| 21 | <script type="text/javascript" src="../../../../_static/doctools.js"></script> |
---|
| 22 | <link rel="shortcut icon" href="../../../../_static/favicon.ico"/> |
---|
| 23 | <link rel="top" title="GeoExt v1.0" href="../../../../index.html" /> |
---|
| 24 | <link rel="up" title="Widgets" href="../../widgets.html" /> |
---|
| 25 | <link rel="next" title="GeoExt.tree.LayerParamNode" href="LayerParamNode.html" /> |
---|
| 26 | <link rel="prev" title="GeoExt.tree.LayerNode" href="LayerNode.html" /> |
---|
| 27 | |
---|
| 28 | |
---|
| 29 | |
---|
| 30 | |
---|
| 31 | |
---|
| 32 | |
---|
| 33 | </head> |
---|
| 34 | <body> |
---|
| 35 | <div class="header"> |
---|
| 36 | <div class="wrap"> |
---|
| 37 | <h1 id="logo"><a href="../../../../index.html">GeoExt</a></h1> |
---|
| 38 | <ul id="top-nav"> |
---|
| 39 | <li class="first"><a href="../../../../docs.html">Documentation</a></li> |
---|
| 40 | <li><a href="../../../../examples.html">Examples</a></li> |
---|
| 41 | <li><a href="../../../../downloads.html">Download</a></li> |
---|
| 42 | <li><a href="http://trac.geoext.org/">Development</a></li> |
---|
| 43 | </ul> |
---|
| 44 | <div id="searchbox"> |
---|
| 45 | <form class="search" action="../../../../search.html" method="get"> |
---|
| 46 | <input id="searchbox-query" type="text" name="q" size="25" value="Search …" tabindex="3" onblur="if(this.value=='') this.value='Search …';" onfocus="if(this.value=='Search …') this.value='';" /> |
---|
| 47 | <input id="searchbox-submit" type="image" value="Search" src="../../../../_static/img/search_icon_green.png" /> |
---|
| 48 | <input type="hidden" name="check_keywords" value="yes" /> |
---|
| 49 | <input type="hidden" name="area" value="default" /> |
---|
| 50 | </form> |
---|
| 51 | </div> |
---|
| 52 | </div> |
---|
| 53 | </div> |
---|
| 54 | |
---|
| 55 | <div class="related"> |
---|
| 56 | <h3>Navigation</h3> |
---|
| 57 | <ul> |
---|
| 58 | <li><a href="../../../../index.html">GeoExt</a> »</li> |
---|
| 59 | <li><a href="../../../index.html" >API Reference</a> »</li> |
---|
| 60 | <li><a href="../../widgets.html" accesskey="U">Widgets</a> »</li> |
---|
| 61 | <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.tree.LayerParamLoader</span></tt></a></li> |
---|
| 62 | </ul> |
---|
| 63 | </div> |
---|
| 64 | |
---|
| 65 | <div class="sphinxsidebar"> |
---|
| 66 | <div class="sphinxsidebarwrapper"> |
---|
| 67 | <h3><a href="../../../../index.html">Table Of Contents</a></h3> |
---|
| 68 | <ul> |
---|
| 69 | <li><a class="reference external" href="#"><tt class="docutils literal"><span class="pre">GeoExt.tree.LayerParamLoader</span></tt></a><ul> |
---|
| 70 | <li><a class="reference external" href="#config-options">Config Options</a></li> |
---|
| 71 | <li><a class="reference external" href="#public-methods">Public Methods</a></li> |
---|
| 72 | <li><a class="reference external" href="#events">Events</a></li> |
---|
| 73 | </ul> |
---|
| 74 | </li> |
---|
| 75 | </ul> |
---|
| 76 | |
---|
| 77 | <h4>Previous topic</h4> |
---|
| 78 | <p class="topless"><a href="LayerNode.html" |
---|
| 79 | title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">GeoExt.tree.LayerNode</span></tt></a></p> |
---|
| 80 | <h4>Next topic</h4> |
---|
| 81 | <p class="topless"><a href="LayerParamNode.html" |
---|
| 82 | title="next chapter"><tt class="docutils literal"><span class="pre">GeoExt.tree.LayerParamNode</span></tt></a></p> |
---|
| 83 | </div> |
---|
| 84 | </div> |
---|
| 85 | |
---|
| 86 | |
---|
| 87 | <div class="document"> |
---|
| 88 | <div class="documentwrapper"> |
---|
| 89 | <div class="bodywrapper"> |
---|
| 90 | <div class="body"> |
---|
| 91 | |
---|
| 92 | <div class="section" id="geoext-tree-layerparamloader"> |
---|
| 93 | <h1><a title="GeoExt.tree.LayerParamLoader" class="reference internal" href="#GeoExt.tree.LayerParamLoader"><tt class="xref docutils literal"><span class="pre">GeoExt.tree.LayerParamLoader</span></tt></a><a class="headerlink" href="#geoext-tree-layerparamloader" title="Permalink to this headline">¶</a></h1> |
---|
| 94 | <dl class="meta docutils"> |
---|
| 95 | <dt>Extends</dt> |
---|
| 96 | <dd><ul class="first last simple"> |
---|
| 97 | <li><a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.util.Observable">Ext.util.Observable</a></li> |
---|
| 98 | </ul> |
---|
| 99 | </dd> |
---|
| 100 | </dl> |
---|
| 101 | <dl class="class"> |
---|
| 102 | <dt id="GeoExt.tree.LayerParamLoader"> |
---|
| 103 | <em class="property">class </em><tt class="descclassname">GeoExt.tree.</tt><tt class="descname">LayerParamLoader</tt><a class="headerlink" href="#GeoExt.tree.LayerParamLoader" title="Permalink to this definition">¶</a></dt> |
---|
| 104 | <dd>A loader that creates children from its node’s layer |
---|
| 105 | (<tt class="docutils literal"><span class="pre">OpenLayers.Layer.HTTPRequest</span></tt>) by items in one of the values in |
---|
| 106 | the layer’s params object.</dd></dl> |
---|
| 107 | |
---|
| 108 | <div class="section" id="config-options"> |
---|
| 109 | <h2>Config Options<a class="headerlink" href="#config-options" title="Permalink to this headline">¶</a></h2> |
---|
| 110 | <p>Configuration properties in addition to |
---|
| 111 | those listed for <a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.util.Observable">Ext.util.Observable</a>.</p> |
---|
| 112 | <dl class="describe"> |
---|
| 113 | <dt> |
---|
| 114 | <tt class="descname">delimiter</tt></dt> |
---|
| 115 | <dd><tt class="docutils literal"><span class="pre">String</span></tt> Delimiter of the <tt class="docutils literal"><span class="pre">param</span></tt>‘s value’s items. Default is |
---|
| 116 | <tt class="docutils literal"><span class="pre">,</span></tt> (comma). If the <tt class="docutils literal"><span class="pre">param</span></tt>‘s value is an array, this property has |
---|
| 117 | no effect.</dd></dl> |
---|
| 118 | |
---|
| 119 | <dl class="describe"> |
---|
| 120 | <dt> |
---|
| 121 | <tt class="descname">param</tt></dt> |
---|
| 122 | <dd><tt class="docutils literal"><span class="pre">String</span></tt> Key for a param (key-value pair in the params object of the |
---|
| 123 | layer) that this loader uses to create childnodes from its items. The |
---|
| 124 | value can either be an <tt class="docutils literal"><span class="pre">Array</span></tt> or a <tt class="docutils literal"><span class="pre">String</span></tt>, delimited by the |
---|
| 125 | character (or string) provided as <tt class="docutils literal"><span class="pre">delimiter</span></tt> config option.</dd></dl> |
---|
| 126 | |
---|
| 127 | </div> |
---|
| 128 | <div class="section" id="public-methods"> |
---|
| 129 | <h2>Public Methods<a class="headerlink" href="#public-methods" title="Permalink to this headline">¶</a></h2> |
---|
| 130 | <p>Public methods in addition to those |
---|
| 131 | listed for <a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.util.Observable">Ext.util.Observable</a>.</p> |
---|
| 132 | <dl class="method"> |
---|
| 133 | <dt id="GeoExt.tree.LayerParamLoader.createNode"> |
---|
| 134 | <tt class="descclassname">LayerParamLoader.</tt><tt class="descname">createNode</tt><big>(</big><big>)</big><a class="headerlink" href="#GeoExt.tree.LayerParamLoader.createNode" title="Permalink to this definition">¶</a></dt> |
---|
| 135 | <dd><table class="docutils field-list" frame="void" rules="none"> |
---|
| 136 | <col class="field-name" /> |
---|
| 137 | <col class="field-body" /> |
---|
| 138 | <tbody valign="top"> |
---|
| 139 | <tr class="field"><th class="field-name">Parameter:</th><td class="field-body"><em>attr</em> – <tt class="docutils literal"><span class="pre">Object</span></tt> attributes for the new node</td> |
---|
| 140 | </tr> |
---|
| 141 | </tbody> |
---|
| 142 | </table> |
---|
| 143 | <p>Override this function for custom TreeNode node implementation, or to |
---|
| 144 | modify the attributes at creation time.</p> |
---|
| 145 | </dd></dl> |
---|
| 146 | |
---|
| 147 | </div> |
---|
| 148 | <div class="section" id="events"> |
---|
| 149 | <h2>Events<a class="headerlink" href="#events" title="Permalink to this headline">¶</a></h2> |
---|
| 150 | <p>Events in addition to those |
---|
| 151 | listed for <a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.util.Observable">Ext.util.Observable</a>.</p> |
---|
| 152 | <dl class="describe"> |
---|
| 153 | <dt> |
---|
| 154 | <tt class="descname">beforeload</tt></dt> |
---|
| 155 | <dd><p>Triggered before loading children. Return false to avoid |
---|
| 156 | loading children.</p> |
---|
| 157 | <p>Listener arguments:</p> |
---|
| 158 | <ul> |
---|
| 159 | <li><p class="first">loader - <a title="GeoExt.tree.LayerLoader" class="reference external" href="LayerLoader.html#GeoExt.tree.LayerLoader"><tt class="xref docutils literal"><span class="pre">GeoExt.tree.LayerLoader</span></tt></a> this loader</p> |
---|
| 160 | </li> |
---|
| 161 | <li><dl class="first docutils"> |
---|
| 162 | <dt>node - <tt class="docutils literal"><span class="pre">Ex.tree.TreeNode</span></tt> the node that this loader is</dt> |
---|
| 163 | <dd><p class="first last">configured with</p> |
---|
| 164 | </dd> |
---|
| 165 | </dl> |
---|
| 166 | </li> |
---|
| 167 | </ul> |
---|
| 168 | </dd></dl> |
---|
| 169 | |
---|
| 170 | <dl class="describe"> |
---|
| 171 | <dt> |
---|
| 172 | <tt class="descname">load</tt></dt> |
---|
| 173 | <dd><p>Triggered after children were loaded.</p> |
---|
| 174 | <p>Listener arguments:</p> |
---|
| 175 | <ul> |
---|
| 176 | <li><p class="first">loader - <a title="GeoExt.tree.LayerLoader" class="reference external" href="LayerLoader.html#GeoExt.tree.LayerLoader"><tt class="xref docutils literal"><span class="pre">GeoExt.tree.LayerLoader</span></tt></a> this loader</p> |
---|
| 177 | </li> |
---|
| 178 | <li><dl class="first docutils"> |
---|
| 179 | <dt>node - <tt class="docutils literal"><span class="pre">Ex.tree.TreeNode</span></tt> the node that this loader is</dt> |
---|
| 180 | <dd><p class="first last">configured with</p> |
---|
| 181 | </dd> |
---|
| 182 | </dl> |
---|
| 183 | </li> |
---|
| 184 | </ul> |
---|
| 185 | </dd></dl> |
---|
| 186 | |
---|
| 187 | </div> |
---|
| 188 | </div> |
---|
| 189 | |
---|
| 190 | |
---|
| 191 | </div> |
---|
| 192 | </div> |
---|
| 193 | </div> |
---|
| 194 | <div class="clearer"></div> |
---|
| 195 | </div> |
---|
| 196 | <div class="related"> |
---|
| 197 | <h3>Navigation</h3> |
---|
| 198 | <ul> |
---|
| 199 | <li class="right" style="margin-right: 10px"> |
---|
| 200 | <a href="../../../../genindex.html" title="General Index" |
---|
| 201 | accesskey="I">index</a></li> |
---|
| 202 | <li class="right" > |
---|
| 203 | <a href="../../../../modindex.html" title="Global Module Index" |
---|
| 204 | accesskey="M">modules</a> |</li> |
---|
| 205 | <li class="right" > |
---|
| 206 | <a href="LayerParamNode.html" title="GeoExt.tree.LayerParamNode" |
---|
| 207 | accesskey="N">next</a> |</li> |
---|
| 208 | <li class="right" > |
---|
| 209 | <a href="LayerNode.html" title="GeoExt.tree.LayerNode" |
---|
| 210 | accesskey="P">previous</a> |</li> |
---|
| 211 | <li><a href="../../../../index.html">GeoExt</a> »</li> |
---|
| 212 | <li><a href="../../../index.html" >API Reference</a> »</li> |
---|
| 213 | <li><a href="../../widgets.html" >Widgets</a> »</li> |
---|
| 214 | <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.tree.LayerParamLoader</span></tt></a></li> |
---|
| 215 | </ul> |
---|
| 216 | </div> |
---|
| 217 | |
---|
| 218 | <div class="footer"> |
---|
| 219 | © Copyright 2009-2010, GeoExt Community. |
---|
| 220 | </div> |
---|
| 221 | </body> |
---|
| 222 | </html> |
---|