X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/2e847cf21b8ab9d15fa167b315ca5b2fa92638fc..6b044c28b5f26fb99c86c237ffad19741c0f7f3d:/docs/output/Ext.util.ClickRepeater.html diff --git a/docs/output/Ext.util.ClickRepeater.html b/docs/output/Ext.util.ClickRepeater.html index daa1e82f..6004cc27 100644 --- a/docs/output/Ext.util.ClickRepeater.html +++ b/docs/output/Ext.util.ClickRepeater.html @@ -1,4 +1,5 @@ -
Observable
  ClickRepeater

Class Ext.util.ClickRepeater

Package:Ext.util
Defined In:ClickRepeater.js
Class:ClickRepeater
Extends:Observable
A wrapper class which can be applied to any element. Fires a "click" event while the +
Observable
+  ClickRepeater

Class Ext.util.ClickRepeater

Package:Ext.util
Defined In:ClickRepeater.js
Class:ClickRepeater
Extends:Observable
A wrapper class which can be applied to any element. Fires a "click" event while the mouse is pressed. The interval between firings may be specified in the config but defaults to 20 milliseconds. @@ -121,38 +122,38 @@ Or a shorthand syntax:
: void
Enables the repeater and allows events to fire.
Enables the repeater and allows events to fire.
Parameters:
  • None.
Returns:
  • void
ClickRepeater 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 -this.getBubbleTarget() if present. There is no implementation in the Observable base class.

-

This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default -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');
-    }),
-
-    //  We know that we want Field's events to bubble directly to the FormPanel.

-    getBubbleTarget : function() {
-        if (!this.formPanel) {
-            this.formPanel = this.findParentByType('form');
-        }
-        return this.formPanel;
-    }
-});
-
-var myForm = new Ext.formPanel({
-    title: 'User Details',
-    items: [{
-        ...
-    }],
-    listeners: {
-        change: function() {
-            // Title goes red if form has been modified.

-            myForm.header.setStyle('color', 'red');
-        }
-    }
+                                        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 +this.getBubbleTarget() if present. There is no implementation in the Observable base class.

+

This is commonly used by Ext.Components to bubble events to owner Containers. See Ext.Component.getBubbleTarget. The default +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');
+    }),
+
+    //  We know that we want Field's events to bubble directly to the FormPanel.
+    getBubbleTarget : function() {
+        if (!this.formPanel) {
+            this.formPanel = this.findParentByType('form');
+        }
+        return this.formPanel;
+    }
+});
+
+var myForm = new Ext.formPanel({
+    title: 'User Details',
+    items: [{
+        ...
+    }],
+    listeners: {
+        change: function() {
+            // Title goes red if form has been modified.
+            myForm.header.setStyle('color', 'red');
+        }
+    }
 });
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). @@ -183,9 +184,9 @@ events fired during event suspension will be sent to any listeners now.
resumeEvents call instead of discarding all suspended events;
Returns:
  • void
Observable unString eventNameFunction handler[Object scope] ) : void
Removes an event handler (shorthand for removeListener.)
Removes an event handler (shorthand for removeListener.)
Parameters:
  • eventName : String
    The type of event the handler was associated with.
  • handler : Function
    The handler to remove. This must be a reference to the function passed into the addListener call.
  • scope : Object
    (optional) The scope originally specified for the handler.
Returns:
  • void
Observable

Public Events

EventDefined By
\ No newline at end of file + ( Ext.util.ClickRepeater thisExt.EventObject e ) +
Fires on a specified interval during the time the element is pressed.
Fires on a specified interval during the time the element is pressed.
Listeners will be called with the following arguments:
  • this : Ext.util.ClickRepeater
  • e : Ext.EventObject
ClickRepeater mousedown : + ( Ext.util.ClickRepeater thisExt.EventObject e ) +
Fires when the mouse button is depressed.
Fires when the mouse button is depressed.
Listeners will be called with the following arguments:
  • this : Ext.util.ClickRepeater
  • e : Ext.EventObject
ClickRepeater mouseup : + ( Ext.util.ClickRepeater thisExt.EventObject e ) +
Fires when the mouse key is released.
Fires when the mouse key is released.
Listeners will be called with the following arguments:
  • this : Ext.util.ClickRepeater
  • e : Ext.EventObject
ClickRepeater
\ No newline at end of file