Packageorg.robotlegs.mvcs
Classpublic class Actor
InheritanceActor Inheritance Object

Abstract MVCS IActor implementation

As part of the MVCS implementation the Actor provides core functionality to an applications various working parts.

Some possible uses for the Actor include, but are no means limited to:

Essentially any class where it might be advantagous to have basic dependency injection supplied is a candidate for extending Actor.



Public Properties
 PropertyDefined By
  eventDispatcher : IEventDispatcher
Actor
Protected Properties
 PropertyDefined By
  eventMap : IEventMap
[read-only] Local EventMap
Actor
Public Methods
 MethodDefined By
  
Actor
Protected Methods
 MethodDefined By
  
dispatch(event:Event):Boolean
Dispatch helper method
Actor
Property Detail
eventDispatcherproperty
eventDispatcher:IEventDispatcher


Implementation
    public function get eventDispatcher():IEventDispatcher
    public function set eventDispatcher(value:IEventDispatcher):void
eventMapproperty 
eventMap:IEventMap  [read-only]

Local EventMap


Implementation
    protected function get eventMap():IEventMap
Constructor Detail
Actor()Constructor
public function Actor()



Method Detail
dispatch()method
protected function dispatch(event:Event):Boolean

Dispatch helper method

Parameters

event:Event — The Event to dispatch on the IContext's IEventDispatcher

Returns
Boolean