X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..10a866c12701c0a0afd0ac85dcdcf32a421514ac:/docs/output/Ext.data.Connection.html diff --git a/docs/output/Ext.data.Connection.html b/docs/output/Ext.data.Connection.html index 98ed27c5..d5195e16 100644 --- a/docs/output/Ext.data.Connection.html +++ b/docs/output/Ext.data.Connection.html @@ -1,4 +1,4 @@ -
Observable Connection
Package: | Ext.data |
Defined In: | Connection.js |
Class: | Connection |
Subclasses: | Ajax |
Extends: | Observable |
The class encapsulates a connection to the page's originating domain, allowing requests to be made +
Observable Connection
Package: | Ext.data |
Defined In: | Connection.js |
Class: | Connection |
Subclasses: | Ajax |
Extends: | Observable |
The class encapsulates a connection to the page's originating domain, allowing requests to be made either to a configured URL, or to a URL specified at request time.
Requests made by this class are asynchronous, and will return immediately. No data from
the server will be available to the statement immediately following the request call.
@@ -146,7 +146,7 @@ Or a shorthand syntax:
'mouseover' : this.onMouseOver,
'mouseout' : this.onMouseOut,
scope: this
-});
Object events
)
+});Returns:String/Array events
)
:
voidEnables events fired by this Observable to bubble up an owner hierarchy by calling @@ -155,13 +155,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');
}
@@ -176,11 +176,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');
}
}
-});
events
: ObjectString eventName
, Object... args
)
+});events
: String/ArrayString eventName
, Object... args
)
:
BooleanFires the specified event with the passed parameters (minus the event name).