X-Git-Url: http://git.ithinksw.org/extjs.git/blobdiff_plain/25ef3491bd9ae007ff1fc2b0d7943e6eaaccf775..6e39d509471fe9b4e2660e0d1631b350d0c66f40:/docs/output/Ext.Action.html?ds=inline diff --git a/docs/output/Ext.Action.html b/docs/output/Ext.Action.html index dc423cb0..9a4427aa 100644 --- a/docs/output/Ext.Action.html +++ b/docs/output/Ext.Action.html @@ -1,4 +1,4 @@ -
Package: | Ext |
Defined In: | Action.js |
Class: | Action |
Extends: | Object |
An Action is a piece of reusable functionality that can be abstracted out of any particular component so that it +
Package: | Ext |
Defined In: | Action.js |
Class: | Action |
Extends: | Object |
An Action is a piece of reusable functionality that can be abstracted out of any particular component so that it can be usefully shared among multiple components. Actions let you share handlers, configuration options and UI updates across any components that support the Action interface (primarily Ext.Toolbar, Ext.Button and Ext.menu.Menu components).
@@ -54,14 +54,15 @@ all components using this action (defaults to ''). iconCls: 'do-something' // css class that specifies background image to be used as the icon image: -.do-something { background-image: url(../images/my-icon.gif) 0 6px no-repeat !important; }Method | Defined By | |
---|---|---|
Action( Object config )
+.do-something { background-image: url(../images/my-icon.gif) 0 6px no-repeat !important; } | Action | |
itemId : String See Ext.Component.itemId. | Action | |
scope : Object The scope (this reference) in which the
+ handler is executed. Defaults to this Button. | Action | |
text : String The text to set for all components using this action (defaults to ''). | Action |
Method | Defined By | |
---|---|---|
Action( Object config )
Parameters:
| Action | |
disable()
:
void Disables all components using this action. Disables all components using this action. Parameters:
| Action | |
each( Function fn , Object scope )
:
- voidExecutes the specified function once for each component currently tied to this action. The function passed
-in shoul... Executes the specified function once for each component currently tied to this action. The function passed
-in should accept a single argument that will be an object that supports the basic Action config/method interface. Parameters:
| Action | |
enable()
+ void Executes the specified function once for each Component currently tied to this action. The function passed
+in shoul... Executes the specified function once for each Component currently tied to this action. The function passed
+in should accept a single argument that will be an object that supports the basic Action config/method interface. Parameters:
| Action | |
enable()
:
void Enables all components using this action. Enables all components using this action. Parameters:
| Action | |
execute( [Mixed arg1 ], [Mixed arg2 ], [Mixed etc... ] )
:
@@ -84,8 +85,8 @@ function will be passed on to the handler function.<
for enable and disable. | Action | |
setHandler( Function fn , Object scope )
:
- voidSets the function that will be called by each component using this action when its primary event is triggered. Sets the function that will be called by each component using this action when its primary event is triggered. Parameters:
| Action | |
setHidden( Boolean hidden )
+ voidSets the function that will be called by each Component using this action when its primary event is triggered. Sets the function that will be called by each Component using this action when its primary event is triggered. Parameters:
| Action | |
setHidden( Boolean hidden )
:
voidSets the hidden state of all components using this action. Shortcut method
for hide and show. Sets the hidden state of all components using this action. Shortcut method
|