Package | com.asfusion.mate.actionLists |
Interface | public interface IScope extends ILoggerProvider |
Implementors | Scope |
IActionList
.
It represents the running scope of a that IActionList
.
The IActionList
and its IAction
s inner tags share this object to transfer data
between them.
Property | Defined by | ||
---|---|---|---|
currentTarget : Object
The current target that is using this scope.
| IScope | ||
data : Object
Data Object (holder for custom data)
| IScope | ||
dispatcher : IEventDispatcher
Instance of the
IEventDispatcher that will be used to dispatch events
or to register to events. | IScope | ||
event : Event
Original Event that triggered the
IActionList . | IScope | ||
eventMap : IEventMap
Instance of the
EventMap where this scope lives. | IScope | ||
lastReturn : *
return from the last
IAction run
| IScope | ||
owner : IActionList
The
IActionList that created this scope. | IScope |
Method | Defined by | ||
---|---|---|---|
errorString():String
Retuns the default error string to be used by the debugger.
| ILoggerProvider | ||
getCurrentTarget():Object
Returns the current target that is using this scope.
| ILoggerProvider | ||
getDocument():Object
A reference to the document object associated with this
ILoggerProvider . | ILoggerProvider | ||
Returns an
IMateLogger used to log errors. | ILoggerProvider | ||
Returns an instance of
IMateManager used to get the logger and dispatcher. | IScope | ||
isRunning():Boolean
Returns a boolean indicating if the
IActionList is running or not. | IScope | ||
stopRunning():void
Stops the
IActionList flow. | IScope |
currentTarget | property |
currentTarget:Object
[read-write]
The current target that is using this scope.
This target is usually set by the IActionList
before
calling trigger
on its actions
.
public function get currentTarget():Object
public function set currentTarget(value:Object):void
data | property |
data:Object
[read-write]Data Object (holder for custom data)
Implementation public function get data():Object
public function set data(value:Object):void
dispatcher | property |
dispatcher:IEventDispatcher
[read-write]
Instance of the IEventDispatcher
that will be used to dispatch events
or to register to events.
public function get dispatcher():IEventDispatcher
public function set dispatcher(value:IEventDispatcher):void
event | property |
event:Event
[read-write]
Original Event that triggered the IActionList
.
public function get event():Event
public function set event(value:Event):void
eventMap | property |
eventMap:IEventMap
[read-write]
Instance of the EventMap
where this scope lives.
public function get eventMap():IEventMap
public function set eventMap(value:IEventMap):void
lastReturn | property |
lastReturn:*
[read-write]
return from the last IAction
run
public function get lastReturn():*
public function set lastReturn(value:*):void
owner | property |
owner:IActionList
[read-write]
The IActionList
that created this scope.
public function get owner():IActionList
public function set owner(value:IActionList):void
getManager | () | method |
public function getManager():IMateManager
Returns an instance of IMateManager
used to get the logger and dispatcher.
IMateManager |
isRunning | () | method |
public function isRunning():Boolean
Returns a boolean indicating if the IActionList
is running or not.
Boolean |
stopRunning | () | method |
public function stopRunning():void
Stops the IActionList
flow.
The next IAction
will be not be called.