class type t =Inheritsobject
..end
method bindStore : 'a. 'a Js.t Js.optdef -> unit Js.meth
Binds a store to this instance.
Parameters:
_ Js.t
(optional)
The store to bind or ID of the store.
When no store given (or when null
or undefined
passed), unbinds the existing store.
method bindStoreListeners : 'b. (#Ext_data_AbstractStore.t as 'b) Js.t -> unit Js.meth
Binds listeners for this component to the store. By default it will add anything bound by the getStoreListeners method, however it can be overridden in a subclass to provide any more complicated handling.
Parameters:
#Ext_data_AbstractStore.t Js.t
The store to bind to
method getStore : 'c. (#Ext_data_AbstractStore.t as 'c) Js.t Js.meth
Gets the current store instance.
Returns:
#Ext_data_AbstractStore.t Js.t
The store, null if one does not exist.
method getStoreListeners : 'd. Ext_data_Store.t Js.t -> 'd Js.t Js.meth
Gets the listeners to bind to a new store.
Parameters:
Ext_data_Store.t Js.t
The Store which is being bound to for which a listeners object should be returned.
Returns:
_ Js.t
The listeners to be bound to the store in object literal form. The scope may be omitted, it is assumed to be the current instance.
method onBindStore : 'e. (#Ext_data_AbstractStore.t as 'e) Js.t -> bool Js.t -> unit Js.meth
Template method, it is called when a new store is bound to the current instance.
Parameters:
#Ext_data_AbstractStore.t Js.t
The store being bound
bool Js.t
True if this store is being bound as initialization of the instance.
method onUnbindStore : 'f. (#Ext_data_AbstractStore.t as 'f) Js.t -> bool Js.t -> unit Js.meth
Template method, it is called when an existing store is unbound from the current instance.
Parameters:
#Ext_data_AbstractStore.t Js.t
The store being unbound
bool Js.t
True if this store is being bound as initialization of the instance.
method unbindStoreListeners : 'g. (#Ext_data_AbstractStore.t as 'g) Js.t -> unit Js.meth
Unbinds listeners from this component to the store. By default it will remove anything bound by the bindStoreListeners method, however it can be overridden in a subclass to provide any more complicated handling.
Parameters:
#Ext_data_AbstractStore.t Js.t
The store to unbind from