| Package | org.spicefactory.lib.task.util |
| Class | public class XmlLoaderTask |
| Inheritance | XmlLoaderTask ResultTask Task flash.events.EventDispatcher |
| Property | Defined By | ||
|---|---|---|---|
![]() | cancelable : Boolean [read-only]
Indicates whether this Task can be cancelled. | Task | |
![]() | data : *
An arbitrary value associated with this Task. | Task | |
![]() | parent : TaskGroup [read-only]
The parent of this Task. | Task | |
![]() | restartable : Boolean [read-only]
Indicates whether this Task can be restarted. | Task | |
![]() | result : * [read-only]
The result produced by this Task. | ResultTask | |
![]() | root : Task [read-only]
The root TaskGroup in case this Task is nested in one or more TaskGroups. | Task | |
![]() | skippable : Boolean [read-only]
Indicates whether this Task can be forced to skip to its final state. | Task | |
![]() | state : TaskState [read-only]
The current state of this Task. | Task | |
![]() | suspendable : Boolean [read-only]
Indicates whether this Task can be suspended. | Task | |
![]() | timeout : uint [read-only]
The timeout for this Task in milliseconds. | Task | |
| xml : XML [read-only] | XmlLoaderTask | ||
| Method | Defined By | ||
|---|---|---|---|
XmlLoaderTask(filename:String) | XmlLoaderTask | ||
![]() | cancel():Boolean
Cancels this Task. | Task | |
![]() | resume():Boolean
Resumes this Task if it is suspended. | Task | |
![]() | skip():Boolean
Forces this Task to move to its final state. | Task | |
![]() | start():Boolean
Starts this Task. | Task | |
![]() | suspend():Boolean
Suspends this Task. | Task | |
toString():String [override] | XmlLoaderTask | ||
| Method | Defined By | ||
|---|---|---|---|
![]() | complete():Boolean
Signals that this Task has completed. | Task | |
doCancel():void [override] | XmlLoaderTask | ||
![]() | doError(message:String):void
Called before the ERROR event gets fired. | Task | |
![]() | doResume():void
Called before the RESUME event gets fired. | Task | |
![]() | doSkip():void
Called after skip has been called but before the COMPLETE event gets fired. | Task | |
doStart():void [override] | XmlLoaderTask | ||
![]() | doSuspend():void
Called before the SUSPEND event gets fired. | Task | |
![]() | doTimeout():void
Called before the ERROR event gets fired after a timeout occurred. | Task | |
![]() | error(message:String):Boolean
Signals an error condition and cancels the Task. | Task | |
![]() | setCancelable(value:Boolean):void
Specifies whether this Task can be cancelled. | Task | |
![]() | setName(name:String):void
Sets the name of this Task. | Task | |
![]() | setRestartable(value:Boolean):void
Specifies whether this Task can be restarted. | Task | |
![]() | setResult(result:*):Boolean
Sets the result produced by this Task and signals that this Task has completed. | ResultTask | |
![]() | setSkippable(value:Boolean):void
Specifies whether this Task can be forced to skip to its final state. | Task | |
![]() | setSuspendable(value:Boolean):void
Specifies whether this Task can be suspended. | Task | |
![]() | setTimeout(value:uint):void
Sets the timeout for this Task in milliseconds. | Task | |
| xml | property |
xml:XML [read-only] public function get xml():XML| XmlLoaderTask | () | Constructor |
public function XmlLoaderTask(filename:String)filename:String |
| doCancel | () | method |
override protected function doCancel():void| doStart | () | method |
override protected function doStart():void| toString | () | method |
override public function toString():StringReturnsString |