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/TreeNodeUIEventMixin.html @ 76

Revision 76, 8.4 KB checked in by djay, 12 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.TreeNodeUIEventMixin &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.WMSCapabilitiesLoader" href="WMSCapabilitiesLoader.html" />
26    <link rel="prev" title="GeoExt.tree.OverlayLayerContainer" href="OverlayLayerContainer.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.TreeNodeUIEventMixin</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.TreeNodeUIEventMixin</span></tt></a><ul>
70<li><a class="reference external" href="#example-use">Example Use</a></li>
71<li><a class="reference external" href="#events">Events</a></li>
72</ul>
73</li>
74</ul>
75
76            <h4>Previous topic</h4>
77            <p class="topless"><a href="OverlayLayerContainer.html"
78                                  title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">GeoExt.tree.OverlayLayerContainer</span></tt></a></p>
79            <h4>Next topic</h4>
80            <p class="topless"><a href="WMSCapabilitiesLoader.html"
81                                  title="next chapter"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.tree.WMSCapabilitiesLoader</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-treenodeuieventmixin">
92<h1><tt class="xref docutils literal"><span class="pre">GeoExt.tree.TreeNodeUIEventMixin</span></tt><a class="headerlink" href="#geoext-tree-treenodeuieventmixin" title="Permalink to this headline">¶</a></h1>
93<p>A mixin that adds events to TreeNodeUIs. With these events, tree plugins
94can modify the node ui&#8217;s DOM when it is rendered, and react to raw click
95events on tree nodes.</p>
96<div class="section" id="example-use">
97<h2>Example Use<a class="headerlink" href="#example-use" title="Permalink to this headline">¶</a></h2>
98<p>Sample code to create a tree with a node that uses the
99<tt class="xref docutils literal"><span class="pre">GeoExt.tree.TreeNodeUIEventMixin</span></tt>:</p>
100<div class="highlight-javascript"><div class="highlight"><pre><span class="kd">var</span> <span class="nx">UIClass</span> <span class="o">=</span> <span class="nx">Ext</span><span class="p">.</span><span class="nx">extend</span><span class="p">(</span>
101    <span class="nx">Ext</span><span class="p">.</span><span class="nx">tree</span><span class="p">.</span><span class="nx">TreeNodeUI</span><span class="p">,</span>
102    <span class="nx">GeoExt</span><span class="p">.</span><span class="nx">tree</span><span class="p">.</span><span class="nx">TreeNodeUIEventMixin</span>
103<span class="p">);</span>
104<span class="kd">var</span> <span class="nx">tree</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">Ext</span><span class="p">.</span><span class="nx">tree</span><span class="p">.</span><span class="nx">TreePanel</span><span class="p">({</span>
105    <span class="nx">root</span><span class="o">:</span> <span class="p">{</span>
106        <span class="nx">nodeType</span><span class="o">:</span> <span class="s2">&quot;node&quot;</span><span class="p">,</span>
107        <span class="nx">uiProvider</span><span class="o">:</span> <span class="nx">UIClass</span><span class="p">,</span>
108        <span class="nx">text</span><span class="o">:</span> <span class="s2">&quot;My Node&quot;</span>
109    <span class="p">}</span>
110<span class="p">}</span>
111</pre></div>
112</div>
113</div>
114<div class="section" id="events">
115<h2>Events<a class="headerlink" href="#events" title="Permalink to this headline">¶</a></h2>
116<p>Events.</p>
117<dl class="describe">
118<dt>
119<tt class="descname">rawclicknode</tt></dt>
120<dd><p>Fires on the tree when a node is clicked.</p>
121<p>Listener arguments:</p>
122<ul class="simple">
123<li>node - <tt class="docutils literal"><span class="pre">Ext.TreeNode</span></tt> The clicked node.</li>
124<li>event - <tt class="docutils literal"><span class="pre">Ext.EventObject</span></tt> The click event.</li>
125</ul>
126</dd></dl>
127
128<dl class="describe">
129<dt>
130<tt class="descname">rendernode</tt></dt>
131<dd><p>Fires on the tree when a node is rendered.</p>
132<p>Listener arguments:</p>
133<ul class="simple">
134<li>node - <tt class="docutils literal"><span class="pre">Ext.TreeNode</span></tt> The rendered node.</li>
135</ul>
136</dd></dl>
137
138</div>
139</div>
140
141
142          </div>
143        </div>
144      </div>
145      <div class="clearer"></div>
146    </div>
147    <div class="related">
148      <h3>Navigation</h3>
149      <ul>
150            <li class="right" style="margin-right: 10px">
151              <a href="../../../../genindex.html" title="General Index"
152                 accesskey="I">index</a></li>
153            <li class="right" >
154              <a href="../../../../modindex.html" title="Global Module Index"
155                 accesskey="M">modules</a> |</li>
156            <li class="right" >
157              <a href="WMSCapabilitiesLoader.html" title="GeoExt.tree.WMSCapabilitiesLoader"
158                 accesskey="N">next</a> |</li>
159            <li class="right" >
160              <a href="OverlayLayerContainer.html" title="GeoExt.tree.OverlayLayerContainer"
161                 accesskey="P">previous</a> |</li>
162        <li><a href="../../../../index.html">GeoExt</a> &raquo;</li>
163          <li><a href="../../../index.html" >API Reference</a> &raquo;</li>
164          <li><a href="../../widgets.html" >Widgets</a> &raquo;</li>
165        <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.tree.TreeNodeUIEventMixin</span></tt></a></li>
166      </ul>
167    </div>
168
169    <div class="footer">
170      &copy; Copyright 2009-2010, GeoExt Community.
171    </div>
172  </body>
173</html>
Note: See TracBrowser for help on using the repository browser.