Packagepegas.transitions
Classpublic class AbstractTransition
InheritanceAbstractTransition Inheritance Action Inheritance SimpleAction Inheritance CoreEventDispatcher Inheritance CoreObject
ImplementsITransition

This abstract class defines the skeletal implementation of the ITransition interface.



Public Properties
 PropertyDefined by
 Inheritedchannel : String
Indicates the channel of this dispatcher if this instance is global.
CoreEventDispatcher
  id : *
(read-write) Returns the id of this IValueObject.
AbstractTransition
 InheritedisGlobal : Boolean
(read-only) Returns the value of the isGlobal flag of this model.
CoreEventDispatcher
 Inheritedlooping : Boolean
The flag to determinate if the Action object is looped.
Action
 Inheritedrunning : Boolean
(read-only) Returns true if the process is in progress.
SimpleAction
Public Methods
 MethodDefined by
  
AbstractTransition(id:*, bGlobal:Boolean = false, sChannel:String = null)
Creates a new AbstractTransition instance.
AbstractTransition
 Inherited
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
 Inherited
clone():*
Returns a shallow copy of this object.
Action
 Inherited
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
 Inherited
Returns the internal EventDispatcher reference.
CoreEventDispatcher
 Inherited
Returns the event name use in the notifyChanged method.
Action
 Inherited
Returns the event name use in the notifyCleared method.
Action
 Inherited
Returns the event name use in the notifyInfo method.
Action
 Inherited
Returns the event name use in the notifyLooped method.
Action
 Inherited
Returns the event name use in the notifyProgress method.
Action
 Inherited
Returns the event name use in the notifyResumed method.
Action
 Inherited
Returns the event name use in the notifyStopped method.
Action
 Inherited
Returns the event name use in the notifyTimeOut method.
Action
 Inherited
getIsGlobal():Boolean
Returns the value of the isGlobal flag of this model.
CoreEventDispatcher
 Inherited
Returns the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
getRunning():Boolean
Returns true if the process is in progress.
SimpleAction
 Inherited
hasEventListener(type:String):Boolean
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
CoreEventDispatcher
 Inherited
hashCode():uint
Returns a hashcode value for the object.
CoreObject
 Inherited
Creates and returns the internal EventDispatcher reference (this method is invoked in the constructor).
CoreEventDispatcher
 Inherited
Initialize the internal event's types of this process.
Action
 Inherited
isLocked():Boolean
Returns true if the object is locked.
CoreEventDispatcher
 Inherited
lock():void
Locks the object.
CoreEventDispatcher
  
Notify an ActionEvent when the process is finished.
AbstractTransition
  
Notify an ActionEvent when the process is started.
AbstractTransition
 Inherited
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
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
CoreEventDispatcher
 Inherited
run(... arguments):void
Run the process.
SimpleAction
 Inherited
Sets the internal EventDispatcher reference.
CoreEventDispatcher
 Inherited
setEventTypeCHANGE(type:String):void
Sets the event name use in the notifyChanged method.
Action
 Inherited
setEventTypeCLEAR(type:String):void
Sets the event name use in the notifyCleared method.
Action
 Inherited
setEventTypeINFO(type:String):void
Sets the event name use in the notifyInfo method.
Action
 Inherited
setEventTypeLOOP(type:String):void
Sets the event name use in the notifyLooped method.
Action
 Inherited
setEventTypePROGRESS(type:String):void
Sets the event name use in the notifyProgress method.
Action
 Inherited
setEventTypeRESUME(type:String):void
Sets the event name use in the notifyResumed method.
Action
 Inherited
setEventTypeSTOP(type:String):void
Sets the event name use in the notifyStopped method.
Action
 Inherited
setEventTypeTIMEOUT(type:String):void
Sets the event name use in the notifyTimeOut method.
Action
 Inherited
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
 Inherited
setLogger(log:ILogger = null):void
Sets the internal ILogger reference of this ILogable object.
CoreObject
 Inherited
toSource(indent:int = 0):String
Returns the string representation the source code of the object.
CoreEventDispatcher
 Inherited
toString():String
Returns the string representation of this instance.
CoreObject
 Inherited
unlock():void
Unlocks the display.
CoreEventDispatcher
 Inherited
unregisterEventListener(type:String, listener:Boolean, useCapture:* = false):void
Removes a listener (Function or EventListener object) from the EventDispatcher object.
CoreEventDispatcher
 Inherited
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
Protected Methods
 MethodDefined by
 Inherited
Notify an ActionEvent when the process is changed.
Action
 Inherited
Notify an ActionEvent when the process is cleared.
Action
 Inherited
notifyInfo(info:*):void
Notify an ActionEvent when the process info is changed.
Action
 Inherited
notifyLooped():void
Notify an ActionEvent when the process is looped.
Action
 Inherited
Notify an ActionEvent when the process is in progress.
Action
 Inherited
Notify an ActionEvent when the process is resumed.
Action
 Inherited
Notify an ActionEvent when the process is stopped.
Action
 Inherited
Notify an ActionEvent when the process is out of time.
Action
 Inherited
setRunning(b:Boolean):void
Changes the running property value.
SimpleAction
Events
 EventSummaryDefined by
 Inherited Dispatched when a process is changed.Action
 Inherited Dispatched when a process is cleared.Action
 Inherited Dispatched when a process is finished.SimpleAction
 Inherited Dispatched when an info process is running.Action
 Inherited Dispatched when a process is looped.Action
 Inherited Dispatched when a process is paused.Action
 Inherited Dispatched when a process is in progress.Action
 Inherited Dispatched when a process is resumed.Action
 Inherited Dispatched when a process is started.SimpleAction
 Inherited Dispatched when a process is stopped.Action
Property detail
idproperty
id:*  [read-write]

(read-write) Returns the id of this IValueObject.

Implementation
    public function get id():*
    public function set id(value:*):void
Constructor detail
AbstractTransition()constructor
public function AbstractTransition(id:*, bGlobal:Boolean = false, sChannel:String = null)

Creates a new AbstractTransition instance.

Parameters
id:*
 
bGlobal:Boolean (default = false)
 
sChannel:String (default = null)
Method detail
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.

Parameters
o:*

Returns
Booleantrue if the the specified object is equal with this object.
notifyFinished()method 
public override function notifyFinished():void

Notify an ActionEvent when the process is finished.

notifyStarted()method 
public override function notifyStarted():void

Notify an ActionEvent when the process is started.