| Package | andromeda.process |
| Class | public class Action |
| Inheritance | Action SimpleAction CoreEventDispatcher CoreObject |
| Subclasses | AbstractTransition, CoreActionLoader, Motion, ObjectDefinitionContainer, Pause, RemotingService, Sequencer |
Action interface.
| Property | Defined by | ||
|---|---|---|---|
![]() | channel : String
Indicates the channel of this dispatcher if this instance is global.
| CoreEventDispatcher | |
![]() | isGlobal : Boolean
(read-only) Returns the value of the isGlobal flag of this model.
| CoreEventDispatcher | |
| looping : Boolean
The flag to determinate if the Action object is looped.
| Action | ||
![]() | running : Boolean
(read-only) Indicates
true if the process is in progress. | SimpleAction | |
| Method | Defined by | ||
|---|---|---|---|
|
Action(bGlobal:Boolean = false, sChannel:String = null)
Creates a new Action instance.
| Action | ||
![]() |
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0.0, useWeakReference:Boolean = false):void
Allows the registration of event listeners on the event target.
| CoreEventDispatcher | |
|
clone():*
Returns a shallow copy of this object.
| Action | ||
![]() |
dispatchEvent(event:Event):Boolean
Dispatches an event into the event flow.
| CoreEventDispatcher | |
![]() |
Returns the internal
EventDispatcher reference. | CoreEventDispatcher | |
|
getEventTypeCHANGE():String
Returns the event name use in the notifyChanged method.
| Action | ||
|
getEventTypeCLEAR():String
Returns the event name use in the notifyCleared method.
| Action | ||
|
getEventTypeINFO():String
Returns the event name use in the notifyInfo method.
| Action | ||
|
getEventTypeLOOP():String
Returns the event name use in the notifyLooped method.
| Action | ||
|
getEventTypePROGRESS():String
Returns the event name use in the notifyProgress method.
| Action | ||
|
getEventTypeRESUME():String
Returns the event name use in the notifyResumed method.
| Action | ||
|
getEventTypeSTOP():String
Returns the event name use in the notifyStopped method.
| Action | ||
|
getEventTypeTIMEOUT():String
Returns the event name use in the notifyTimeOut method.
| Action | ||
![]() |
getIsGlobal():Boolean
Returns the value of the isGlobal flag of this model.
| CoreEventDispatcher | |
![]() |
Returns the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
| CoreEventDispatcher | |
![]() |
hashCode():uint
Returns a hashcode value for the object.
| CoreObject | |
![]() |
Creates and returns the internal
EventDispatcher reference (this method is invoked in the constructor). | CoreEventDispatcher | |
|
initEventType():void
Initialize the internal event's types of this process.
| Action | ||
![]() |
isLocked():Boolean
Returns
true if the object is locked. | CoreEventDispatcher | |
![]() |
lock():void
Locks the object.
| CoreEventDispatcher | |
![]() |
notifyFinished():void
Notify an ActionEvent when the process is finished.
| SimpleAction | |
![]() |
notifyStarted():void
Notify an ActionEvent when the process is started.
| SimpleAction | |
![]() |
registerEventListener(type:String, listener:Boolean, useCapture:int = false, priority:Boolean = 0, useWeakReference:* = false):void
Allows the registration of event listeners on the event target (Function or EventListener).
| CoreEventDispatcher | |
![]() |
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
| CoreEventDispatcher | |
![]() |
run(... arguments):void
Run the process.
| SimpleAction | |
![]() |
setEventDispatcher(e:EventDispatcher):void
Sets the internal
EventDispatcher reference. | CoreEventDispatcher | |
|
setEventTypeCHANGE(type:String):void
Sets the event name use in the notifyChanged method.
| Action | ||
|
setEventTypeCLEAR(type:String):void
Sets the event name use in the notifyCleared method.
| Action | ||
|
setEventTypeINFO(type:String):void
Sets the event name use in the notifyInfo method.
| Action | ||
|
setEventTypeLOOP(type:String):void
Sets the event name use in the notifyLooped method.
| Action | ||
|
setEventTypePROGRESS(type:String):void
Sets the event name use in the notifyProgress method.
| Action | ||
|
setEventTypeRESUME(type:String):void
Sets the event name use in the notifyResumed method.
| Action | ||
|
setEventTypeSTOP(type:String):void
Sets the event name use in the notifyStopped method.
| Action | ||
|
setEventTypeTIMEOUT(type:String):void
Sets the event name use in the notifyTimeOut method.
| Action | ||
![]() |
setGlobal(flag:Boolean = false, channel:String = null):void
Sets if the instance use a global
EventDispatcher to dispatch this events, if the flag value is false the instance use a local EventDispatcher. | CoreEventDispatcher | |
![]() |
Sets the internal
ILogger reference of this ILogable object. | CoreObject | |
![]() |
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
| CoreEventDispatcher | |
![]() |
toString():String
Returns the string representation of this instance.
| CoreObject | |
![]() |
unlock():void
Unlocks the display.
| CoreEventDispatcher | |
![]() |
unregisterEventListener(type:String, listener:Boolean, useCapture:* = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object.
| CoreEventDispatcher | |
![]() |
willTrigger(type:String):Boolean
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
| CoreEventDispatcher | |
| Method | Defined by | ||
|---|---|---|---|
|
notifyChanged():void
Notify an ActionEvent when the process is changed.
| Action | ||
|
notifyCleared():void
Notify an ActionEvent when the process is cleared.
| Action | ||
|
notifyInfo(info:*):void
Notify an ActionEvent when the process info is changed.
| Action | ||
|
notifyLooped():void
Notify an ActionEvent when the process is looped.
| Action | ||
|
notifyProgress():void
Notify an ActionEvent when the process is in progress.
| Action | ||
|
notifyResumed():void
Notify an ActionEvent when the process is resumed.
| Action | ||
|
notifyStopped():void
Notify an ActionEvent when the process is stopped.
| Action | ||
|
notifyTimeOut():void
Notify an ActionEvent when the process is out of time.
| Action | ||
![]() |
setRunning(b:Boolean):void
Changes the running property value.
| SimpleAction | |
| Event | Summary | Defined by | ||
|---|---|---|---|---|
| Dispatched when a process is changed. | Action | |||
| Dispatched when a process is cleared. | Action | |||
![]() | Dispatched when a process is finished. | SimpleAction | ||
| Dispatched when an info process is running. | Action | |||
| Dispatched when a process is looped. | Action | |||
| Dispatched when a process is paused. | Action | |||
| Dispatched when a process is in progress. | Action | |||
| Dispatched when a process is resumed. | Action | |||
![]() | Dispatched when a process is started. | SimpleAction | ||
| Dispatched when a process is stopped. | Action | |||
| looping | property |
public var looping:BooleanThe flag to determinate if the Action object is looped.
| Action | () | constructor |
public function Action(bGlobal:Boolean = false, sChannel:String = null)Creates a new Action instance.
ParametersbGlobal:Boolean (default = false) — the flag to use a global event flow or a local event flow.
|
|
sChannel:String (default = null) — the name of the global event flow if the bGlobal argument is true.
|
| clone | () | method |
public override function clone():*Returns a shallow copy of this object.
Returns* — a shallow copy of this object.
|
| getEventTypeCHANGE | () | method |
public function getEventTypeCHANGE():StringReturns the event name use in the notifyChanged method.
ReturnsString — the event name use in the notifyChanged method.
|
| getEventTypeCLEAR | () | method |
public function getEventTypeCLEAR():StringReturns the event name use in the notifyCleared method.
ReturnsString — the event name use in the notifyCleared method.
|
| getEventTypeINFO | () | method |
public function getEventTypeINFO():StringReturns the event name use in the notifyInfo method.
ReturnsString — the event name use in the notifyInfo method.
|
| getEventTypeLOOP | () | method |
public function getEventTypeLOOP():StringReturns the event name use in the notifyLooped method.
ReturnsString — the event name use in the notifyLooped method.
|
| getEventTypePROGRESS | () | method |
public function getEventTypePROGRESS():StringReturns the event name use in the notifyProgress method.
ReturnsString — the event name use in the notifyProgress method.
|
| getEventTypeRESUME | () | method |
public function getEventTypeRESUME():StringReturns the event name use in the notifyResumed method.
ReturnsString — the event name use in the notifyResumed method.
|
| getEventTypeSTOP | () | method |
public function getEventTypeSTOP():StringReturns the event name use in the notifyStopped method.
ReturnsString — the event name use in the notifyStopped method.
|
| getEventTypeTIMEOUT | () | method |
public function getEventTypeTIMEOUT():StringReturns the event name use in the notifyTimeOut method.
ReturnsString — the event name use in the notifyTimeOut method.
|
| initEventType | () | method |
public function initEventType():voidInitialize the internal event's types of this process.
| notifyChanged | () | method |
protected function notifyChanged():voidNotify an ActionEvent when the process is changed.
| notifyCleared | () | method |
protected function notifyCleared():voidNotify an ActionEvent when the process is cleared.
| notifyInfo | () | method |
protected function notifyInfo(info:*):voidNotify an ActionEvent when the process info is changed.
Parametersinfo:* |
| notifyLooped | () | method |
protected function notifyLooped():voidNotify an ActionEvent when the process is looped.
| notifyProgress | () | method |
protected function notifyProgress():voidNotify an ActionEvent when the process is in progress.
| notifyResumed | () | method |
protected function notifyResumed():voidNotify an ActionEvent when the process is resumed.
| notifyStopped | () | method |
protected function notifyStopped():voidNotify an ActionEvent when the process is stopped.
| notifyTimeOut | () | method |
protected function notifyTimeOut():voidNotify an ActionEvent when the process is out of time.
| setEventTypeCHANGE | () | method |
public function setEventTypeCHANGE(type:String):voidSets the event name use in the notifyChanged method.
Parameterstype:String |
| setEventTypeCLEAR | () | method |
public function setEventTypeCLEAR(type:String):voidSets the event name use in the notifyCleared method.
Parameterstype:String |
| setEventTypeINFO | () | method |
public function setEventTypeINFO(type:String):voidSets the event name use in the notifyInfo method.
Parameterstype:String |
| setEventTypeLOOP | () | method |
public function setEventTypeLOOP(type:String):voidSets the event name use in the notifyLooped method.
Parameterstype:String |
| setEventTypePROGRESS | () | method |
public function setEventTypePROGRESS(type:String):voidSets the event name use in the notifyProgress method.
Parameterstype:String |
| setEventTypeRESUME | () | method |
public function setEventTypeRESUME(type:String):voidSets the event name use in the notifyResumed method.
Parameterstype:String |
| setEventTypeSTOP | () | method |
public function setEventTypeSTOP(type:String):voidSets the event name use in the notifyStopped method.
Parameterstype:String |
| setEventTypeTIMEOUT | () | method |
public function setEventTypeTIMEOUT(type:String):voidSets the event name use in the notifyTimeOut method.
Parameterstype:String |
| onChanged | event |
andromeda.events.ActionEvent
andromeda.events.ActionEvent.CHANGE
Dispatched when a process is changed.
The name of the event when the process info is changed.
See also
| onCleared | event |
andromeda.events.ActionEvent
andromeda.events.ActionEvent.CLEAR
Dispatched when a process is cleared.
The name of the event when the process is cleared.
See also
| onInfo | event |
andromeda.events.ActionEvent
andromeda.events.ActionEvent.INFO
Dispatched when an info process is running.
See also
| onLooped | event |
andromeda.events.ActionEvent
andromeda.events.ActionEvent.LOOP
Dispatched when a process is looped.
The name of the event when the process is looped.
See also
| onPaused | event |
andromeda.events.ActionEvent
andromeda.events.ActionEvent.PAUSE
Dispatched when a process is paused.
The name of the event when the process is in pause.
See also
| onProgress | event |
andromeda.events.ActionEvent
andromeda.events.ActionEvent.PROGRESS
Dispatched when a process is in progress.
The name of the event when the process is in progress.
See also
| onResumed | event |
andromeda.events.ActionEvent
andromeda.events.ActionEvent.RESUME
Dispatched when a process is resumed.
The name of the event when the process is resumed.
See also
| onStopped | event |
andromeda.events.ActionEvent
andromeda.events.ActionEvent.STOP
Dispatched when a process is stopped.
The name of the event when the process is stopped.
See also