Class type Ext_app_Application.t


class type t = object .. end
Inherits
method getApplication_app : (< addEvents : 'c. 'c Js.t -> unit Js.meth;
addListener : 'd 'e 'f 'g 'h.
'd Js.t ->
'e Js.callback Js.optdef ->
'f Js.t Js.optdef -> 'g Js.t Js.optdef -> 'h Js.t Js.meth;
addManagedListener : 'i 'j 'k 'l 'm 'n.
'i Js.t ->
'j Js.t ->
'k Js.callback Js.optdef ->
'l Js.t Js.optdef ->
'm Js.t Js.optdef -> 'n Js.t Js.meth;
addRef : 'o. 'o Js.t -> unit Js.meth;
application : 'p. 'p Js.t Js.readonly_prop;
callParent : 'q 'r. 'q Js.t -> 'r Js.t Js.meth;
callSuper : 's 't. 's Js.t -> 't Js.t Js.meth;
clearListeners : unit Js.meth; clearManagedListeners : unit Js.meth;
control : 'u 'v. 'u Js.t -> 'v Js.t Js.optdef -> unit Js.meth;
enableBubble : 'w. 'w Js.t -> unit Js.meth;
fireEvent : 'x. Js.js_string Js.t -> 'x Js.t -> bool Js.t Js.meth;
fireEventArgs : 'y.
Js.js_string Js.t ->
'y Js.t Js.js_array Js.t -> bool Js.t Js.meth;
getApplication : 'z. 'z Js.t Js.meth; getApplication_app : 'a;
getController : Js.js_string Js.t -> 'b Js.t Js.meth;
getController_app : Js.js_string Js.t -> Ext_app_Controller.t Js.t Js.meth;
getInitialConfig : 'a1. Js.js_string Js.t Js.optdef -> 'a1 Js.t Js.meth;
getModel : Js.js_string Js.t -> Ext_data_Model.t Js.t Js.meth;
getStore : Js.js_string Js.t -> Ext_data_Store.t Js.t Js.meth;
getView : 'b1. Js.js_string Js.t -> (#Ext_Base.t as 'b1) Js.t Js.meth;
hasListener : Js.js_string Js.t -> bool Js.t Js.meth;
hasListeners : 'c1. 'c1 Js.t Js.readonly_prop;
hasRef : 'd1. 'd1 Js.t -> bool Js.t Js.meth;
init : 'e1. 'e1 Js.t -> unit Js.meth;
initConfig : 'f1. 'f1 Js.t -> 'b Js.t Js.meth;
isObservable : bool Js.t Js.prop;
launch : Js.js_string Js.t -> bool Js.t Js.meth;
listen : 'g1. 'g1 Js.t -> unit Js.meth;
mon : 'h1 'i1 'j1 'k1 'l1 'm1.
'h1 Js.t ->
'i1 Js.t ->
'j1 Js.callback Js.optdef ->
'k1 Js.t Js.optdef -> 'l1 Js.t Js.optdef -> 'm1 Js.t Js.meth;
mun : 'n1 'o1 'p1 'q1.
'n1 Js.t ->
'o1 Js.t ->
'p1 Js.callback Js.optdef -> 'q1 Js.t Js.optdef -> unit Js.meth;
on : 'r1 's1 't1 'u1 'v1.
'r1 Js.t ->
's1 Js.callback Js.optdef ->
't1 Js.t Js.optdef -> 'u1 Js.t Js.optdef -> 'v1 Js.t Js.meth;
onLaunch : 'w1. 'w1 Js.t -> unit Js.meth;
relayEvents : 'x1 'y1.
'x1 Js.t ->
Js.js_string Js.t Js.js_array Js.t ->
Js.js_string Js.t Js.optdef -> 'y1 Js.t Js.meth;
removeListener : 'z1 'a2.
Js.js_string Js.t ->
'z1 Js.callback -> 'a2 Js.t Js.optdef -> unit Js.meth;
removeManagedListener : 'b2 'c2 'd2 'e2.
'b2 Js.t ->
'c2 Js.t ->
'd2 Js.callback Js.optdef ->
'e2 Js.t Js.optdef -> unit Js.meth;
resumeEvent : Js.js_string Js.t -> unit Js.meth;
resumeEvents : unit Js.meth; self : Ext_Class.t Js.t Js.prop;
statics : Ext_Class.t Js.t Js.meth;
suspendEvent : Js.js_string Js.t -> unit Js.meth;
suspendEvents : bool Js.t -> unit Js.meth;
un : 'f2 'g2.
Js.js_string Js.t ->
'f2 Js.callback -> 'g2 Js.t Js.optdef -> unit Js.meth;
.. >
as 'b)
Js.t Js.meth as 'a

Returns the base Ext.app.Application for this controller.

Returns:


method getController_app : Js.js_string Js.t -> Ext_app_Controller.t Js.t Js.meth

Returns instance of a Controller 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.

Parameters:

Returns:


method launch : Js.js_string Js.t -> bool Js.t Js.meth

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.

Parameters:

Returns: