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