| Package | system.process |
| Class | public class DelayedTask |
| Inheritance | DelayedTask CoreAction Task Object |
| Implements | Resumable, Startable, Stoppable |
| Property | Defined By | ||
|---|---|---|---|
![]() | changeIt : Signaler
This signal emit when the notifyChanged method is invoked. | CoreAction | |
![]() | clearIt : Signaler
This signal emit when the notifyCleared method is invoked. | CoreAction | |
| delay : Number
The delay, in milliseconds, to start the task. | DelayedTask | ||
![]() | finishIt : Signaler
This signal emit when the notifyFinished method is invoked. | Task | |
![]() | infoIt : Signaler
This signal emit when the notifyInfo method is invoked. | CoreAction | |
![]() | logger : Logger
Determinates the internal Logger reference of this Loggable object. | Task | |
![]() | looping : Boolean
The flag to determinate if the Action object is looped. | CoreAction | |
![]() | loopIt : Signaler
This signal emit when the notifyLooped method is invoked. | CoreAction | |
![]() | pauseIt : Signaler
This signal emit when the notifyPause method is invoked. | CoreAction | |
![]() | phase : String [read-only]
The current phase of the action. | Task | |
![]() | progressIt : Signaler
This signal emit when the notifyProgress method is invoked. | CoreAction | |
![]() | resumeIt : Signaler
This signal emit when the notifyResumed method is invoked. | CoreAction | |
![]() | running : Boolean [read-only]
Indicates true if the process is in progress. | Task | |
![]() | startIt : Signaler
This signal emit when the notifyStarted method is invoked. | Task | |
![]() | stopIt : Signaler
This signal emit when the notifyStopped method is invoked. | CoreAction | |
| stopped : Boolean [read-only]
Indicates if the task is stopped. | DelayedTask | ||
| task : Action
The Action reference to register. | DelayedTask | ||
![]() | timeoutIt : Signaler
This signal emit when the notifyTimeOut method is invoked. | CoreAction | |
| Method | Defined By | ||
|---|---|---|---|
DelayedTask(task:Action = null, delay:Number = 0)
Creates a new DelayedTask instance. | DelayedTask | ||
clone():* [override]
Returns a shallow copy of this object. | DelayedTask | ||
![]() | isLocked():Boolean
Returns true if the object is locked. | Task | |
![]() | lock():void
Locks the object. | Task | |
![]() | notifyChanged():void
Notify when the process is changed. | CoreAction | |
![]() | notifyCleared():void
Notify when the process is cleared. | CoreAction | |
![]() | notifyFinished():void
Notify an ActionEvent when the process is finished. | Task | |
![]() | notifyInfo(info:*):void
Notify a specific information when the process is changed. | CoreAction | |
![]() | notifyLooped():void
Notify when the process is looped. | CoreAction | |
![]() | notifyPaused():void
Notify when the process is paused. | CoreAction | |
![]() | notifyProgress():void
Notify when the process is in progress. | CoreAction | |
![]() | notifyResumed():void
Notify when the process is resumed. | CoreAction | |
![]() | notifyStarted():void
Notify an ActionEvent when the process is started. | Task | |
![]() | notifyStopped():void
Notify when the process is stopped. | CoreAction | |
![]() | notifyTimeOut():void
Notify when the process is out of time. | CoreAction | |
resume():void
Resume the chain. | DelayedTask | ||
run(... arguments):void [override]
Run the process. | DelayedTask | ||
start():void
Starts the chain. | DelayedTask | ||
stop():void
Stops the task group. | DelayedTask | ||
![]() | unlock():void
Unlocks the display. | Task | |
| Constant | Defined By | ||
|---|---|---|---|
| NONE : String = none [static]
The state when the task is not stopped. | DelayedTask | ||
| TASK : String = task [static]
The state when the task is stopped during the task process. | DelayedTask | ||
| TIMER : String = timer [static]
The state when the task is stopped during the timer process. | DelayedTask | ||
| delay | property |
delay:NumberThe delay, in milliseconds, to start the task.
public function get delay():Number public function set delay(value:Number):void| stopped | property |
stopped:Boolean [read-only] Indicates if the task is stopped.
public function get stopped():Boolean| task | property |
public var task:ActionThe Action reference to register.
| DelayedTask | () | Constructor |
public function DelayedTask(task:Action = null, delay:Number = 0)Creates a new DelayedTask instance.
Parameterstask:Action (default = null) — The Action object to delayed.
| |
delay:Number (default = 0) — The delay, in milliseconds, to execute the task.
|
| clone | () | method |
override public function clone():*Returns a shallow copy of this object.
Returns* — a shallow copy of this object.
|
| resume | () | method |
public function resume():voidResume the chain.
| run | () | method |
override public function run(... arguments):voidRun the process. You can overrides this method in your iherited class.
Parameters
... arguments |
| start | () | method |
public function start():voidStarts the chain.
| stop | () | method |
public function stop():voidStops the task group.
| NONE | Constant |
protected static const NONE:String = noneThe state when the task is not stopped.
| TASK | Constant |
protected static const TASK:String = taskThe state when the task is stopped during the task process.
| TIMER | Constant |
protected static const TIMER:String = timerThe state when the task is stopped during the timer process.