| Package | pegas.transitions |
| Class | public class AbstractTransition |
| Inheritance | AbstractTransition Action SimpleAction CoreEventDispatcher CoreObject |
| Implements | ITransition |
| Property | Defined by | ||
|---|---|---|---|
![]() | channel : String
Indicates the channel of this dispatcher if this instance is global.
| CoreEventDispatcher | |
| id : *
(read-write) Returns the id of this IValueObject.
| AbstractTransition | ||
![]() | 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) Returns
true if the process is in progress. | SimpleAction | |
| Method | Defined by | ||
|---|---|---|---|
|
AbstractTransition(id:*, bGlobal:Boolean = false, sChannel:String = null)
Creates a new AbstractTransition instance.
| AbstractTransition | ||
![]() |
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 | |
|
equals(o:*):Boolean
Compares the specified object with this object for equality.
| AbstractTransition | ||
![]() |
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 | |
![]() |
getRunning():Boolean
Returns
true if the process is in progress. | SimpleAction | |
![]() |
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.
| AbstractTransition | ||
|
notifyStarted():void
Notify an ActionEvent when the process is started.
| AbstractTransition | ||
![]() |
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 | |
| id | property |
id:* [read-write](read-write) Returns the id of this IValueObject.
Implementation public function get id():*
public function set id(value:*):void
| AbstractTransition | () | constructor |
public function AbstractTransition(id:*, bGlobal:Boolean = false, sChannel:String = null)Creates a new AbstractTransition instance.
Parametersid:* |
|
bGlobal:Boolean (default = false) |
|
sChannel:String (default = null) |
| equals | () | method |
public function equals(o:*):Boolean
Compares the specified object with this object for equality. This method compares the ids of the objects with the Identifiable.getID() method.
o:* |
Boolean — true if the the specified object is equal with this object.
|
| notifyFinished | () | method |
public override function notifyFinished():voidNotify an ActionEvent when the process is finished.
| notifyStarted | () | method |
public override function notifyStarted():voidNotify an ActionEvent when the process is started.