Bienvenue sur PostGIS.fr

Bienvenue sur PostGIS.fr , le site de la communauté des utilisateurs francophones de PostGIS.

PostGIS ajoute le support d'objets géographique à la base de données PostgreSQL. En effet, PostGIS "spatialise" le serverur PostgreSQL, ce qui permet de l'utiliser comme une base de données SIG.

Maintenu à jour, en fonction de nos disponibilités et des diverses sorties des outils que nous testons, nous vous proposons l'ensemble de nos travaux publiés en langue française.

source: trunk/workshop-routing-foss4g/web/GeoExt/docs/lib/GeoExt/widgets/tree/LayerNode.html @ 76

Revision 76, 10.7 KB checked in by djay, 10 years ago (diff)

Ajout du répertoire web

  • Property svn:executable set to *
Line 
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.LayerNode &mdash; 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.LayerParamLoader" href="LayerParamLoader.html" />
26    <link rel="prev" title="GeoExt.tree.LayerLoader" href="LayerLoader.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 &hellip;" tabindex="3" onblur="if(this.value=='') this.value='Search &hellip;';" onfocus="if(this.value=='Search &hellip;') 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> &raquo;</li>
59          <li><a href="../../../index.html" >API Reference</a> &raquo;</li>
60          <li><a href="../../widgets.html" accesskey="U">Widgets</a> &raquo;</li>
61        <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.tree.LayerNode</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.LayerNode</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-properties">Public Properties</a></li>
72</ul>
73</li>
74</ul>
75
76            <h4>Previous topic</h4>
77            <p class="topless"><a href="LayerLoader.html"
78                                  title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">GeoExt.tree.LayerLoader</span></tt></a></p>
79            <h4>Next topic</h4>
80            <p class="topless"><a href="LayerParamLoader.html"
81                                  title="next chapter"><tt class="docutils literal"><span class="pre">GeoExt.tree.LayerParamLoader</span></tt></a></p>
82        </div>
83      </div>
84
85
86    <div class="document">
87      <div class="documentwrapper">
88        <div class="bodywrapper">
89          <div class="body">
90           
91  <div class="section" id="geoext-tree-layernode">
92<h1><a title="GeoExt.tree.LayerNode" class="reference internal" href="#GeoExt.tree.LayerNode"><tt class="xref docutils literal"><span class="pre">GeoExt.tree.LayerNode</span></tt></a><a class="headerlink" href="#geoext-tree-layernode" title="Permalink to this headline">¶</a></h1>
93<dl class="meta docutils">
94<dt>Extends</dt>
95<dd><ul class="first last simple">
96<li><a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.TreeNode">Ext.tree.TreeNode</a></li>
97</ul>
98</dd>
99</dl>
100<dl class="class">
101<dt id="GeoExt.tree.LayerNode">
102<em class="property">class </em><tt class="descclassname">GeoExt.tree.</tt><tt class="descname">LayerNode</tt><big>(</big><em>config</em><big>)</big><a class="headerlink" href="#GeoExt.tree.LayerNode" title="Permalink to this definition">¶</a></dt>
103<dd><p>A subclass of <tt class="docutils literal"><span class="pre">Ext.tree.TreeNode</span></tt> that is connected to an
104<tt class="docutils literal"><span class="pre">OpenLayers.Layer</span></tt> by setting the node&#8217;s layer property. Checking or
105unchecking the checkbox of this node will directly affect the layer and
106vice versa. The default iconCls for this node&#8217;s icon is
107&#8220;gx-tree-layer-icon&#8221;, unless it has children.</p>
108<p>Setting the node&#8217;s layer property to a layer name instead of an object
109will also work. As soon as a layer is found, it will be stored as layer
110property in the attributes hash.</p>
111<p>The node&#8217;s text property defaults to the layer name.</p>
112<p>If the node has a checkedGroup attribute configured, it will be
113rendered with a radio button instead of the checkbox. The value of
114the checkedGroup attribute is a string, identifying the options group
115for the node.</p>
116<p>To use this node type in a <tt class="docutils literal"><span class="pre">TreePanel</span></tt> config, set <tt class="docutils literal"><span class="pre">nodeType</span></tt> to
117&#8220;gx_layer&#8221;.</p>
118</dd></dl>
119
120<div class="section" id="config-options">
121<h2>Config Options<a class="headerlink" href="#config-options" title="Permalink to this headline">¶</a></h2>
122<p>Configuration properties in addition to
123those listed for <a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.TreeNode">Ext.tree.TreeNode</a>.</p>
124<dl class="describe">
125<dt>
126<tt class="descname">layer</tt></dt>
127<dd><tt class="docutils literal"><span class="pre">OpenLayers.Layer</span> <span class="pre">or</span> <span class="pre">String</span></tt>
128The layer that this layer node will
129be bound to, or the name of the layer (has to match the layer&#8217;s
130name property). If a layer name is provided, <tt class="docutils literal"><span class="pre">layerStore</span></tt> also has
131to be provided.</dd></dl>
132
133<dl class="describe">
134<dt>
135<tt class="descname">layerStore</tt></dt>
136<dd><a title="GeoExt.data.LayerStore" class="reference external" href="../../data/LayerStore.html#GeoExt.data.LayerStore"><tt class="xref docutils literal"><span class="pre">GeoExt.data.LayerStore</span></tt></a> <tt class="docutils literal"><span class="pre">or</span> <span class="pre">&quot;auto&quot;</span></tt>
137The layer store containing the layer that this node represents.  If set
138to &#8220;auto&#8221;, the node will query the ComponentManager for a
139<a title="GeoExt.MapPanel" class="reference external" href="../MapPanel.html#GeoExt.MapPanel"><tt class="xref docutils literal"><span class="pre">GeoExt.MapPanel</span></tt></a>, take the first one it finds and take its layer
140store. This property is only required if <tt class="docutils literal"><span class="pre">layer</span></tt> is provided as a
141string.</dd></dl>
142
143<dl class="describe">
144<dt>
145<tt class="descname">loader</tt></dt>
146<dd><tt class="docutils literal"><span class="pre">Ext.tree.TreeLoader|Object</span></tt> If provided, subnodes will be added to
147this LayerNode. Obviously, only loaders that process an
148<tt class="docutils literal"><span class="pre">OpenLayers.Layer</span></tt> or <a title="GeoExt.data.LayerRecord" class="reference external" href="../../data/LayerRecord.html#GeoExt.data.LayerRecord"><tt class="xref docutils literal"><span class="pre">GeoExt.data.LayerRecord</span></tt></a> (like
149<tt class="xref docutils literal"><span class="pre">GeoExt.tree.LayerParamsLoader</span></tt>) will actually generate child
150nodes here. If provided as <tt class="docutils literal"><span class="pre">Object</span></tt>, a
151<a title="GeoExt.tree.LayerParamLoader" class="reference external" href="LayerParamLoader.html#GeoExt.tree.LayerParamLoader"><tt class="xref docutils literal"><span class="pre">GeoExt.tree.LayerParamLoader</span></tt></a> instance will be created, with
152the provided object as configuration.</dd></dl>
153
154</div>
155<div class="section" id="public-properties">
156<h2>Public Properties<a class="headerlink" href="#public-properties" title="Permalink to this headline">¶</a></h2>
157<p>Public properties in addition to those
158listed for <a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.TreeNode">Ext.tree.TreeNode</a>.</p>
159<dl class="attribute">
160<dt id="GeoExt.tree.LayerNode.layer">
161<tt class="descclassname">LayerNode.</tt><tt class="descname">layer</tt><a class="headerlink" href="#GeoExt.tree.LayerNode.layer" title="Permalink to this definition">¶</a></dt>
162<dd><tt class="docutils literal"><span class="pre">OpenLayers.Layer</span></tt>
163The layer this node is bound to.</dd></dl>
164
165</div>
166</div>
167
168
169          </div>
170        </div>
171      </div>
172      <div class="clearer"></div>
173    </div>
174    <div class="related">
175      <h3>Navigation</h3>
176      <ul>
177            <li class="right" style="margin-right: 10px">
178              <a href="../../../../genindex.html" title="General Index"
179                 accesskey="I">index</a></li>
180            <li class="right" >
181              <a href="../../../../modindex.html" title="Global Module Index"
182                 accesskey="M">modules</a> |</li>
183            <li class="right" >
184              <a href="LayerParamLoader.html" title="GeoExt.tree.LayerParamLoader"
185                 accesskey="N">next</a> |</li>
186            <li class="right" >
187              <a href="LayerLoader.html" title="GeoExt.tree.LayerLoader"
188                 accesskey="P">previous</a> |</li>
189        <li><a href="../../../../index.html">GeoExt</a> &raquo;</li>
190          <li><a href="../../../index.html" >API Reference</a> &raquo;</li>
191          <li><a href="../../widgets.html" >Widgets</a> &raquo;</li>
192        <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.tree.LayerNode</span></tt></a></li>
193      </ul>
194    </div>
195
196    <div class="footer">
197      &copy; Copyright 2009-2010, GeoExt Community.
198    </div>
199  </body>
200</html>
Note: See TracBrowser for help on using the repository browser.