Packageorg.ow2.kerneos.core.model
Classpublic class ModulesState
InheritanceModulesState Inheritance Object
Implements flash.events.IEventDispatcher

An enumerated type representing the states of Kerneos.



Public Properties
 PropertyDefined By
  IDLE : String
[static] Initial state.
ModulesState
  LOAD : String
[static] When load the modules.
ModulesState
  LOADED : String
[static] When the modules are loaded.
ModulesState
  staticEventDispatcher : IEventDispatcher
[static] [read-only]
ModulesState
  UNLOAD : String
[static] When unload the modules.
ModulesState
Public Methods
 MethodDefined By
  
Constructor
ModulesState
  
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void
ModulesState
  
dispatchEvent(event:Event):Boolean
ModulesState
  
hasEventListener(type:String):Boolean
ModulesState
  
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
ModulesState
  
willTrigger(type:String):Boolean
ModulesState
Property Detail
IDLEproperty
IDLE:String

Initial state.

This property can be used as the source for data binding.


Implementation
    public static function get IDLE():String
    public static function set IDLE(value:String):void
LOADproperty 
LOAD:String

When load the modules.

This property can be used as the source for data binding.


Implementation
    public static function get LOAD():String
    public static function set LOAD(value:String):void
LOADEDproperty 
LOADED:String

When the modules are loaded.

This property can be used as the source for data binding.


Implementation
    public static function get LOADED():String
    public static function set LOADED(value:String):void
staticEventDispatcherproperty 
staticEventDispatcher:IEventDispatcher  [read-only]


Implementation
    public static function get staticEventDispatcher():IEventDispatcher
UNLOADproperty 
UNLOAD:String

When unload the modules.

This property can be used as the source for data binding.


Implementation
    public static function get UNLOAD():String
    public static function set UNLOAD(value:String):void
Constructor Detail
ModulesState()Constructor
public function ModulesState()

Constructor

Method Detail
addEventListener()method
public function addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, weakRef:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)
 
priority:int (default = 0)
 
weakRef:Boolean (default = false)

dispatchEvent()method 
public function dispatchEvent(event:Event):Boolean

Parameters

event:Event

Returns
Boolean
hasEventListener()method 
public function hasEventListener(type:String):Boolean

Parameters

type:String

Returns
Boolean
removeEventListener()method 
public function removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void

Parameters

type:String
 
listener:Function
 
useCapture:Boolean (default = false)

willTrigger()method 
public function willTrigger(type:String):Boolean

Parameters

type:String

Returns
Boolean