| Package | system.process |
| Class | public class Task |
| Inheritance | Task Object |
| Implements | Action, Lockable, Loggable |
| Subclasses | AddChild, BindTask, Cache, CoreAction, EventDispatcherTask, FiltersDisplay, FrameEngine, HideDisplay, IfTask, Initializer, InitMapModelObject, MoveTo, ObjectFactoryLoader, RemoveChild, RemoveChildAt, RemoveChildren, SetChildIndex, ShowDisplay, SwapChildrenAt |
Action interface.
| Property | Defined By | ||
|---|---|---|---|
| finishIt : Signaler
This signal emit when the notifyFinished method is invoked. | Task | ||
| logger : Logger
Determinates the internal Logger reference of this Loggable object. | Task | ||
| phase : String [read-only]
The current phase of the action. | Task | ||
| 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 | ||
| Method | Defined By | ||
|---|---|---|---|
Task()
Creates a new Task instance. | Task | ||
clone():*
Returns a shallow copy of this object. | Task | ||
isLocked():Boolean
Returns true if the object is locked. | Task | ||
lock():void
Locks the object. | Task | ||
notifyFinished():void
Notify an ActionEvent when the process is finished. | Task | ||
notifyStarted():void
Notify an ActionEvent when the process is started. | Task | ||
run(... arguments):void
Run the process. | Task | ||
unlock():void
Unlocks the display. | Task | ||
| Method | Defined By | ||
|---|---|---|---|
setRunning(b:Boolean):void
Changes the running property value. | Task | ||
| finishIt | property |
finishIt:SignalerThis signal emit when the notifyFinished method is invoked.
public function get finishIt():Signaler public function set finishIt(value:Signaler):void| logger | property |
logger:Logger
Determinates the internal Logger reference of this Loggable object.
public function get logger():Logger public function set logger(value:Logger):void| phase | property |
phase:String [read-only] The current phase of the action.
public function get phase():StringSee also
| running | property |
running:Boolean [read-only]
Indicates true if the process is in progress.
public function get running():Boolean| startIt | property |
startIt:SignalerThis signal emit when the notifyStarted method is invoked.
public function get startIt():Signaler public function set startIt(value:Signaler):void| Task | () | Constructor |
public function Task()Creates a new Task instance.
| clone | () | method |
public function clone():*Returns a shallow copy of this object.
Returns* — a shallow copy of this object.
|
| isLocked | () | method |
public function isLocked():Boolean
Returns true if the object is locked.
Boolean — true if the object is locked.
|
| lock | () | method |
public function lock():voidLocks the object.
| notifyFinished | () | method |
public function notifyFinished():voidNotify an ActionEvent when the process is finished.
| notifyStarted | () | method |
public function notifyStarted():voidNotify an ActionEvent when the process is started.
| run | () | method |
public function run(... arguments):voidRun the process. You can overrides this method in your iherited class.
Parameters
... arguments |
| setRunning | () | method |
protected function setRunning(b:Boolean):voidChanges the running property value.
Parameters
b:Boolean |
| unlock | () | method |
public function unlock():voidUnlocks the display.