Packagecom.developmentarc.framework.controllers.interfaces
Interfacepublic interface IAction extends flash.events.IEventDispatcher
ImplementorsAbstractAction

The IAction represents the basics of a simple Action that is used by the ActionDelegate and Command structure.



Public Properties
 PropertyDefined by
  commands : Array
[read-only] Returns an Array of Strings which represent the type of command to register to.
IAction
Public Methods
 MethodDefined by
  
applyAction(command:Event):void
This method is called by the EventBroker when a registerd command has been broadcasted.
IAction
Property detail
commandsproperty
commands:Array  [read-only]

Returns an Array of Strings which represent the type of command to register to.

Implementation
    public function get commands():Array
Method detail
applyAction()method
public function applyAction(command:Event):void

This method is called by the EventBroker when a registerd command has been broadcasted. The argument type is set to Event which is the base class of the AbstractCommand. The EventBroker can dispatch both Events and Commands to an Action depending on how the action was registered to the command.

Parameters
command:Event — The command(Event) passed from the EventBroker.