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

Revision 76, 9.3 KB checked in by djay, 7 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.LayerOpacitySliderTip &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.SliderTip" href="SliderTip.html" />
26    <link rel="prev" title="GeoExt.ZoomSlider" href="../ZoomSlider.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.LayerOpacitySliderTip</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.LayerOpacitySliderTip</span></tt></a><ul>
70<li><a class="reference external" href="#example-use">Example Use</a></li>
71<li><a class="reference external" href="#config-options">Config Options</a></li>
72</ul>
73</li>
74</ul>
75
76            <h4>Previous topic</h4>
77            <p class="topless"><a href="../ZoomSlider.html"
78                                  title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">GeoExt.ZoomSlider</span></tt></a></p>
79            <h4>Next topic</h4>
80            <p class="topless"><a href="SliderTip.html"
81                                  title="next chapter"><tt class="docutils literal"><span class="pre">GeoExt.SliderTip</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-layeropacityslidertip">
92<h1><a title="GeoExt.LayerOpacitySliderTip" class="reference internal" href="#GeoExt.LayerOpacitySliderTip"><tt class="xref docutils literal"><span class="pre">GeoExt.LayerOpacitySliderTip</span></tt></a><a class="headerlink" href="#geoext-layeropacityslidertip" 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.Tip">Ext.Tip</a></li>
97<li><a title="GeoExt.SliderTip" class="reference external" href="SliderTip.html#GeoExt.SliderTip"><tt class="xref docutils literal"><span class="pre">GeoExt.SliderTip</span></tt></a></li>
98</ul>
99</dd>
100</dl>
101<dl class="class">
102<dt id="GeoExt.LayerOpacitySliderTip">
103<em class="property">class </em><tt class="descclassname">GeoExt.</tt><tt class="descname">LayerOpacitySliderTip</tt><big>(</big><em>config</em><big>)</big><a class="headerlink" href="#GeoExt.LayerOpacitySliderTip" title="Permalink to this definition">¶</a></dt>
104<dd>Create a slider tip displaying <a title="GeoExt.LayerOpacitySlider" class="reference external" href="../LayerOpacitySlider.html#GeoExt.LayerOpacitySlider"><tt class="xref docutils literal"><span class="pre">GeoExt.LayerOpacitySlider</span></tt></a> values.</dd></dl>
105
106<div class="section" id="example-use">
107<h2>Example Use<a class="headerlink" href="#example-use" title="Permalink to this headline">¶</a></h2>
108<p>Sample code to create a slider tip to display scale and resolution:</p>
109<div class="highlight-javascript"><div class="highlight"><pre><span class="kd">var</span> <span class="nx">slider</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">GeoExt</span><span class="p">.</span><span class="nx">LayerOpacitySlider</span><span class="p">({</span>
110    <span class="nx">renderTo</span><span class="o">:</span> <span class="nb">document</span><span class="p">.</span><span class="nx">body</span><span class="p">,</span>
111    <span class="nx">width</span><span class="o">:</span> <span class="mi">200</span><span class="p">,</span>
112    <span class="nx">layer</span><span class="o">:</span> <span class="nx">layer</span><span class="p">,</span>
113    <span class="nx">plugins</span><span class="o">:</span> <span class="k">new</span> <span class="nx">GeoExt</span><span class="p">.</span><span class="nx">LayerOpacitySliderTip</span><span class="p">({</span>
114        <span class="nx">template</span><span class="o">:</span> <span class="s2">&quot;Opacity: {opacity}%&quot;</span>
115    <span class="p">})</span>
116<span class="p">});</span>
117</pre></div>
118</div>
119</div>
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.Tip">Ext.Tip</a>.</p>
124<dl class="describe">
125<dt>
126<tt class="descname">hover</tt></dt>
127<dd><tt class="docutils literal"><span class="pre">Boolean</span></tt>
128Display the tip when hovering over the thumb.  If <tt class="docutils literal"><span class="pre">false</span></tt>, tip will
129only be displayed while dragging.  Default is <tt class="docutils literal"><span class="pre">true</span></tt>.</dd></dl>
130
131<dl class="describe">
132<dt>
133<tt class="descname">minWidth</tt></dt>
134<dd><tt class="docutils literal"><span class="pre">Number</span></tt>
135Minimum width of the tip.  Default is 10.</dd></dl>
136
137<dl class="describe">
138<dt>
139<tt class="descname">offsets</tt></dt>
140<dd><tt class="docutils literal"><span class="pre">Array(Number)</span></tt>
141A two item list that provides x, y offsets for the tip.  Default is
142[0, -10].</dd></dl>
143
144<dl class="describe">
145<dt>
146<tt class="descname">template</tt></dt>
147<dd><p><tt class="docutils literal"><span class="pre">String</span></tt>
148Template for the tip. Can be customized using the following keywords in
149curly braces:</p>
150<ul class="simple">
151<li><tt class="docutils literal"><span class="pre">opacity</span></tt> - the opacity value in percent.</li>
152</ul>
153</dd></dl>
154
155</div>
156</div>
157
158
159          </div>
160        </div>
161      </div>
162      <div class="clearer"></div>
163    </div>
164    <div class="related">
165      <h3>Navigation</h3>
166      <ul>
167            <li class="right" style="margin-right: 10px">
168              <a href="../../../../genindex.html" title="General Index"
169                 accesskey="I">index</a></li>
170            <li class="right" >
171              <a href="../../../../modindex.html" title="Global Module Index"
172                 accesskey="M">modules</a> |</li>
173            <li class="right" >
174              <a href="SliderTip.html" title="GeoExt.SliderTip"
175                 accesskey="N">next</a> |</li>
176            <li class="right" >
177              <a href="../ZoomSlider.html" title="GeoExt.ZoomSlider"
178                 accesskey="P">previous</a> |</li>
179        <li><a href="../../../../index.html">GeoExt</a> &raquo;</li>
180          <li><a href="../../../index.html" >API Reference</a> &raquo;</li>
181          <li><a href="../../widgets.html" >Widgets</a> &raquo;</li>
182        <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.LayerOpacitySliderTip</span></tt></a></li>
183      </ul>
184    </div>
185
186    <div class="footer">
187      &copy; Copyright 2009-2010, GeoExt Community.
188    </div>
189  </body>
190</html>
Note: See TracBrowser for help on using the repository browser.