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

Revision 76, 13.6 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.plugins.PrintProviderField &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="GeoExt.plugins" href="../plugins.html" />
25    <link rel="next" title="GeoExt.plugins.TreeNodeComponent" href="TreeNodeComponent.html" />
26    <link rel="prev" title="GeoExt.plugins.PrintPageField" href="PrintPageField.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="../plugins.html" accesskey="U"><tt class="docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal"><span class="pre">GeoExt.plugins</span></tt></a> &raquo;</li>
61        <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.plugins.PrintProviderField</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.plugins.PrintProviderField</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="PrintPageField.html"
78                                  title="previous chapter"><tt class="docutils literal docutils literal docutils literal"><span class="pre">GeoExt.plugins.PrintPageField</span></tt></a></p>
79            <h4>Next topic</h4>
80            <p class="topless"><a href="TreeNodeComponent.html"
81                                  title="next chapter"><tt class="docutils literal"><span class="pre">GeoExt.plugins.TreeNodeComponent</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-plugins-printproviderfield">
92<h1><a title="GeoExt.plugins.PrintProviderField" class="reference internal" href="#GeoExt.plugins.PrintProviderField"><tt class="xref docutils literal"><span class="pre">GeoExt.plugins.PrintProviderField</span></tt></a><a class="headerlink" href="#geoext-plugins-printproviderfield" 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.util.Observable">Ext.util.Observable</a></li>
97</ul>
98</dd>
99<dt>ptype</dt>
100<dd><tt class="docutils literal"><span class="pre">gx_printproviderfield</span></tt></dd>
101</dl>
102<dl class="class">
103<dt id="GeoExt.plugins.PrintProviderField">
104<em class="property">class </em><tt class="descclassname">GeoExt.plugins.</tt><tt class="descname">PrintProviderField</tt><a class="headerlink" href="#GeoExt.plugins.PrintProviderField" title="Permalink to this definition">¶</a></dt>
105<dd></dd></dl>
106
107<p>A plugin for <tt class="docutils literal"><span class="pre">Ext.form.Field</span></tt> components which provides synchronization
108with a <a title="GeoExt.data.PrintProvider" class="reference external" href="../data/PrintProvider.html#GeoExt.data.PrintProvider"><tt class="xref docutils literal"><span class="pre">GeoExt.data.PrintProvider</span></tt></a>.</p>
109<div class="section" id="example-use">
110<h2>Example Use<a class="headerlink" href="#example-use" title="Permalink to this headline">¶</a></h2>
111<p>A form with combo boxes for layout and resolution, and a text field for a
112map title. The latter is a custom parameter to the print module, which is
113a default for all print pages. For setting custom parameters on the page
114level, use <a title="GeoExt.plugins.PrintPageField" class="reference external" href="PrintPageField.html#GeoExt.plugins.PrintPageField"><tt class="xref docutils literal"><span class="pre">GeoExt.plugins.PrintPageField</span></tt></a>):</p>
115<div class="highlight-javascript"><div class="highlight"><pre><span class="kd">var</span> <span class="nx">printProvider</span> <span class="o">=</span> <span class="k">new</span> <span class="nx">GeoExt</span><span class="p">.</span><span class="nx">data</span><span class="p">.</span><span class="nx">PrintProvider</span><span class="p">({</span>
116    <span class="nx">capabilities</span><span class="o">:</span> <span class="nx">printCapabilities</span>
117<span class="p">});</span>
118<span class="k">new</span> <span class="nx">Ext</span><span class="p">.</span><span class="nx">form</span><span class="p">.</span><span class="nx">FormPanel</span><span class="p">({</span>
119    <span class="nx">renderTo</span><span class="o">:</span> <span class="s2">&quot;form&quot;</span><span class="p">,</span>
120    <span class="nx">width</span><span class="o">:</span> <span class="mi">200</span><span class="p">,</span>
121    <span class="nx">height</span><span class="o">:</span> <span class="mi">300</span><span class="p">,</span>
122    <span class="nx">items</span><span class="o">:</span> <span class="p">[{</span>
123        <span class="nx">xtype</span><span class="o">:</span> <span class="s2">&quot;combo&quot;</span><span class="p">,</span>
124        <span class="nx">displayField</span><span class="o">:</span> <span class="s2">&quot;name&quot;</span><span class="p">,</span>
125        <span class="nx">store</span><span class="o">:</span> <span class="nx">printProvider</span><span class="p">.</span><span class="nx">layouts</span><span class="p">,</span> <span class="c1">// printProvider.layout</span>
126        <span class="nx">fieldLabel</span><span class="o">:</span> <span class="s2">&quot;Layout&quot;</span><span class="p">,</span>
127        <span class="nx">typeAhead</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
128        <span class="nx">mode</span><span class="o">:</span> <span class="s2">&quot;local&quot;</span><span class="p">,</span>
129        <span class="nx">forceSelection</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
130        <span class="nx">triggerAction</span><span class="o">:</span> <span class="s2">&quot;all&quot;</span><span class="p">,</span>
131        <span class="nx">selectOnFocus</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
132        <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">plugins</span><span class="p">.</span><span class="nx">PrintProviderField</span><span class="p">({</span>
133            <span class="nx">printProvider</span><span class="o">:</span> <span class="nx">printProvider</span>
134        <span class="p">})</span>
135    <span class="p">},</span> <span class="p">{</span>
136        <span class="nx">xtype</span><span class="o">:</span> <span class="s2">&quot;combo&quot;</span><span class="p">,</span>
137        <span class="nx">displayField</span><span class="o">:</span> <span class="s2">&quot;name&quot;</span><span class="p">,</span>
138        <span class="nx">store</span><span class="o">:</span> <span class="nx">printProvider</span><span class="p">.</span><span class="nx">dpis</span><span class="p">,</span> <span class="c1">// printProvider.dpi</span>
139        <span class="nx">fieldLabel</span><span class="o">:</span> <span class="s2">&quot;Resolution&quot;</span><span class="p">,</span>
140        <span class="nx">typeAhead</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
141        <span class="nx">mode</span><span class="o">:</span> <span class="s2">&quot;local&quot;</span><span class="p">,</span>
142        <span class="nx">forceSelection</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
143        <span class="nx">triggerAction</span><span class="o">:</span> <span class="s2">&quot;all&quot;</span><span class="p">,</span>
144        <span class="nx">selectOnFocus</span><span class="o">:</span> <span class="kc">true</span><span class="p">,</span>
145        <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">plugins</span><span class="p">.</span><span class="nx">PrintProviderField</span><span class="p">({</span>
146            <span class="nx">printProvider</span><span class="o">:</span> <span class="nx">printProvider</span>
147        <span class="p">})</span>
148    <span class="p">},</span> <span class="p">{</span>
149        <span class="nx">xtype</span><span class="o">:</span> <span class="s2">&quot;textfield&quot;</span><span class="p">,</span>
150        <span class="nx">name</span><span class="o">:</span> <span class="s2">&quot;mapTitle&quot;</span><span class="p">,</span> <span class="c1">// printProvider.customParams.mapTitle</span>
151        <span class="nx">fieldLabel</span><span class="o">:</span> <span class="s2">&quot;Map Title&quot;</span><span class="p">,</span>
152        <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">plugins</span><span class="p">.</span><span class="nx">PrintProviderField</span><span class="p">({</span>
153            <span class="nx">printProvider</span><span class="o">:</span> <span class="nx">printProvider</span>
154        <span class="p">})</span>
155    <span class="p">}]</span>
156<span class="p">})</span><span class="o">:</span>
157</pre></div>
158</div>
159</div>
160<div class="section" id="config-options">
161<h2>Config Options<a class="headerlink" href="#config-options" title="Permalink to this headline">¶</a></h2>
162<p>Configuration properties in addition to
163those listed for <a class="reference external" href="http://dev.sencha.com/deploy/dev/docs/?class=Ext.util.Observable">Ext.util.Observable</a>.</p>
164<dl class="describe">
165<dt>
166<tt class="descname">printProvider</tt></dt>
167<dd><tt class="docutils literal"><span class="pre">GeoExt.data.PrintProvider</span></tt> The print provider to use with this
168plugin&#8217;s field. Not required if set on the owner container of the
169field.</dd></dl>
170
171</div>
172</div>
173
174
175          </div>
176        </div>
177      </div>
178      <div class="clearer"></div>
179    </div>
180    <div class="related">
181      <h3>Navigation</h3>
182      <ul>
183            <li class="right" style="margin-right: 10px">
184              <a href="../../../genindex.html" title="General Index"
185                 accesskey="I">index</a></li>
186            <li class="right" >
187              <a href="../../../modindex.html" title="Global Module Index"
188                 accesskey="M">modules</a> |</li>
189            <li class="right" >
190              <a href="TreeNodeComponent.html" title="GeoExt.plugins.TreeNodeComponent"
191                 accesskey="N">next</a> |</li>
192            <li class="right" >
193              <a href="PrintPageField.html" title="GeoExt.plugins.PrintPageField"
194                 accesskey="P">previous</a> |</li>
195        <li><a href="../../../index.html">GeoExt</a> &raquo;</li>
196          <li><a href="../../index.html" >API Reference</a> &raquo;</li>
197          <li><a href="../plugins.html" ><tt class="docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal docutils literal"><span class="pre">GeoExt.plugins</span></tt></a> &raquo;</li>
198        <li><a href="#"><tt class="docutils literal docutils literal"><span class="pre">GeoExt.plugins.PrintProviderField</span></tt></a></li>
199      </ul>
200    </div>
201
202    <div class="footer">
203      &copy; Copyright 2009-2010, GeoExt Community.
204    </div>
205  </body>
206</html>
Note: See TracBrowser for help on using the repository browser.