This repository has been archived by the owner on Mar 19, 2020. It is now read-only.
/
Ext_app_Application.t-c.html
206 lines (199 loc) · 17.3 KB
/
Ext_app_Application.t-c.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<link rel="stylesheet" href="css/style.css" type="text/css">
<meta content="text/html; charset=iso-8859-1" http-equiv="Content-Type">
<link rel="Start" href="index.html">
<link rel="next" href="Ext_app_Application.configs-c.html">
<link rel="Up" href="Ext_app_Application.html">
<link title="Index of values" rel=Appendix href="index_values.html">
<link title="Index of class methods" rel=Appendix href="index_methods.html">
<link title="Index of class types" rel=Appendix href="index_class_types.html">
<link title="Index of modules" rel=Appendix href="index_modules.html">
<link title="Ext" rel="Chapter" href="Ext.html">
<link title="Ext_AbstractComponent" rel="Chapter" href="Ext_AbstractComponent.html">
<link title="Ext_AbstractPlugin" rel="Chapter" href="Ext_AbstractPlugin.html">
<link title="Ext_app_Application" rel="Chapter" href="Ext_app_Application.html">
<link title="Ext_app_Controller" rel="Chapter" href="Ext_app_Controller.html">
<link title="Ext_Base" rel="Chapter" href="Ext_Base.html">
<link title="Ext_button_Button" rel="Chapter" href="Ext_button_Button.html">
<link title="Ext_Class" rel="Chapter" href="Ext_Class.html">
<link title="Ext_Component" rel="Chapter" href="Ext_Component.html">
<link title="Ext_ComponentLoader" rel="Chapter" href="Ext_ComponentLoader.html">
<link title="Ext_chart_Callout" rel="Chapter" href="Ext_chart_Callout.html">
<link title="Ext_chart_Chart" rel="Chapter" href="Ext_chart_Chart.html">
<link title="Ext_chart_Label" rel="Chapter" href="Ext_chart_Label.html">
<link title="Ext_chart_Highlight" rel="Chapter" href="Ext_chart_Highlight.html">
<link title="Ext_chart_Mask" rel="Chapter" href="Ext_chart_Mask.html">
<link title="Ext_chart_Navigation" rel="Chapter" href="Ext_chart_Navigation.html">
<link title="Ext_chart_Tip" rel="Chapter" href="Ext_chart_Tip.html">
<link title="Ext_chart_axis_Abstract" rel="Chapter" href="Ext_chart_axis_Abstract.html">
<link title="Ext_chart_axis_Axis" rel="Chapter" href="Ext_chart_axis_Axis.html">
<link title="Ext_chart_series_Series" rel="Chapter" href="Ext_chart_series_Series.html">
<link title="Ext_chart_theme_Theme" rel="Chapter" href="Ext_chart_theme_Theme.html">
<link title="Ext_container_AbstractContainer" rel="Chapter" href="Ext_container_AbstractContainer.html">
<link title="Ext_container_Container" rel="Chapter" href="Ext_container_Container.html">
<link title="Ext_container_DockingContainer" rel="Chapter" href="Ext_container_DockingContainer.html">
<link title="Ext_container_Viewport" rel="Chapter" href="Ext_container_Viewport.html">
<link title="Ext_Date" rel="Chapter" href="Ext_Date.html">
<link title="Ext_data_AbstractStore" rel="Chapter" href="Ext_data_AbstractStore.html">
<link title="Ext_data_Batch" rel="Chapter" href="Ext_data_Batch.html">
<link title="Ext_data_Errors" rel="Chapter" href="Ext_data_Errors.html">
<link title="Ext_data_Field" rel="Chapter" href="Ext_data_Field.html">
<link title="Ext_data_Model" rel="Chapter" href="Ext_data_Model.html">
<link title="Ext_data_Operation" rel="Chapter" href="Ext_data_Operation.html">
<link title="Ext_data_proxy_Ajax" rel="Chapter" href="Ext_data_proxy_Ajax.html">
<link title="Ext_data_proxy_Proxy" rel="Chapter" href="Ext_data_proxy_Proxy.html">
<link title="Ext_data_proxy_Server" rel="Chapter" href="Ext_data_proxy_Server.html">
<link title="Ext_data_reader_Reader" rel="Chapter" href="Ext_data_reader_Reader.html">
<link title="Ext_data_Request" rel="Chapter" href="Ext_data_Request.html">
<link title="Ext_data_ResultSet" rel="Chapter" href="Ext_data_ResultSet.html">
<link title="Ext_data_Store" rel="Chapter" href="Ext_data_Store.html">
<link title="Ext_data_writer_Writer" rel="Chapter" href="Ext_data_writer_Writer.html">
<link title="Ext_dd_DD" rel="Chapter" href="Ext_dd_DD.html">
<link title="Ext_dd_DDProxy" rel="Chapter" href="Ext_dd_DDProxy.html">
<link title="Ext_dd_DDTarget" rel="Chapter" href="Ext_dd_DDTarget.html">
<link title="Ext_dd_DragDrop" rel="Chapter" href="Ext_dd_DragDrop.html">
<link title="Ext_dd_DragSource" rel="Chapter" href="Ext_dd_DragSource.html">
<link title="Ext_dd_DragTracker" rel="Chapter" href="Ext_dd_DragTracker.html">
<link title="Ext_dd_StatusProxy" rel="Chapter" href="Ext_dd_StatusProxy.html">
<link title="Ext_dom_AbstractElement" rel="Chapter" href="Ext_dom_AbstractElement.html">
<link title="Ext_dom_CompositeElement" rel="Chapter" href="Ext_dom_CompositeElement.html">
<link title="Ext_dom_CompositeElementLite" rel="Chapter" href="Ext_dom_CompositeElementLite.html">
<link title="Ext_dom_Element" rel="Chapter" href="Ext_dom_Element.html">
<link title="Ext_dom_Element_Fly" rel="Chapter" href="Ext_dom_Element_Fly.html">
<link title="Ext_draw_Component" rel="Chapter" href="Ext_draw_Component.html">
<link title="Ext_draw_Sprite" rel="Chapter" href="Ext_draw_Sprite.html">
<link title="Ext_draw_Surface" rel="Chapter" href="Ext_draw_Surface.html">
<link title="Ext_ElementLoader" rel="Chapter" href="Ext_ElementLoader.html">
<link title="Ext_Error" rel="Chapter" href="Ext_Error.html">
<link title="Ext_EventObject" rel="Chapter" href="Ext_EventObject.html">
<link title="Ext_enums_Widget" rel="Chapter" href="Ext_enums_Widget.html">
<link title="Ext_form_action_Action" rel="Chapter" href="Ext_form_action_Action.html">
<link title="Ext_form_Basic" rel="Chapter" href="Ext_form_Basic.html">
<link title="Ext_form_FieldAncestor" rel="Chapter" href="Ext_form_FieldAncestor.html">
<link title="Ext_form_field_Base" rel="Chapter" href="Ext_form_field_Base.html">
<link title="Ext_form_field_Field" rel="Chapter" href="Ext_form_field_Field.html">
<link title="Ext_form_field_Text" rel="Chapter" href="Ext_form_field_Text.html">
<link title="Ext_form_Labelable" rel="Chapter" href="Ext_form_Labelable.html">
<link title="Ext_form_Panel" rel="Chapter" href="Ext_form_Panel.html">
<link title="Ext_grid_column_Column" rel="Chapter" href="Ext_grid_column_Column.html">
<link title="Ext_grid_feature_Feature" rel="Chapter" href="Ext_grid_feature_Feature.html">
<link title="Ext_grid_header_Container" rel="Chapter" href="Ext_grid_header_Container.html">
<link title="Ext_grid_locking_Lockable" rel="Chapter" href="Ext_grid_locking_Lockable.html">
<link title="Ext_grid_Panel" rel="Chapter" href="Ext_grid_Panel.html">
<link title="Ext_grid_plugin_Editing" rel="Chapter" href="Ext_grid_plugin_Editing.html">
<link title="Ext_grid_View" rel="Chapter" href="Ext_grid_View.html">
<link title="Ext_layout_container_Container" rel="Chapter" href="Ext_layout_container_Container.html">
<link title="Ext_layout_ContextItem" rel="Chapter" href="Ext_layout_ContextItem.html">
<link title="Ext_layout_Layout" rel="Chapter" href="Ext_layout_Layout.html">
<link title="Ext_layout_SizePolicy" rel="Chapter" href="Ext_layout_SizePolicy.html">
<link title="Ext_LoadMask" rel="Chapter" href="Ext_LoadMask.html">
<link title="Ext_Loader" rel="Chapter" href="Ext_Loader.html">
<link title="Ext_MessageBox" rel="Chapter" href="Ext_MessageBox.html">
<link title="Ext_menu_Menu" rel="Chapter" href="Ext_menu_Menu.html">
<link title="Ext_panel_AbstractPanel" rel="Chapter" href="Ext_panel_AbstractPanel.html">
<link title="Ext_panel_Panel" rel="Chapter" href="Ext_panel_Panel.html">
<link title="Ext_panel_Table" rel="Chapter" href="Ext_panel_Table.html">
<link title="Ext_Queryable" rel="Chapter" href="Ext_Queryable.html">
<link title="Ext_selection_DataViewModel" rel="Chapter" href="Ext_selection_DataViewModel.html">
<link title="Ext_selection_Model" rel="Chapter" href="Ext_selection_Model.html">
<link title="Ext_selection_RowModel" rel="Chapter" href="Ext_selection_RowModel.html">
<link title="Ext_state_Manager" rel="Chapter" href="Ext_state_Manager.html">
<link title="Ext_state_Provider" rel="Chapter" href="Ext_state_Provider.html">
<link title="Ext_state_Stateful" rel="Chapter" href="Ext_state_Stateful.html">
<link title="Ext_Template" rel="Chapter" href="Ext_Template.html">
<link title="Ext_tip_QuickTip" rel="Chapter" href="Ext_tip_QuickTip.html">
<link title="Ext_tip_QuickTipManager" rel="Chapter" href="Ext_tip_QuickTipManager.html">
<link title="Ext_tip_Tip" rel="Chapter" href="Ext_tip_Tip.html">
<link title="Ext_tip_ToolTip" rel="Chapter" href="Ext_tip_ToolTip.html">
<link title="Ext_util_AbstractMixedCollection" rel="Chapter" href="Ext_util_AbstractMixedCollection.html">
<link title="Ext_util_Animate" rel="Chapter" href="Ext_util_Animate.html">
<link title="Ext_util_Bindable" rel="Chapter" href="Ext_util_Bindable.html">
<link title="Ext_util_ComponentDragger" rel="Chapter" href="Ext_util_ComponentDragger.html">
<link title="Ext_util_ElementContainer" rel="Chapter" href="Ext_util_ElementContainer.html">
<link title="Ext_util_Filter" rel="Chapter" href="Ext_util_Filter.html">
<link title="Ext_util_Floating" rel="Chapter" href="Ext_util_Floating.html">
<link title="Ext_util_Format" rel="Chapter" href="Ext_util_Format.html">
<link title="Ext_util_Grouper" rel="Chapter" href="Ext_util_Grouper.html">
<link title="Ext_util_KeyMap" rel="Chapter" href="Ext_util_KeyMap.html">
<link title="Ext_util_MixedCollection" rel="Chapter" href="Ext_util_MixedCollection.html">
<link title="Ext_util_Observable" rel="Chapter" href="Ext_util_Observable.html">
<link title="Ext_util_Offset" rel="Chapter" href="Ext_util_Offset.html">
<link title="Ext_util_Point" rel="Chapter" href="Ext_util_Point.html">
<link title="Ext_util_Positionable" rel="Chapter" href="Ext_util_Positionable.html">
<link title="Ext_util_Region" rel="Chapter" href="Ext_util_Region.html">
<link title="Ext_util_Renderable" rel="Chapter" href="Ext_util_Renderable.html">
<link title="Ext_util_Sortable" rel="Chapter" href="Ext_util_Sortable.html">
<link title="Ext_util_Sorter" rel="Chapter" href="Ext_util_Sorter.html">
<link title="Ext_Version" rel="Chapter" href="Ext_Version.html">
<link title="Ext_view_AbstractView" rel="Chapter" href="Ext_view_AbstractView.html">
<link title="Ext_view_Table" rel="Chapter" href="Ext_view_Table.html">
<link title="Ext_view_View" rel="Chapter" href="Ext_view_View.html">
<link title="Ext_window_MessageBox" rel="Chapter" href="Ext_window_MessageBox.html">
<link title="Ext_window_Window" rel="Chapter" href="Ext_window_Window.html">
<link title="Ext_ZIndexManager" rel="Chapter" href="Ext_ZIndexManager.html">
<link title="ExtUtils" rel="Chapter" href="ExtUtils.html"><title>Ext_app_Application.t</title>
</head>
<body>
<div class="navbar"> <a href="Ext_app_Application.html">Up</a>
<a href="Ext_app_Application.configs-c.html">Next</a>
</div>
<center><h1>Class type <a href="type_Ext_app_Application.t.html">Ext_app_Application.t</a></h1></center>
<br>
<pre><span id="TYPEt"><span class="keyword">class type</span> t</span> = <code class="code">object</code> <a href="Ext_app_Application.t-c.html">..</a> <code class="code">end</code></pre><b>Inherits</b><ul>
<li><a href="Ext_app_Controller.t-c.html"><code class="code">Ext_app_Controller.t</code></a></li>
</ul>
<hr width="100%">
<pre><span id="METHODgetApplication_app"><span class="keyword">method</span> getApplication_app</span> : <code class="type">(< addEvents : 'c. 'c Js.t -> unit Js.meth;<br> addListener : 'd 'e 'f 'g 'h.<br> 'd Js.t -><br> 'e Js.callback Js.optdef -><br> 'f Js.t Js.optdef -> 'g Js.t Js.optdef -> 'h Js.t Js.meth;<br> addManagedListener : 'i 'j 'k 'l 'm 'n.<br> 'i Js.t -><br> 'j Js.t -><br> 'k Js.callback Js.optdef -><br> 'l Js.t Js.optdef -><br> 'm Js.t Js.optdef -> 'n Js.t Js.meth;<br> addRef : 'o. 'o Js.t -> unit Js.meth;<br> application : 'p. 'p Js.t Js.readonly_prop;<br> callParent : 'q 'r. 'q Js.t -> 'r Js.t Js.meth;<br> callSuper : 's 't. 's Js.t -> 't Js.t Js.meth;<br> clearListeners : unit Js.meth; clearManagedListeners : unit Js.meth;<br> control : 'u 'v. 'u Js.t -> 'v Js.t Js.optdef -> unit Js.meth;<br> enableBubble : 'w. 'w Js.t -> unit Js.meth;<br> fireEvent : 'x. Js.js_string Js.t -> 'x Js.t -> bool Js.t Js.meth;<br> fireEventArgs : 'y.<br> Js.js_string Js.t -><br> 'y Js.t Js.js_array Js.t -> bool Js.t Js.meth;<br> getApplication : 'z. 'z Js.t Js.meth; getApplication_app : 'a;<br> getController : Js.js_string Js.t -> 'b Js.t Js.meth;<br> getController_app : Js.js_string Js.t -> <a href="Ext_app_Controller.t-c.html">Ext_app_Controller.t</a> Js.t Js.meth;<br> getInitialConfig : 'a1. Js.js_string Js.t Js.optdef -> 'a1 Js.t Js.meth;<br> getModel : Js.js_string Js.t -> <a href="Ext_data_Model.t-c.html">Ext_data_Model.t</a> Js.t Js.meth;<br> getStore : Js.js_string Js.t -> <a href="Ext_data_Store.t-c.html">Ext_data_Store.t</a> Js.t Js.meth;<br> getView : 'b1. Js.js_string Js.t -> (#<a href="Ext_Base.t-c.html">Ext_Base.t</a> as 'b1) Js.t Js.meth;<br> hasListener : Js.js_string Js.t -> bool Js.t Js.meth;<br> hasListeners : 'c1. 'c1 Js.t Js.readonly_prop;<br> hasRef : 'd1. 'd1 Js.t -> bool Js.t Js.meth;<br> init : 'e1. 'e1 Js.t -> unit Js.meth;<br> initConfig : 'f1. 'f1 Js.t -> 'b Js.t Js.meth;<br> isObservable : bool Js.t Js.prop;<br> launch : Js.js_string Js.t -> bool Js.t Js.meth;<br> listen : 'g1. 'g1 Js.t -> unit Js.meth;<br> mon : 'h1 'i1 'j1 'k1 'l1 'm1.<br> 'h1 Js.t -><br> 'i1 Js.t -><br> 'j1 Js.callback Js.optdef -><br> 'k1 Js.t Js.optdef -> 'l1 Js.t Js.optdef -> 'm1 Js.t Js.meth;<br> mun : 'n1 'o1 'p1 'q1.<br> 'n1 Js.t -><br> 'o1 Js.t -><br> 'p1 Js.callback Js.optdef -> 'q1 Js.t Js.optdef -> unit Js.meth;<br> on : 'r1 's1 't1 'u1 'v1.<br> 'r1 Js.t -><br> 's1 Js.callback Js.optdef -><br> 't1 Js.t Js.optdef -> 'u1 Js.t Js.optdef -> 'v1 Js.t Js.meth;<br> onLaunch : 'w1. 'w1 Js.t -> unit Js.meth;<br> relayEvents : 'x1 'y1.<br> 'x1 Js.t -><br> Js.js_string Js.t Js.js_array Js.t -><br> Js.js_string Js.t Js.optdef -> 'y1 Js.t Js.meth;<br> removeListener : 'z1 'a2.<br> Js.js_string Js.t -><br> 'z1 Js.callback -> 'a2 Js.t Js.optdef -> unit Js.meth;<br> removeManagedListener : 'b2 'c2 'd2 'e2.<br> 'b2 Js.t -><br> 'c2 Js.t -><br> 'd2 Js.callback Js.optdef -><br> 'e2 Js.t Js.optdef -> unit Js.meth;<br> resumeEvent : Js.js_string Js.t -> unit Js.meth;<br> resumeEvents : unit Js.meth; self : <a href="Ext_Class.t-c.html">Ext_Class.t</a> Js.t Js.prop;<br> statics : <a href="Ext_Class.t-c.html">Ext_Class.t</a> Js.t Js.meth;<br> suspendEvent : Js.js_string Js.t -> unit Js.meth;<br> suspendEvents : bool Js.t -> unit Js.meth;<br> un : 'f2 'g2.<br> Js.js_string Js.t -><br> 'f2 Js.callback -> 'g2 Js.t Js.optdef -> unit Js.meth;<br> .. ><br> as 'b)<br> Js.t Js.meth as 'a</code></pre><div class="info">
<p>Returns the base <a href="#!/api/Ext.app.Application" rel="Ext.app.Application" class="docClass">Ext.app.Application</a> for this controller.</p>
<p>
<b>Returns</b>:
<ul>
<li><code class="code">Ext_app_Application.t Js.t</code> <p>the application</p>
</li>
</ul>
<br>
</div>
<pre><span id="METHODgetController_app"><span class="keyword">method</span> getController_app</span> : <code class="type">Js.js_string Js.t -> <a href="Ext_app_Controller.t-c.html">Ext_app_Controller.t</a> Js.t Js.meth</code></pre><div class="info">
<p>Returns instance of a <a href="#!/api/Ext.app.Controller" rel="Ext.app.Controller" class="docClass">Controller</a> with the given id.
When controller doesn't exist yet, it's created. Note that this method depends
on Application instance and will return undefined when Application is not
accessible. The only exception is when this Controller instance's id is requested;
in that case we always return the instance even if Application is no available.</p>
<p>
<b>Parameters</b>:
<ul>
<li>id: <code class="code">Js.js_string Js.t</code>
</li>
</ul>
<p>
<b>Returns</b>:
<ul>
<li><code class="code">Ext_app_Controller.t Js.t</code>
<p>controller instance or undefined.</p>
</li>
</ul>
<br>
</div>
<pre><span id="METHODlaunch"><span class="keyword">method</span> launch</span> : <code class="type">Js.js_string Js.t -> bool Js.t Js.meth</code></pre><div class="info">
<p>Called automatically when the page has completely loaded. This is an empty function that should be
overridden by each application that needs to take action on page load.</p>
<p>
<b>Parameters</b>:
<ul>
<li>profile: <code class="code">Js.js_string Js.t</code>
<p>The detected application profile</p>
</li>
</ul>
<p>
<b>Returns</b>:
<ul>
<li><code class="code">bool Js.t</code>
<p>By default, the Application will dispatch to the configured startup controller and
action immediately after running the launch function. Return false to prevent this behavior.</p>
</li>
</ul>
<br>
</div>
</body></html>