source:
trunk/workshop-routing-foss4g/web/GeoExt/docs/_sources/lib/GeoExt/widgets/form/BasicForm.txt
@
76
Revision 76, 1.4 KB checked in by djay, 12 years ago (diff) | |
---|---|
|
Rev | Line | |
---|---|---|
[76] | 1 | |
2 | .. currentmodule:: GeoExt.form | |
3 | ||
4 | :class:`GeoExt.form.BasicForm` | |
5 | ================================================================================ | |
6 | ||
7 | ||
8 | .. cssclass:: meta | |
9 | ||
10 | ||
11 | Extends | |
12 | * `Ext.form.BasicForm <http://dev.sencha.com/deploy/dev/docs/?class=Ext.form.BasicForm>`_ | |
13 | ||
14 | ||
15 | ||
16 | ||
17 | ||
18 | ||
19 | ||
20 | .. class:: BasicForm(config) | |
21 | ||
22 | A specific ``Ext.form.BasicForm`` whose doAction method creates | |
23 | a :class:`GeoExt.form.SearchAction` if it is passed the string | |
24 | "search" as its first argument. | |
25 | ||
26 | In most cases one would not use this class directly, but | |
27 | :class:`GeoExt.form.FormPanel` instead. | |
28 | ||
29 | ||
30 | ||
31 | ||
32 | ||
33 | ||
34 | ||
35 | ||
36 | ||
37 | Public Methods | |
38 | -------------- | |
39 | ||
40 | Public methods in addition to those | |
41 | listed for `Ext.form.BasicForm <http://dev.sencha.com/deploy/dev/docs/?class=Ext.form.BasicForm>`_. | |
42 | ||
43 | ||
44 | .. method:: BasicForm.doAction | |
45 | ||
46 | :param action: ``String or Ext.form.Action`` Either the name | |
47 | of the action or a ``Ext.form.Action`` instance. | |
48 | :param options: ``Object`` The options passed to the Action | |
49 | constructor. | |
50 | :return: :class:`GeoExt.form.BasicForm` This form. | |
51 | ||
52 | Performs the action, if the string "search" is passed as the | |
53 | first argument then a :class:`GeoExt.form.SearchAction` is created. | |
54 | ||
55 | .. method:: BasicForm.search | |
56 | ||
57 | :param options: ``Object`` The options passed to the Action | |
58 | constructor. | |
59 | :return: :class:`GeoExt.form.BasicForm` This form. | |
60 | ||
61 | Shortcut to do a search action. | |
62 | ||
63 | ||
64 | ||
65 | ||
66 |
Note: See TracBrowser
for help on using the repository browser.