X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/c930e9176a5a85509c5b0230e2bff5c22a591432..c8256059947f3aa8f5b0a9a2acf55e2142bb4742:/docs/output/Ext.util.Observable.html diff --git a/docs/output/Ext.util.Observable.html b/docs/output/Ext.util.Observable.html index 4e79f92b..9117c704 100644 --- a/docs/output/Ext.util.Observable.html +++ b/docs/output/Ext.util.Observable.html @@ -1,4 +1,4 @@ -
Package: | Ext.util |
Defined In: | Observable.js, Observable-more.js |
Class: | Observable |
Subclasses: | Component, Direct, History, ListView.ColumnResizer, ListView.Sorter, Resizable, SplitBar, Updater, Connection, DataProxy, Node, Store, Tree, DragTracker, Provider, BasicForm, AbstractSelectionModel, ColumnModel, GridView, PropertyStore, DefaultSelectionModel, MultiSelectionModel, TreeLoader, ClickRepeater, MixedCollection |
Extends: | Object |
Package: | Ext.util |
Defined In: | Observable.js |
Class: | Observable |
Subclasses: | Component, Direct, History, Resizable, SplitBar, Updater, Connection, DataProxy, Node, Store, Tree, DragTracker, Provider, BasicForm, AbstractSelectionModel, ColumnModel, GridView, PropertyStore, ColumnResizer, Sorter, DefaultSelectionModel, MultiSelectionModel, TreeLoader, ClickRepeater, MixedCollection |
Extends: | Object |
var newEmployee = new Employee({
@@ -83,24 +83,26 @@ Ext.DomObserver = Ext.extend(Object, {
triggerAction: 'all'
});
Method | Defined By | |
---|---|---|
Observable.capture( Observable o , Function fn , [Object scope ] )
:
- void<static> Starts capture on the specified Observable. All events will be passed
-to the supplied function with the event name +... <static> Starts capture on the specified Observable. All events will be passed
-to the supplied function with the event name + standard signature of the event
-before the event is fired. If the supplied function returns false,
-the event will not fire. Parameters:
| Observable | |
Observable.observeClass( Function c )
+ void<static> Starts capture on the specified Observable. All events will be passed
+to the supplied function with the event name + ... <static> Starts capture on the specified Observable. All events will be passed
+to the supplied function with the event name + standard signature of the event
+before the event is fired. If the supplied function returns false,
+the event will not fire. Parameters:
| Observable | |
Observable.observeClass( Function c , Object listeners )
:
- void<static> Sets observability on the passed class constructor.
-This makes any event fired on any instance of the passed class a... <static> Sets observability on the passed class constructor. - This makes any event fired on any instance of the passed class also fire a single event through -the class allowing for central handling of events on many instances at once. -Usage:
Parameters:
| Observable | |
Observable.releaseCapture( Observable o )
+ void<static> Sets observability on the passed class constructor.
+This makes any event fired on any instance of the passed class al... <static> Sets observability on the passed class constructor. + This makes any event fired on any instance of the passed class also fire a single event through +the class allowing for central handling of events on many instances at once. +Usage:
Parameters:
| Observable | |
Observable.releaseCapture( Observable o )
:
- void<static> Removes all added captures from the Observable. <static> Removes all added captures from the Observable. Parameters:
| Observable | |
addEvents( Object object )
+ void<static> Removes all added captures from the Observable. <static> Removes all added captures from the Observable. Parameters:
| Observable | |
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 | |
enableBubble( Object events )
+'click' : this.onClick,
+'mouseover' : this.onMouseOver,
+'mouseout' : this.onMouseOut,
+ scope: this
+});Returns:
| Observable | |
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). |