X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.direct.PollingProvider.html diff --git a/docs/output/Ext.direct.PollingProvider.html b/docs/output/Ext.direct.PollingProvider.html index 810284a2..533a86c3 100644 --- a/docs/output/Ext.direct.PollingProvider.html +++ b/docs/output/Ext.direct.PollingProvider.html @@ -1,4 +1,4 @@ -
Properties Methods Events Config Options Direct Link
Observable
  Provider
    JsonProvider
      PollingProvider

Class Ext.direct.PollingProvider

Package:Ext.direct
Defined In:PollingProvider.js
Class:PollingProvider
Extends:JsonProvider

Provides for repetitive polling of the server at distinct intervals. +

Observable
  Provider
    JsonProvider
      PollingProvider

Class Ext.direct.PollingProvider

Package:Ext.direct
Defined In:PollingProvider.js
Class:PollingProvider
Extends:JsonProvider

Provides for repetitive polling of the server at distinct intervals. The initial request for data originates from the client, and then is responded to by the server.

All configurations for the PollingProvider should be generated by the server-side @@ -161,7 +161,7 @@ response subscribe to the data event.

Paramet : void
Disconnect from the server-side and stop the polling process. The disconnect event will be fired on a successful dis...
Disconnect from the server-side and stop the polling process. The disconnect -event will be fired on a successful disconnect.
Parameters:
  • None.
Returns:
  • void
PollingProvider enableBubbleObject events ) +event will be fired on a successful disconnect.
Parameters:
  • None.
Returns:
  • void
PollingProvider enableBubbleString/Array events ) : void
Enables events fired by this Observable to bubble up an owner hierarchy by calling this.getBubbleTarget() if present...

Enables events fired by this Observable to bubble up an owner hierarchy by calling @@ -170,13 +170,13 @@ this.getBubbleTarget() if present...

Enables events fi implementation in Ext.Component returns the Component's immediate owner. But if a known target is required, this can be overridden to access the required target more quickly.

Example:

Ext.override(Ext.form.Field, {
-//  Add functionality to Field's initComponent to enable the change event to bubble

-    initComponent: Ext.form.Field.prototype.initComponent.createSequence(function() {
-        this.enableBubble('change');
+    //  Add functionality to Field's initComponent to enable the change event to bubble

+    initComponent : Ext.form.Field.prototype.initComponent.createSequence(function() {
+        this.enableBubble('change');
     }),
 
-//  We know that we want Field's events to bubble directly to the FormPanel.

-    getBubbleTarget: function() {
+    //  We know that we want Field's events to bubble directly to the FormPanel.

+    getBubbleTarget : function() {
         if (!this.formPanel) {
             this.formPanel = this.findParentByType('form');
         }
@@ -191,11 +191,11 @@ access the required target more quickly.

}], listeners: { change: function() { -// Title goes red if form has been modified. - myForm.header.setStyle("color", "red"); + // Title goes red if form has been modified. + myForm.header.setStyle('color', 'red'); } } -});
Parameters:
  • events : Object
    The event name to bubble, or an Array of event names.
Returns:
  • void
Observable fireEventString eventNameObject... args ) +});
Parameters:
  • events : String/Array
    The event name to bubble, or an Array of event names.
Returns:
  • void
Observable fireEventString eventNameObject... args ) : Boolean
Fires the specified event with the passed parameters (minus the event name). An event may be set to bubble up an Obse...

Fires the specified event with the passed parameters (minus the event name).