Package | com.asfusion.mate.actionLists |
Class | public class ServiceHandlers |
Inheritance | ServiceHandlers EventHandlers AbstractHandlers flash.events.EventDispatcher |
Implements | IActionList |
IActionList
, you can use the same tags you would in the main
body of a <IActionList>, including other service calls.
This inner-action-list is used by the ServiceInvoker
Property | Defined by | ||
---|---|---|---|
actions : Array
An array of Actions (IAction) contained in this IActionList.
| AbstractHandlers | ||
debug : Boolean
Whether to show debugging information for this IActionList.
| AbstractHandlers | ||
dispatcherType : String
String that defines whether the dispatcher used by this tag is
global or
inherit . | AbstractHandlers | ||
priority : int
(default = 0) — The priority level of the
EventHandlers . | EventHandlers | ||
scope : IScope
Returns the current scope for this IActionList
| AbstractHandlers | ||
token : AsyncToken
Generated when making asynchronous RPC operations.
| ServiceHandlers | ||
type : String
The event type that, when dispatched, should trigger the handlers to run.
| EventHandlers | ||
useCapture : Boolean
(default = false) — Determines whether the listener works in the capture phase or the target and bubbling phases.
| EventHandlers | ||
useWeakReference : Boolean
(default = true) — Determines whether the reference to the listener is strong or weak.
| EventHandlers |
Method | Defined by | ||
---|---|---|---|
ServiceHandlers(inheritedScope:IScope = null)
Constructor
| ServiceHandlers | ||
clearReferences():void
Unregister as a listener and prepare to be garbage collected
| EventHandlers | ||
errorString():String
Retuns an error String to be used by the debugger.
| ServiceHandlers | ||
getDocument():Object
A reference to the document object associated with this IActionList.
| AbstractHandlers | ||
getGroupId():int
Method to get the group id.
| AbstractHandlers | ||
initialized(document:Object, id:String):void
Called automatically by the MXML compiler if the IActionList is set up using a tag.
| AbstractHandlers | ||
invalidateProperties():void
Marks a component so that its
commitProperties method gets called during a later screen update. | AbstractHandlers | ||
setDispatcher(value:IEventDispatcher, local:Boolean = true):void
A method that allows setting the dispatcher
that this IActionList will use to register to events.
| EventHandlers | ||
setGroupId(id:int):void
Method to set the group id.
| AbstractHandlers | ||
setInheritedScope(inheritedScope:IScope):void
You can pass the parent scope to this IActionList to copy the inherited values.
| AbstractHandlers | ||
validateNow():void
Validate and update the properties of this object, if necessary.
| AbstractHandlers |
Method | Defined by | ||
---|---|---|---|
commitProperties():void
Processes the properties set on the component.
| EventHandlers | ||
dispatcherChangeHandler(event:DispatcherEvent):void
A handler for the mate dispatcher changed.
| AbstractHandlers | ||
fireEvent(event:Event):void
Called by the dispacher when the event gets triggered.
| ServiceHandlers | ||
runSequence(scope:IScope, actionList:Array):void
Goes over all the listeners (
IAction s)
and calls the method trigger on them, passing the scope as an argument. | AbstractHandlers | ||
Set the scope on this IActionList.
| AbstractHandlers | ||
unregister(oldType:String, oldDispatcher:IEventDispatcher, oldCapture:Boolean):void
Un-register as a listener of the event type provided.
| EventHandlers |
token | property |
token:AsyncToken
[read-write]
Generated when making asynchronous RPC operations.
The same object is available in the result
and fault
events in the token
property.
public function get token():AsyncToken
public function set token(value:AsyncToken):void
ServiceHandlers | () | constructor |
public function ServiceHandlers(inheritedScope:IScope = null)
Constructor
ParametersinheritedScope:IScope (default = null )
|
errorString | () | method |
public override function errorString():String
Retuns an error String to be used by the debugger.
ReturnsString |
fireEvent | () | method |
protected override function fireEvent(event:Event):void
Called by the dispacher when the event gets triggered. This method creates a scope and then runs the sequence.
Parametersevent:Event |