| Package | com.asfusion.mate.actions.builders |
| Class | public class CommandInvoker |
| Inheritance | CommandInvoker ObjectBuilder BaseAction AbstractAction |
CommandInvoker tag is very similar to the MethodInvokerr tag, but limited.
It only allows specifying the generator class to instantiate.
It will always call the method execute and pass the current event as its only argument.
This tag is very useful when reusing Cairngorm commands.
Unless you specify cache="none", this CommandInvoker instance will be "cached" and not instantiated again.
MXML Syntax
Hide MXML Syntax
The <mx:CommandInvoker> tag has the following tag attributes:
<CommandInvoker Properties generator="Class" constructorArguments="Object|Array" cache="local|global|inherit|none" />
See also
| Method | Defined by | ||
|---|---|---|---|
![]() |
The last method that
trigger calls. | AbstractAction | |
![]() |
createInstance(scope:IScope):Object
Where the currentInstance is created using the
generator class as the template, passing arguments to the constructor
as specified by the constructorArgs (if any). | ObjectBuilder | |
![]() |
The first method that
trigger calls. | ObjectBuilder | |
|
Where all the action occurs.
| CommandInvoker | ||
![]() |
setProperties(scope:IScope):void
Where all the properties are set into the
currentInstance. | BaseAction | |