X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..92c2b89db26be16707f4a805d3303ab2531006e1:/docs/output/Ext.Direct.html?ds=inline diff --git a/docs/output/Ext.Direct.html b/docs/output/Ext.Direct.html index 4b3237d6..6e82f3db 100644 --- a/docs/output/Ext.Direct.html +++ b/docs/output/Ext.Direct.html @@ -1,4 +1,4 @@ -
Observable Direct
Package: | Ext |
Defined In: | Direct.js |
Class: | Direct |
Extends: | Observable |
Overview
+Observable Direct
Package: | Ext |
Defined In: | Direct.js |
Class: | Direct |
Extends: | Observable |
Overview
Ext.Direct aims to streamline communication between the client and server by providing a single interface that reduces the amount of common code typically required to validate data and handle returned data packets @@ -105,9 +105,11 @@ Ext.Direct.exceptions.TRANSPORT : '...
Method | Defined By | |
---|---|---|
addEvents( Object object )
+ | Direct |
Method | Defined By | |
---|---|---|
addEvents( Object|String o , string Optional. )
:
- voidUsed to define events on this Observable Used to define events on this Observable Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
+ voidAdds the specified events to the list of events which this Observable may fire. Adds the specified events to the list of events which this Observable may fire. Parameters:
| Observable | |
addListener( String eventName , Function handler , [Object scope ], [Object options ] )
:
voidAppends an event handler to this object. Appends an event handler to this object. Parameters:
| Observable | |
addProvider( Object/Array provider )
:
voidAdds an Ext.Direct Provider and creates the proxy or stub methods to execute server-side methods.
@@ -193,9 +195,41 @@ Ext.Direct.addProvider(
pollProv // reference to previously created instance
); Parameters:
| Direct | |
enableBubble( Object events )
+Provider description instructs Ext.Direct how to create client-side stub methods.Returns:
| Direct | |
enableBubble( String/Array events )
:
- voidUsed to enable bubbling of events Used to enable bubbling of events Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
+ voidEnables 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 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:
Parameters:
| Observable | |
fireEvent( String eventName , Object... args )
:
BooleanFires 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). |