source:
trunk/workshop-routing-foss4g/web/GeoExt/docs/_sources/lib/GeoExt/widgets/UrlLegend.txt
@
76
Revision 76, 1.2 KB checked in by djay, 12 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[76] | 1 | |
2 | .. currentmodule:: GeoExt | |
3 | ||
4 | :class:`GeoExt.UrlLegend` | |
5 | ================================================================================ | |
6 | ||
7 | ||
8 | .. cssclass:: meta | |
9 | ||
10 | ||
11 | Extends | |
12 | * `Ext.Container <http://dev.sencha.com/deploy/dev/docs/?class=Ext.Container>`_ | |
13 | * :class:`GeoExt.LayerLegend` | |
14 | ||
15 | ||
16 | ||
17 | xtype | |
18 | ``gx_urllegend`` | |
19 | ||
20 | ||
21 | ||
22 | ||
23 | .. class:: UrlLegend(config) | |
24 | ||
25 | Show a legend image in a BoxComponent and make sure load errors are | |
26 | dealt with. | |
27 | ||
28 | ||
29 | ||
30 | ||
31 | ||
32 | Config Options | |
33 | -------------- | |
34 | ||
35 | Configuration properties in addition to | |
36 | those listed for `Ext.Container <http://dev.sencha.com/deploy/dev/docs/?class=Ext.Container>`_. | |
37 | ||
38 | ||
39 | .. describe:: labelCls | |
40 | ||
41 | ``String`` | |
42 | Optional css class to use for the layer title labels. | |
43 | ||
44 | .. describe:: layerRecord | |
45 | ||
46 | :class:`GeoExt.data.LayerRecord` The layer record for the legend | |
47 | ||
48 | .. describe:: legendTitle | |
49 | ||
50 | ``String`` | |
51 | Optional title to be displayed instead of the layer title. If this is | |
52 | set, the value of ``showTitle`` will be ignored (assumed to be true). | |
53 | ||
54 | .. describe:: showTitle | |
55 | ||
56 | ``Boolean`` | |
57 | Whether or not to show the title of a layer. This can be overridden | |
58 | on the LayerStore record using the hideTitle property. | |
59 | ||
60 | ||
61 | ||
62 | ||
63 | ||
64 | ||
65 | ||
66 | ||
67 |
Note: See TracBrowser
for help on using the repository browser.