source:
trunk/workshop-routing-foss4g/web/GeoExt/docs/_sources/lib/GeoExt/widgets/tree/LayerParamNode.txt
@
76
Revision 76, 1.8 KB checked in by djay, 11 years ago (diff) | |
---|---|
|
Line | |
---|---|
1 | |
2 | .. currentmodule:: GeoExt.tree |
3 | |
4 | :class:`GeoExt.tree.LayerParamNode` |
5 | ================================================================================ |
6 | |
7 | |
8 | .. cssclass:: meta |
9 | |
10 | |
11 | Extends |
12 | * `Ext.tree.TreeNode <http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.TreeNode>`_ |
13 | |
14 | |
15 | |
16 | |
17 | |
18 | |
19 | |
20 | .. class:: LayerParamNode |
21 | |
22 | A subclass of ``Ext.tree.TreeNode`` that represents a value of a list of |
23 | values provided as one of an ``OpenLayers.Layer.HTTPRequest``'s params. |
24 | The default iconCls for this node's icon is "gx-tree-layerparam-icon". |
25 | |
26 | To use this node type in a ``TreePanel`` config, set ``nodeType`` to |
27 | "gx_layerparam". |
28 | |
29 | |
30 | |
31 | |
32 | |
33 | Config Options |
34 | -------------- |
35 | |
36 | Configuration properties in addition to |
37 | those listed for `Ext.tree.TreeNode <http://dev.sencha.com/deploy/dev/docs/?class=Ext.tree.TreeNode>`_. |
38 | |
39 | |
40 | .. describe:: delimiter |
41 | |
42 | ``String`` Delimiter of the ``param``'s value's items. Default is |
43 | ``,`` (comma). If the ``param``'s value is an array, this property |
44 | has no effect. |
45 | |
46 | .. describe:: item |
47 | |
48 | ``String`` The param's value's item that this node represents. |
49 | |
50 | .. describe:: layer |
51 | |
52 | ``OpenLayers.Layer.HTTPRequest|String`` The layer that this node |
53 | represents a subnode of. If provided as string, the string has to |
54 | match the title of one of the records in the ``layerStore``. |
55 | |
56 | .. describe:: layerStore |
57 | |
58 | :class:`GeoExt.data.LayerStore` Only used if layer is provided as |
59 | string. The store where we can find the layer. If not provided, the |
60 | store of a map panel found by ``GeoExt.MapPanel::guess`` will be used. |
61 | |
62 | .. describe:: param |
63 | |
64 | ``String`` Key for a param (key-value pair in the params object of the |
65 | layer) that this node represents an item of. The value can either be an |
66 | ``Array`` or a ``String``, delimited by the character (or string) |
67 | provided as ``delimiter`` config option. |
68 | |
69 | |
70 | |
71 | |
72 | |
73 | |
74 | |
75 | |
76 |
Note: See TracBrowser
for help on using the repository browser.