Package | com.asfusion.mate.core |
Interface | public interface IMateManager extends flash.events.IEventDispatcher |
IMateManager
is the core class of Mate
Property | Defined by | ||
---|---|---|---|
application : Application [read-only]
A reference to the Application instance
| IMateManager | ||
debugger : ILoggingTarget | IMateManager | ||
dispatcher : IEventDispatcher | IMateManager | ||
listenerProxyType : String | IMateManager | ||
responseDispatcher : IEventDispatcher [read-only]
A reference to the IEventDispatcher instance used by the
Response tag
| IMateManager | ||
systemManager : ISystemManager [read-only]
A reference to the ISystemManager instance
| IMateManager |
Method | Defined by | ||
---|---|---|---|
addCachedInstance(template:Class, instance:Object):void
Adds an instance to the cache.
| IMateManager | ||
addListenerProxy(eventDispatcher:IEventDispatcher, type:String = null):void
Adds a proxy listener for a specific type.
| IMateManager | ||
callLater(method:Function):void
Queues a function to be called later.
| IMateManager | ||
clearCachedInstance(template:Class):void
Removes an instance from the cache.
| IMateManager | ||
getCachedInstance(template:Class):Object
Retrieves an instance from the cache.
| IMateManager | ||
getLogger(active:Boolean):IMateLogger
An
IMateLogger used to log errors. | IMateManager |
application | property |
application:Application
[read-only]A reference to the Application instance
Implementation public function get application():Application
debugger | property |
debugger:ILoggingTarget
[read-write]Implementation
public function get debugger():ILoggingTarget
public function set debugger(value:ILoggingTarget):void
dispatcher | property |
dispatcher:IEventDispatcher
[read-write]Implementation
public function get dispatcher():IEventDispatcher
public function set dispatcher(value:IEventDispatcher):void
listenerProxyType | property |
listenerProxyType:String
[read-write]Implementation
public function get listenerProxyType():String
public function set listenerProxyType(value:String):void
responseDispatcher | property |
responseDispatcher:IEventDispatcher
[read-only]
A reference to the IEventDispatcher instance used by the Response
tag
public function get responseDispatcher():IEventDispatcher
systemManager | property |
systemManager:ISystemManager
[read-only]A reference to the ISystemManager instance
Implementation public function get systemManager():ISystemManager
addCachedInstance | () | method |
public function addCachedInstance(template:Class, instance:Object):void
Adds an instance to the cache.
Parameterstemplate:Class |
|
instance:Object |
addListenerProxy | () | method |
public function addListenerProxy(eventDispatcher:IEventDispatcher, type:String = null):void
Adds a proxy listener for a specific type.
ParameterseventDispatcher:IEventDispatcher |
|
type:String (default = null )
|
callLater | () | method |
public function callLater(method:Function):void
Queues a function to be called later.
Before each update of the screen, Flash Player or AIR calls the set of functions that are scheduled for the update. Sometimes, a function should be called in the next update to allow the rest of the code scheduled for the current update to be executed. Some features, like effects, can cause queued functions to be delayed until the feature completes.
Parametersmethod:Function |
clearCachedInstance | () | method |
public function clearCachedInstance(template:Class):void
Removes an instance from the cache.
Parameterstemplate:Class |
getCachedInstance | () | method |
public function getCachedInstance(template:Class):Object
Retrieves an instance from the cache.
Parameterstemplate:Class |
Object |
getLogger | () | method |
public function getLogger(active:Boolean):IMateLogger
An IMateLogger
used to log errors.
Similar to Flex ILogger
active:Boolean |
IMateLogger |